[MacPorts] #41755: mysql-connector-odbc @5.1.8_1 +universal build failure

MacPorts noreply at macports.org
Tue Dec 10 12:45:41 PST 2013


#41755: mysql-connector-odbc @5.1.8_1 +universal build failure
-----------------------------------+-----------------------
  Reporter:  david@…               |      Owner:  pixilla@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.2.1
Resolution:                        |   Keywords:
      Port:  mysql-connector-odbc  |
-----------------------------------+-----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => pixilla@…


Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41755#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list