Opened 14 years ago

Closed 14 years ago

#23764 closed defect (worksforme)

qt4-mac build failure on 10.6

Reported by: VBoudry Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: qt4-mac

Description

Both qt4-mac or qt4-x11 implementation fails to install on 10.6. Here's the message I get for qt4-mac

--->  Building qt4-mac
Error: Target org.macports.build returned: shell command " cd "/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" && /usr/bin/make -j2 first " returned error 2
Command output: make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
cd src/network/ && /usr/bin/make -f Makefile
/usr/bin/make -f Makefile.Debug all
/usr/bin/make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
cd src/gui/ && /usr/bin/make -f Makefile
/usr/bin/make -f Makefile.Debug all
/usr/bin/make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
/usr/bin/g++-4.2 -c -include .pch/debug-shared/QtGui -pipe -fconstant-cfstrings -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-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/release-shared/qworkspace.o widgets/qworkspace.cpp
/usr/bin/g++-4.2 -c -include .pch/debug-shared/QtGui -pipe -fconstant-cfstrings -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-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/release-shared/qcolordialog.o dialogs/qcolordialog.cpp
In file included from widgets/qworkspace.cpp:3373:
.moc/release-shared/moc_qworkspace.cpp: In member function 'virtual int QWorkspace::qt_metacall(QMetaObject::Call, int, void**)':
.moc/release-shared/moc_qworkspace.cpp:117: error: 'class QWorkspacePrivate' has no member named '_q_op'
In file included from widgets/qworkspace.cpp:3375:
.moc/release-shared/qworkspace.moc:19: error: expected `;' before 'static'
.moc/release-shared/qworkspace.moc:45: error: invalid use of qualified-name 'QMDIControl::staticMetaObject'
.moc/release-shared/qworkspace.moc:47: error: 'qt_meta_data_QMDIControl' was not declared in this scope
.moc/release-shared/qworkspace.moc:55: error: a function-definition is not allowed here before '{' token
.moc/release-shared/qworkspace.moc:60: error: a function-definition is not allowed here before '{' token
.moc/release-shared/qworkspace.moc:68: error: a function-definition is not allowed here before '{' token
.moc/release-shared/qworkspace.moc:365: error: expected `}' at end of input
.moc/release-shared/qworkspace.moc:365: error: expected `}' at end of input
.moc/release-shared/qworkspace.moc:365: error: expected `}' at end of input
make[2]: *** [.obj/release-shared/qworkspace.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [release-all] Error 2
make: *** [sub-gui-make_default-ordered] Error 2

Any hint ?

Best regards, Vincent.

Change History (3)

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

Cc: Vincent.Boudry@… removed
Keywords: qt removed

Please run selfupdate and try again. The port was just updated to version 4.6.2.

comment:2 Changed 14 years ago by VBoudry

It worked fine. Thank you!

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

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