[MacPorts] #34552: mysql55 - using builtin readline breaks building

Bradley Giesbrecht pixilla at macports.org
Wed May 23 17:39:13 PDT 2012


I see this in Bjarne's log file.
...
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
...
:info:build cd /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase && /usr/bin/clang  -DHAVE_CONFIG_H -DUNIV_MUST_NOT_INLINE -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DSIZEOF_PTHREAD_T=8 -pipe -O2 -arch x86_64  -O3 -DNDEBUG -DDBUG_OFF -arch x86_64 -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/include -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/include -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/handler -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/sql -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/regex -I/macports/include    -I/macports/include -o CMakeFiles/innobase.dir/dict/dict0load.c.o   -c /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/dict/dict0load.c
...

Wouldn't this arch mismatch be a problem?

If so, how do I fix it?
This port uses the cmake PortGroup which I'm guessing is UsingTheRightCompiler.
https://trac.macports.org/wiki/UsingTheRightCompiler

I'll look for hardcoded -arch in the sources.


Regards,
Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120523/ca1e8a6f/attachment-0001.bin>


More information about the macports-dev mailing list