[MacPorts] #34552: mysql55 - using builtin readline breaks building
Bradley Giesbrecht
pixilla at macports.org
Wed May 23 18:04:12 PDT 2012
On May 23, 2012, at 5:54 PM, Ryan Schmidt wrote:
>
> On May 23, 2012, at 19:39, Bradley Giesbrecht wrote:
>
>> 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.
>
> I don't see an arch mismatch? I see a computer running Lion (which always requires an x86_64 processor; the "arch i386" refers to the architecture of the kernel, which is irrelevant), and I see it compiling with "-arch x86_64" which is as it should be
Are the failed builds with a particular Xcode?
What versions of Xcode or on the buildbot?
Here is what I'm building with:
sw_vers -productVersion; xcodebuild -version
10.7.2
Xcode 4.1
Build version 4B110
sw_vers -productVersion; xcodebuild -version
10.6.8
Xcode 3.2.6
Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0
BuildVersion: 10M2518
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/361c09fd/attachment.bin>
More information about the macports-dev
mailing list