Opened 13 years ago

Closed 13 years ago

#30402 closed defect (duplicate)

qt4-mac fails to build on Lion

Reported by: mkae (Marko Käning) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Lion Cc:
Port: qt4-mac

Description

Building fails since MacOSX version isn't supported:

info:build                  from ../../../../include/QtCore/qplugin.h:1,
:info:build                  from ../../../../include/QtGui/../../src/gui/image/qimageiohandler.h:45,:info:build                  from ../../../../include/QtGui/qimageiohandler.h:1,
:info:build                  from ../../../../include/QtGui/QImageIOHandler:1,
:info:build                  from qicohandler.h:44,
:info:build                  from qicohandler.cpp:51:
:info:build ../../../../include/QtCore/../../src/corelib/global/qglobal.h:320:6: warning: #warning "This version of Mac OS X is unsupported"
:info:build rm -f libqico.dylib
:info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.7 -Xarch_x86_64 -mmacosx-version-min=10.7 -o libqico.dylib .obj/release-shared/main.o .obj/release-shared/qicohandler.o    -L/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/lib -lQtGui -lQtCore
:info:build mv -f libqico.dylib ../../../../plugins/imageformats/:info:build make[4]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats/ico'
:info:build rm -f libqtiff_debug.dylib
:info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.7 -Xarch_x86_64 -mmacosx-version-min=10.7 -o libqtiff_debug.dylib .obj/debug-shared/qtiffhandler.o .obj/debug-shared/main.o    -ltiff -L/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/lib -lQtGui_debug -lQtCore_debug
:info:build mv -f libqtiff_debug.dylib ../../../../plugins/imageformats/
:info:build make[4]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats/tiff'
:info:build make[3]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats/tiff'
:info:build rm -f libqico_debug.dylib
:info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk -single_module -dynamicli
b -Xarch_x86_64 -mmacosx-version-min=10.7 -Xarch_x86_64 -mmacosx-version-min=10.7 -o libqico_debug.dylib .obj/debug-shared/main.o .obj/debug-shared/qicohandle
r.o    -L/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensou
rce-src-4.7.3/lib -lQtGui_debug -lQtCore_debug
:info:build mv -f libqico_debug.dylib ../../../../plugins/imageformats/
:info:build make[4]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats/ico'
:info:build make[3]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats/ico'
:info:build make[2]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins/imageformats'
:info:build make[1]: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3/src/plugins'
:info:build make: *** [sub-plugins-all-ordered] Error 2
:info:build make: Leaving directory `/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3'
:info:build shell command " cd "/opt/test/var/macports/build/_opt_test_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.7.3" && /usr/bin/make -j4 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)

Change History (1)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: pixilla@… snc@… removed
Resolution: duplicate
Status: newclosed

Duplicate: #29141

Note: See TracTickets for help on using tickets.