https://bugzilla.novell.com/show_bug.cgi?id=848953 https://bugzilla.novell.com/show_bug.cgi?id=848953#c0 Summary: Phonon support missing from python-qt4 in openSUSE 13.1 - breaks OpenLP Classification: openSUSE Product: openSUSE 13.1 Version: RC 2 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: jdmulloy@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 The python-qt4 package in openSUSE 13.1 does not include phonon support because the test for Phonon in the configure.py script fails because the path /usr/include/QtGui as an include is not included in g++ command for compiling the test so the build script thinks that Phonon is not supported, despite phonon-devel being installed. The configure-ng.py script which uses qmake properly adds the include path, so it does not have this issue. The best long term solution would be to switch the package to use configure-ng.py but I don't know if this would be allowed so close to the release. This change should be made for factory so that it gets into the next release. The pyqt4 project documentation recommends using configure-ng.py over configure.py http://pyqt.sourceforge.net/Docs/PyQt4/installation.html#configuring-pyqt4. The following is the build output when the --verbose flag is added to the configure.py step showing the issue with the Phonon check. [ 170s] Checking to see if the phonon module should be built... [ 170s] g++ -DQT_PHONON_LIB -I. -I/usr/mkspecs/linux-g++ -I/usr/include/phonon -I/usr/include -pipe -g -w -D_REENTRANT cfgtest_phonon.cpp -o cfgtest_phonon -L/usr/lib64 -lpthread -ldl -lutil -lm -lpython2.7 -lphonon -lpthread [ 170s] In file included from cfgtest_phonon.cpp:1:0: [ 170s] /usr/include/phonon/videowidget.h:28:19: fatal error: QWidget: No such file or directory [ 170s] #include <QWidget> [ 170s] ^ [ 170s] compilation terminated. .. [ 170s] These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia, [ 170s] QtNetwork, QtDBus, QtDeclarative, QtScript, QtScriptTools, QtXml, QtOpenGL, [ 170s] QtSql, QtSvg, QtTest, QtWebKit, QtXmlPatterns, QtDesigner. Using configure-ng.py instead fixes the problem. [ 128s] Checking to see if the phonon module should be built... [ 128s] /usr/bin/qmake -o cfgtest_phonon.mk cfgtest_phonon.pro [ 128s] make -f cfgtest_phonon.mk [ 131s] g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/phonon -I/usr/include -I/usr/include/phonon_compat -I. -o cfgtest_phonon.o cfgtest_phonon.cpp [ 131s] g++ -o cfgtest_phonon cfgtest_phonon.o -L/usr/lib64 -lphonon -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread [ 131s] { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'cfgtest_phonon' && test -f cfgtest_phonon.gdb-index && objcopy --add-section '.gdb_index=cfgtest_phonon.gdb-index' --set-section-flags '.gdb_index=readonly' 'cfgtest_phonon' 'cfgtest_phonon' && rm -f cfgtest_phonon.gdb-index || true [ 131s] /bin/sh: gdb: command not found [ 131s] /bin/sh: line 0: test: -gt: unary operator expected .. [ 131s] These PyQt4 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia, [ 131s] QtNetwork, QtDeclarative, QtScript, QtScriptTools, QtXml, QtOpenGL, QtSql, [ 131s] QtSvg, QtTest, QtWebKit, QtXmlPatterns, phonon, QtDesigner, QtDBus. For some reason the test works fine on openSUSE 12.3 with the version of python-qt4 in 12.3 [ 181s] Checking to see if the phonon module should be built... [ 181s] g++ -DQT_PHONON_LIB -I. -I/usr/mkspecs/linux-g++ -I/usr/include/phonon -I/usr/include -m64 -pipe -g -w -D_REENTRANT cfgtest_phonon.cpp -o cfgtest_phonon -L/usr/lib64 -lpthread -ldl -lutil -lm -lpython2.7 -lphonon -lpthread .. [ 225s] These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia, [ 225s] QtNetwork, QtDBus, QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql, [ 225s] QtSvg, QtTest, QtWebKit, QtXml, QtXmlPatterns, phonon, QtDesigner. This bug currently prevents the OpenLP package from working as it requires Phonon to work. jdmulloy@linux-e8l2:~> openlp Traceback (most recent call last): File "/usr/bin/openlp", line 31, in <module> from openlp.core import main File "/usr/lib/python2.7/site-packages/openlp/__init__.py", line 33, in <module> import core File "/usr/lib/python2.7/site-packages/openlp/core/__init__.py", line 46, in <module> from openlp.core.lib import Receiver, check_directory_exists File "/usr/lib/python2.7/site-packages/openlp/core/lib/__init__.py", line 399, in <module> from dockwidget import OpenLPDockWidget File "/usr/lib/python2.7/site-packages/openlp/core/lib/dockwidget.py", line 39, in <module> from openlp.core.ui import ScreenList File "/usr/lib/python2.7/site-packages/openlp/core/ui/__init__.py", line 82, in <module> from maindisplay import MainDisplay, Display File "/usr/lib/python2.7/site-packages/openlp/core/ui/maindisplay.py", line 39, in <module> from PyQt4.phonon import Phonon ImportError: No module named phonon Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.