[MacPorts] #45298: qt5-mac: Build fails on Yosemite
#45298: qt5-mac: Build fails on Yosemite --------------------+------------------------ Reporter: mf2k@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: qt5-mac --------------------+------------------------ qt5-mac does not build yet on Yosemite. This is important because qt4-mac also does not build on Yosemite. {{{ :info:build /usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DHEADER_OPENAL_PREFIX -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/macx-clang -I. -I../../multimedia/audio -I../../../lib/QtMultimedia.framework/Versions/5/Headers -I../../../lib/QtMultimedia.framework/Versions/5/Headers/5.3.1 -I../../../lib/QtMultimedia.framework/Versions/5/Headers/5.3.1/QtMultimedia -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource- src-5.3.1/qtdeclarative/lib/QtQuick.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource- src-5.3.1/qtdeclarative/lib/QtQml.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource- src-5.3.1/qtbase/lib/QtNetwork.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource- src-5.3.1/qtbase/lib/QtGui.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource- src-5.3.1/qtbase/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource-src-5.3.1/qtmultimedia/lib -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource-src-5.3.1/qtdeclarative/lib -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work /qt-everywhere-opensource-src-5.3.1/qtbase/lib -o .obj/qdeclarative_playvariation_p.o qdeclarative_playvariation_p.cpp :info:build avfmediaplayersession.mm:325:24: error: cannot initialize a variable of type 'AVPlayerStatus' with an rvalue of type 'NSInteger' (aka 'long') :info:build AVPlayerStatus status = [[change objectForKey:NSKeyValueChangeNewKey] integerValue]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 error generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/45298> MacPorts <http://www.macports.org/> Ports system for OS X
#45298: qt5-mac: Build fails on Yosemite ----------------------+------------------------ Reporter: mf2k@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: qt5-mac | ----------------------+------------------------ Comment (by cosmo@…): changing the code to: NSInteger val = [[change objectForKey:NSKeyValueChangeNewKey] integerValue]; AVPlayerStatus status = (AVPlayerStatus)val; seems to work -- Ticket URL: <https://trac.macports.org/ticket/45298#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45298: qt5-mac: Build fails on Yosemite ----------------------+------------------------ Reporter: mf2k@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: qt5-mac | ----------------------+------------------------ Comment (by ryandesign@…): Replying to [ticket:45298 mf2k@…]:
qt4-mac also does not build on Yosemite.
This was fixed. -- Ticket URL: <https://trac.macports.org/ticket/45298#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45298: qt5-mac: Build fails on Yosemite ----------------------+------------------------ Reporter: mf2k@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: qt5-mac | ----------------------+------------------------ Comment (by michaelld@…): qt4-mac builds on Yosemite as of today. -- Ticket URL: <https://trac.macports.org/ticket/45298#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts