[MacPorts] #23624: qt4-mac-4.6.1 PCH error - build failure

MacPorts noreply at macports.org
Tue Feb 9 10:45:21 PST 2010


#23624: qt4-mac-4.6.1 PCH error - build failure
-----------------------------------+----------------------------------------
 Reporter:  SvenBommel@…           |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:  qt qt4 pch qtdesigner  |        Port:  qt4-mac                              
-----------------------------------+----------------------------------------
 I would'd like to build pyqt4-py26 on Leopard (XCode 3.1.4).
 During build of qt4-mac the progress fails with following error:

 {{{
 cd lib/ && /usr/bin/make -f Makefile
 /usr/bin/make -f Makefile.Debug all
 /usr/bin/g++-4.0 -c -include .pch/debug-shared/QtDesigner_debug -pipe -g
 -gdwarf-2 -arch i386 -fvisibility=hidden \
 -fvisibility-inlines-hidden -Wall -W -fPIC -DQDESIGNER_SDK_LIBRARY
 -DQDESIGNER_EXTENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY \
 -DQDESIGNER_SHARED_LIBRARY -DQT_DESIGNER -DQT_SCRIPT_LIB -DQT_XML_LIB
 -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
 -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I.
 -I../../../../include/QtCore \
 -I../../../../include/QtGui -I../../../../include/QtXml
 -I../../../../include/QtScript -I../../../../include -Iextension \
 -Isdk -Iuilib -Ishared -I../../../shared/qtpropertybrowser
 -I../../../shared/deviceskin -I../../../../src/tools/rcc
 -I../../../shared/findwidget \
 -I../../../shared/qtgradienteditor -I.moc/debug-shared -I.uic/debug-shared
 \
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-src-4.6.1/lib \
 -o .obj/debug-shared/default_extensionfactory.o
 extension/default_extensionfactory.cpp
 cc1plus: warning: ./.pch/debug-shared/QtDesigner_debug.gch/c++: too short
 to be a PCH file
 cc1plus: warning: ./.pch/debug-shared/QtDesigner_debug.gch/c++: too short
 to be a PCH file
 cc1plus: error: .pch/debug-shared/QtDesigner_debug: No such file or
 directory
 cc1plus: error: one or more PCH files were found, but they were invalid
 cc1plus: error: use -Winvalid-pch for more information
 make[5]: *** [.obj/debug-shared/default_extensionfactory.o] Error 1
 make[4]: *** [debug-all] Error 2
 make[3]: *** [sub-lib-make_default-ordered] Error 2
 make[2]: *** [sub-src-make_default] Error 2
 make[1]: *** [sub-designer-make_default-ordered] Error 2
 make: *** [sub-tools-make_default-ordered] Error 2
 }}}

 Long g++ invoke is split up here, hope that's ok. Thanks a lot for
 helping.
   Sven

-- 
Ticket URL: <http://trac.macports.org/ticket/23624>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list