Opened 7 years ago

Last modified 20 months ago

#41755 assigned defect

mysql-connector-odbc @5.1.8_1 +universal build failure

Reported by: david@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: mysql-connector-odbc


When I try to build mysql-connector-odbc non-universal, it works. When I try to build it universal, I get this error message:

--->  Building mysql-connector-odbc
Error: for port mysql-connector-odbc returned: command execution failed
Please see the log file for port mysql-connector-odbc for details:
To report a bug, follow the instructions in the guide:
Error: Processing of port mysql-connector-odbc failed

Attachments (1)

main.log (464.5 KB) - added by david@… 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by david@…

Attachment: main.log added

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to pixilla@…

The log says:

:info:build *** Warning: Linking the executable my_basics against the loadable module
:info:build *** is not portable!
:info:build 2 warnings generated.
:info:build /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -O3 -DDBUG_OFF -I/opt/local/include/mysql5/mysql -pipe -Os -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -pipe -Os -arch x86_64 -arch i386 ../driver/ -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386   -o my_blob my_blob.o -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/mysql5/mysql -lmysqlclient_r -L/opt/local/lib -lz -lm -L/opt/local/lib/ -lssl -lcrypto -lz  -L/opt/local/lib -lodbcinst
:info:build libtool: link: /usr/bin/clang -O3 -DDBUG_OFF -I/opt/local/include/mysql5/mysql -pipe -Os -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -pipe -Os -arch x86_64 -arch i386 -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o .libs/my_basics my_basics.o -Wl,-headerpad_max_install_names  ../driver/.libs/ -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/ /opt/local/lib/libltdl.dylib /opt/local/lib/mysql5/mysql/libmysqlclient_r.dylib -lm -lssl -lcrypto -lz /opt/local/lib/libodbcinst.dylib -pthread
:info:build clang: warning: argument unused during compilation: '-pthread'
:info:build ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '../driver/.libs/' for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

That sounds like a bug in the build system. We should try updating the port to the latest version. If that doesn't help, we should report the problem to the developers of the software so they can fix it.

comment:2 Changed 20 months ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

Note: See TracTickets for help on using tickets.