qt4-mac build fails in quicktimevideoplayer.cpp

Olivier Croquette ocroquette at free.fr
Fri Jul 4 14:26:22 PDT 2008


Ryan Schmidt wrote, On 2/07/08 2:04:
> Olivier, to test this, could you please add these lines to the end of  
> the qt4-mac portfile and see if it fixes the problem for you?
> 
> 
> platform darwin 7 {
>      configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.3
>      build.env-append        MACOSX_DEPLOYMENT_TARGET=10.3
> }
> 
> platform darwin 8 {
>      configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.4
>      build.env-append        MACOSX_DEPLOYMENT_TARGET=10.4
> }


Hi Ryan

It didn't work:


DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac
DEBUG: Requested variant darwin is not provided by port qt4-mac.
DEBUG: Requested variant i386 is not provided by port qt4-mac.
DEBUG: Requested variant macosx is not provided by port qt4-mac.
DEBUG: Executing variant dbus provides dbus
DEBUG: Executing variant docs provides docs
DEBUG: Executing variant darwin_8 provides darwin_8
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libmng
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libmng
DEBUG: Requested variant darwin is not provided by port libmng.
DEBUG: Requested variant docs is not provided by port libmng.
DEBUG: Requested variant i386 is not provided by port libmng.
DEBUG: Requested variant dbus is not provided by port libmng.
DEBUG: Requested variant macosx is not provided by port libmng.
DEBUG: Searching for dependency: libmng
DEBUG: Found Dependency: receipt exists for libmng
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: Requested variant darwin is not provided by port libpng.
DEBUG: Requested variant docs is not provided by port libpng.
DEBUG: Requested variant i386 is not provided by port libpng.
DEBUG: Requested variant dbus is not provided by port libpng.
DEBUG: Requested variant macosx is not provided by port libpng.
DEBUG: Searching for dependency: libpng
DEBUG: Found Dependency: receipt exists for libpng
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg
DEBUG: Requested variant darwin is not provided by port jpeg.
DEBUG: Requested variant docs is not provided by port jpeg.
DEBUG: Requested variant i386 is not provided by port jpeg.
DEBUG: Requested variant dbus is not provided by port jpeg.
DEBUG: Requested variant macosx is not provided by port jpeg.
DEBUG: Searching for dependency: jpeg
DEBUG: Found Dependency: receipt exists for jpeg
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: Requested variant darwin is not provided by port tiff.
DEBUG: Requested variant docs is not provided by port tiff.
DEBUG: Requested variant i386 is not provided by port tiff.
DEBUG: Requested variant dbus is not provided by port tiff.
DEBUG: Executing variant macosx provides macosx
DEBUG: Searching for dependency: tiff
DEBUG: Found Dependency: receipt exists for tiff
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus
DEBUG: Requested variant darwin is not provided by port dbus.
DEBUG: Requested variant docs is not provided by port dbus.
DEBUG: Requested variant i386 is not provided by port dbus.
DEBUG: Requested variant dbus is not provided by port dbus.
DEBUG: Requested variant macosx is not provided by port dbus.
DEBUG: Searching for dependency: dbus
DEBUG: Found Dependency: receipt exists for dbus
DEBUG: Skipping completed org.macports.main (qt4-mac)
DEBUG: Skipping completed org.macports.fetch (qt4-mac)
DEBUG: Skipping completed org.macports.checksum (qt4-mac)
DEBUG: Skipping completed org.macports.extract (qt4-mac)
DEBUG: Skipping completed org.macports.patch (qt4-mac)
DEBUG: Skipping completed org.macports.configure (qt4-mac)
--->  Building qt4-mac with target first
DEBUG: Executing org.macports.build (qt4-mac)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: port allows a parallel build
DEBUG: port allows a parallel build
DEBUG: Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0" 
&& make first'
cd src/tools/moc/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/tools/rcc/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/tools/uic/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/corelib/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xml/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/network/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/gui/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/sql/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/script/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/testlib/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/qt3support/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/dbus/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/tools/uic3/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/opengl/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xmlpatterns/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/phonon/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/svg/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/3rdparty/webkit/WebCore/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/plugins/ && make -f Makefile
cd accessible/ && make -f Makefile
cd widgets/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd compat/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd imageformats/ && make -f Makefile
cd jpeg/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd gif/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd mng/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd svg/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd tiff/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd ico/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd sqldrivers/ && make -f Makefile
make[2]: Nothing to be done for `first'.
cd iconengines/ && make -f Makefile
cd svgiconengine/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd script/ && make -f Makefile
cd qtdbus/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd codecs/ && make -f Makefile
cd cn/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd jp/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd tw/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd kr/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd phonon/ && make -f Makefile
cd qt7/ && make -f Makefile
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -isystem/opt/local/include 
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/include 
-g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC 
-DQT_PLUGIN -DQT_PHONON_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED 
-I../../../../mkspecs/macx-g++ -I. 
-I../../../../lib/QtCore.framework/Versions/4/Headers 
-I../../../../include/QtCore -I../../../../include/QtCore 
-I../../../../lib/QtGui.framework/Versions/4/Headers 
-I../../../../include/QtGui -I../../../../include/QtGui 
-I../../../../lib/QtOpenGL.framework/Versions/4/Headers 
-I../../../../include/QtOpenGL -I../../../../include/QtOpenGL 
-I../../../../lib/phonon.framework/Versions/4/Headers 
-I../../../../include/phonon -I../../../../include/phonon 
-I../../../../include -I. 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Headers -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-mac-opensource-src-4.4.0/lib 
-o .obj/debug-shared/quicktimevideoplayer.o 
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp: 
In member function 'bool 
Phonon::QT7::QuickTimeVideoPlayer::setGLContext(__AGLContextRec*, 
__AGLPixelFormatRec*)':
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: 
error: invalid conversion from 'long int*' to 'GLint*'
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: 
error:   initializing argument 3 of 'CGLError CGLChoosePixelFormat(const 
CGLPixelFormatAttribute*, _CGLPixelFormatObject**, GLint*)'
make[4]: *** [.obj/debug-shared/quicktimevideoplayer.o] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-qt7-make_default] Error 2
make[1]: *** [sub-phonon-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2
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-mac-opensource-src-4.4.0" 
&& make first " returned error 2
Command output: make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd jp/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd tw/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd kr/ && make -f Makefile
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd phonon/ && make -f Makefile
cd qt7/ && make -f Makefile
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -isystem/opt/local/include 
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/include 
-g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC 
-DQT_PLUGIN -DQT_PHONON_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED 
-I../../../../mkspecs/macx-g++ -I. 
-I../../../../lib/QtCore.framework/Versions/4/Headers 
-I../../../../include/QtCore -I../../../../include/QtCore 
-I../../../../lib/QtGui.framework/Versions/4/Headers 
-I../../../../include/QtGui -I../../../../include/QtGui 
-I../../../../lib/QtOpenGL.framework/Versions/4/Headers 
-I../../../../include/QtOpenGL -I../../../../include/QtOpenGL 
-I../../../../lib/phonon.framework/Versions/4/Headers 
-I../../../../include/phonon -I../../../../include/phonon 
-I../../../../include -I. 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Headers -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-mac-opensource-src-4.4.0/lib 
-o .obj/debug-shared/quicktimevideoplayer.o 
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp: 
In member function 'bool 
Phonon::QT7::QuickTimeVideoPlayer::setGLContext(__AGLContextRec*, 
__AGLPixelFormatRec*)':
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: 
error: invalid conversion from 'long int*' to 'GLint*'
../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: 
error:   initializing argument 3 of 'CGLError CGLChoosePixelFormat(const 
CGLPixelFormatAttribute*, _CGLPixelFormatObject**, GLint*)'
make[4]: *** [.obj/debug-shared/quicktimevideoplayer.o] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-qt7-make_default] Error 2
make[1]: *** [sub-phonon-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2

Warning: the following items did not execute (for qt4-mac): 
org.macports.activate org.macports.build org.macports.destroot 
org.macports.install
Error: Status 1 encountered during processing.



More information about the macports-users mailing list