[MacPorts] #22658: qt4-mac 4.5.3 build error (invalid archname ?)

MacPorts noreply at macports.org
Mon Nov 23 18:11:15 PST 2009


#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


More information about the macports-tickets mailing list