Opened 14 years ago

Closed 14 years ago

#23624 closed defect (worksforme)

qt4-mac-4.6.1 PCH error - build failure

Reported by: SvenBommel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: qt qt4 pch qtdesigner Cc: ryandesign (Ryan Carsten Schmidt)
Port: qt4-mac

Description

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

Attachments (1)

err.log (56.4 KB) - added by SvenBommel@… 14 years ago.
Attached debug output

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by SvenBommel@…

Attachment: err.log added

Attached debug output

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

qt4-mac has been updated to 4.6.2; see if that makes a difference.

comment:2 in reply to:  1 Changed 14 years ago by SvenBommel@…

Replying to ryandesign@…:

qt4-mac has been updated to 4.6.2; see if that makes a difference.

I was using a binary version meanwhile. But wonder: 4.6.2 seems to do it. It's still compiling, but at least it has passed this point.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Did it succeed in the end?

comment:4 Changed 14 years ago by SvenBommel@…

Ah, sorry I forgot to mention. Yes it did.

comment:5 Changed 14 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.