[MacPorts] #22658: qt4-mac 4.5.3 build error (invalid archname ?)
#22658: qt4-mac 4.5.3 build error (invalid archname ?) -------------------------------+-------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/22658> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22658: qt4-mac 4.5.3 build error (invalid archname ?) --------------------------------+------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #20992. -- Ticket URL: <http://trac.macports.org/ticket/22658#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22658: qt4-mac 4.5.3 build error (invalid archname ?) --------------------------------+------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Comment(by smgava@…): Replying to [comment:1 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. -- Ticket URL: <http://trac.macports.org/ticket/22658#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22658: qt4-mac 4.5.3 build error (invalid archname ?) --------------------------------+------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Comment(by 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. -- Ticket URL: <http://trac.macports.org/ticket/22658#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22658: qt4-mac 4.5.3 build error (invalid archname ?) --------------------------------+------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Comment(by smgava@…): Replying to [comment:3 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... -- Ticket URL: <http://trac.macports.org/ticket/22658#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22658: qt4-mac 4.5.3 build error (invalid archname ?) --------------------------------+------------------------------------------- Reporter: smgava@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Comment(by macsforever2000@…): Replying to [comment:4 smgava@…]:
Replying to [comment:3 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. -- Ticket URL: <http://trac.macports.org/ticket/22658#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts