Summary: | media-libs/phonon-4.5.0: does not compile with media-sound/pulseaudio-1.0: "Could NOT find PulseAudio" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Clemens Gruber <philistion> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cctsurf, ford_prefect, kevin.bowling, kuba.iluvatar, rose |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log with error message
emerge --info output for media-libs/phonon patch of Comment 10 ebuild which uses patch of Comment 10 |
Description
Clemens Gruber
2011-09-27 18:23:34 UTC
Created attachment 287961 [details]
Build log with error message
Created attachment 287963 [details]
emerge --info output for media-libs/phonon
Forgot to finish a sentence in the first posting :) ..but it fails at "CMake Error at cmake/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "#define pa_get_headers_version() ("1")*10000 + #define pa_get_headers_version() ("0")*100 + 0": syntax error, unexpected exp_CLOSEPARENT, expecting exp_OPENPARENT or exp_NUMBER (32) Call Stack (most recent call first): cmake/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION) cmake/FindPulseAudio.cmake:58 (macro_ensure_version) cmake/MacroOptionalFindPackage.cmake:32 (find_package) phonon/CMakeLists.txt:9 (macro_optional_find_package)" (Details, see attachments) I guess, the problem lies here in FindPulseAudio.cmake: https://projects.kde.org/projects/kdesupport/phonon/phonon/repository/revisions/master/entry/cmake/FindPulseAudio.cmake What will be the course of action, if we can fix it? File a KDE bugreport and wait or make a patch for ourselves in the meantime (until this is fixed in the official repository)? I don't want to downgrade my system back to pulseaudio 0.9.x.. ;) You might not want to downgrade for one more reason -- the PA database format changed, and will probably result in your settings getting wiped or so. Not a *huge* deal but could be annoying. https://projects.kde.org/projects/kdesupport/phonon/phonon/repository/revisions/master/changes/cmake/FindPulseAudio.cmake(In reply to comment #4) > I guess, the problem lies here in FindPulseAudio.cmake: > https://projects.kde.org/projects/kdesupport/phonon/phonon/repository/revisions/master/entry/cmake/FindPulseAudio.cmake The top 3 commits in that list should fix things. I'm given to understand a new Phonon version with a bunch of bug fixes is impending, though. There's an issue with the cmake file. We'll have to apply a patch or get a new version. Same error here. Isn't there any patch? This issue blocks the emerging of kdelibs-4.7.1-r3 and the emerging of dependent packages. Other than the patches I pointed to to phonon, this patch to PulseAudio should also fix the problem: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=7563e0bbb54fbac54e77f3a62d9761a70f3a559c We should be making a new PA release soon, so holding off on bumping the ebuild yet again. *** Bug 385911 has been marked as a duplicate of this bug. *** Created attachment 289203 [details] patch of Comment 10 Created attachment 289205 [details] ebuild which uses patch of Comment 10 I emerged pulseaudio with patch of Comment 10. Then I tried again 'emerge world' which tries again to emerge phonon. The configuration accepts now pulseaudio-1.0-r1, but nevertheless 'emerge phonon' fails then with: ... cd /var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0_build/phonon && /usr/bin/i686-pc-linux-gnu-g++ -DMAKE_PHONON_LIB -D_BSD_SOURCE -DHAVE_PULSEAUDIO -DHAVE_PULSEAUDIO_DEVICE_MANAGER -DPHONON_LIBRARY_PATH=\"/usr/lib/kde4/plugins\" -DNDEBUG -O2 -march=pentium-m -fomit-frame-pointer -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fPIC -I/var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0_build/phonon -I/var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0/phonon -I/var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0 -I/var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0/includes -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o CMakeFiles/phonon.dir/pulsestream.cpp.o -c /var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0/phonon/pulsestream.cpp /var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0/phonon/pulsestream.cpp: In member function ‘void Phonon::PulseStream::setVolume(const pa_cvolume*)’: /var/tmp/portage/media-libs/phonon-4.5.0/work/phonon-4.5.0/phonon/pulsestream.cpp:84:65: error: ‘pow’ was not declared in this scope make[2]: *** [phonon/CMakeFiles/phonon.dir/pulsestream.cpp.o] Error 1 Btw. the link for the patch in Comment 6 https://projects.kde.org/projects/kdesupport/phonon/phonon/repository/revisions/master/changes/cmake/FindPulseAudio.cmake(In is broken. This bug blocks now the installation of kde-4.7.2. Masking >=media-sound/pulseaudio-1.0 seems to work as a workaround for me. Fixed with pulseaudio 1.0-r2. Compilation of phonon against pulseaudio-1.0-r2 fails at: [ 54%] [ 56%] Building CXX object phonon/CMakeFiles/phonon.dir/pulsestream.cpp.o Building CXX object phonon/CMakeFiles/phonon.dir/audiooutputadaptor.cpp.o /var/tmp/paludis/media-libs-phonon-4.5.0/work/phonon-4.5.0/phonon/pulsestream.cpp: In member function 'void Phonon::PulseStream::setVolume(const pa_cvolume*)': /var/tmp/paludis/media-libs-phonon-4.5.0/work/phonon-4.5.0/phonon/pulsestream.cpp:84:60: error: 'pow' was not declared in this scope make[2]: *** [phonon/CMakeFiles/phonon.dir/pulsestream.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Error: * In program cave --log-level warning perform install --hooks --managed-output --output-exclusivity with-others =media-libs/phonon-4.5.0:0::gentoo --destination installed --replacing =media-libs/phonon-4.5.0:0::installed --x-of-y 1 of 1: * When installing 'media-libs/phonon-4.5.0:0::gentoo' replacing { 'media-libs/phonon-4.5.0:0::installed' }: * When running an ebuild command on 'media-libs/phonon-4.5.0:0::gentoo': * Install failed for 'media-libs/phonon-4.5.0:0::gentoo' (paludis::ActionFailedError) make[1]: *** [phonon/CMakeFiles/phonon.dir/all] Error 2 make: *** [all] Error 2 !!! ERROR in media-libs/phonon-4.5.0::gentoo: !!! In /usr/libexec/paludis/utils/emake at line 30 !!! emake returned error 2 !!! Call stack: !!! * paludis_die_or_error_func (/usr/libexec/paludis/die_functions.bash:67) !!! * main (/usr/libexec/paludis/utils/emake:30) diefunc: making ebuild PID 23707 exit with error die trap: exiting with error. Also at that point an error using portage stable and gcc-6.1 pow used in audiooutput.cpp seems to be included by #include <QtCore/qmath.h> It seems this issue isn't fixed yet - bug 386489. |