#22658 closed defect (duplicate)
qt4-mac 4.5.3 build error (invalid archname ?)
Reported by: | smgava@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.99 |
Keywords: | Cc: | ||
Port: | qt4-mac |
Description
hi, trying to build on snow leopard.
end of build output:
...
/usr/bin/g++-4.2 -c -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Os -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_MOC -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ -I. -I. -I. -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I../../xml -o release-shared/main.o main.cpp In file included from ../../../include/QtCore/qglobal.h:1, from ../../../include/QtCore/../../src/corelib/tools/qiterator.h:45, from ../../../include/QtCore/qiterator.h:1, from ../../../include/QtCore/../../src/corelib/tools/qvector.h:45, from ../../../include/QtCore/qvector.h:1, from ../../../include/QtCore/../../src/corelib/tools/qstack.h:45, from ../../../include/QtCore/qstack.h:1, from ../../../include/QtCore/QStack:1, from parser.h:45, from preprocessor.h:45, from main.cpp:42: ../../../include/QtCore/../../src/corelib/global/qglobal.h:315:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /usr/bin/g++-4.2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch -Xarch_x86_64 -mmacosx-version-min=10.5 -o ../../../bin/moc release-shared/moc.o release-shared/preprocessor.o release-shared/generator.o release-shared/parser.o release-shared/token.o release-shared/main.o -L/opt/local/lib -L../bootstrap -lbootstrap -L/opt/local/lib -lz -framework CoreServices g++-4.2: Invalid arch name : -Xarch_x86_64 make[1]: *** [../../../bin/moc] Error 1 make: *** [sub-moc-make_default-ordered] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_macports_svn_trunk_dports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3" && /usr/bin/make -j2 first " returned error 2 Error: Target org.macports.build returned: shell command failed Warning: the following items did not execute (for qt4-mac): org.macports.destroot org.macports.build Log for qt4-mac is at: /opt/local/var/macports/logs/qt4-mac/main.log
Attachments (1)
Change History (6)
Changed 15 years ago by smgava@…
comment:1 follow-up: 2 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #20992.
comment:2 Changed 15 years ago by smgava@…
Replying to macsforever2000@…:
Duplicate of #20992.
bug #20992 is for macports 1.8.0 and osx 10.5. the bug i just reported is current on macports svn 1.8.99 and osx 10.6.
#20992 was said to duplicate and earlier, simillar bug #20937 on 10.6, but that bug was "closed" 3 months ago. so this current report is now the only one open for this bug as being current on 1.8.99 and osx 10.6. please re-open this one as #20992 -> #20937 did not fix the problem.
comment:3 follow-up: 4 Changed 15 years ago by mf2k (Frank Schima)
comment:4 follow-up: 5 Changed 15 years ago by smgava@…
Replying to macsforever2000@…:
#20937 is a different bug. #20992 is the same error you are seeing. That ticket covers the issue that qt4-mac does not currently build universal - an important point you neglected to mention in this ticket.
ok, then do you mean that qt4-mac will build ok not universal? i have an x86_64 mac and would very much like to get this package built, how then can i tell macports to build for that arch only? macports builds universal by default...
comment:5 Changed 15 years ago by mf2k (Frank Schima)
Replying to smgava@…:
Replying to macsforever2000@…: ok, then do you mean that qt4-mac will build ok not universal? i have an x86_64 mac and would very much like to get this package built, how then can i tell macports to build for that arch only? macports builds universal by default...
Yes, qt4-mac builds fine not universal. Actually macports defaults to not universal builds. You must have modified your macports.conf file to build universal by default.
fyi, build log