[MacPorts] #61460: unixODBC @2.3.7_1 fails to build on Big Sur

MacPorts noreply at macports.org
Sun Nov 15 00:23:35 UTC 2020


#61460: unixODBC @2.3.7_1 fails to build on Big Sur
--------------------+----------------------
 Reporter:  Tatsh   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  unixODBC
--------------------+----------------------
 {{{
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/string.h:82:2
 8: note: passing argument to parameter '__s' here
 size_t   strlen(const char *__s);
                             ^
 SQLBrowseConnect.c:498:17: error: implicit declaration of function
 'extract_diag_error_w' is invalid in C99 [-Werror,-Wimpli
 cit-function-declaration]
                 extract_diag_error_w( SQL_HANDLE_DBC,
                 ^
 SQLBrowseConnect.c:507:17: error: implicit declaration of function
 'extract_sql_error_w' is invalid in C99 [-Werror,-Wimplic
 it-function-declaration]
                 extract_sql_error_w( SQL_NULL_HENV,
                 ^
 SQLBrowseConnect.c:517:17: error: implicit declaration of function
 'extract_diag_error' is invalid in C99 [-Werror,-Wimplici
 t-function-declaration]
                 extract_diag_error( SQL_HANDLE_DBC,
                 ^
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include
 -I/opt/local/include -isysroot/Applications/Xcode.ap
 p/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -I/opt/local/include -pipe -Os -isysroot/Applic
 ations/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -arch x86_64 -pthread -MT SQLFre
 eEnv.lo -MD -MP -MF .deps/SQLFreeEnv.Tpo -c SQLFreeEnv.c -o SQLFreeEnv.o
 >/dev/null 2>&1
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include
 -I/opt/local/include -isysroot/Applications/Xcode.ap
 p/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -I/opt/local/include -pipe -Os -isysroot/Applic
 ations/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -arch x86_64 -pthread -MT SQLFre
 eConnect.lo -MD -MP -MF .deps/SQLFreeConnect.Tpo -c SQLFreeConnect.c -o
 SQLFreeConnect.o >/dev/null 2>&1
 SQLBrowseConnect.c:526:17: error: implicit declaration of function
 'extract_sql_error' is invalid in C99 [-Werror,-Wimplicit
 -function-declaration]
                 extract_sql_error( SQL_NULL_HENV,
                 ^
 SQLBrowseConnect.c:545:17: error: implicit declaration of function
 'extract_diag_error' is invalid in C99 [-Werror,-Wimplici
 t-function-declaration]
                 extract_diag_error( SQL_HANDLE_DBC,
                 ^
 SQLBrowseConnect.c:554:17: error: implicit declaration of function
 'extract_sql_error' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
                 extract_sql_error( SQL_NULL_HENV,
                 ^
 SQLBrowseConnect.c:564:17: error: implicit declaration of function
 'extract_diag_error_w' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
                 extract_diag_error_w( SQL_HANDLE_DBC,
                 ^
 SQLBrowseConnect.c:573:17: error: implicit declaration of function
 'extract_sql_error_w' is invalid in C99 [-Werror,-Wimplic
 it-function-declaration]
                 extract_sql_error_w( SQL_NULL_HENV,
                 ^
 2 warnings and 8 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61460>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list