Opened 10 years ago

Last modified 5 years 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

Description

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: org.macports.build for port mysql-connector-odbc returned: command execution failed
Please see the log file for port mysql-connector-odbc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql-connector-odbc/mysql-connector-odbc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql-connector-odbc failed

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by david@…

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten 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 *** libmyodbc5.so 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/libmyodbc5.la -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/libmyodbc5.so -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/libmyodbc5.so' 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 5 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

Note: See TracTickets for help on using tickets.