Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 393457

Summary: media-libs/phonon-4.5.0 fails to build with +pulseaudio
Product: Gentoo Linux Reporter: Myk Taylor <myk002>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info and build log

Description Myk Taylor 2011-12-06 23:56:30 UTC
Created attachment 295029 [details]
emerge --info and build log

I was rebuilding media-libs/phonon-4.5.0 since the xine use flag is now forced off.  I got the following build error:

[ 54%] Building CXX object phonon/CMakeFiles/phonon.dir/pulsestream.cpp.o

/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*)’:
/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

I suspect this can be solved by the addition of:
  #include <math.h>

at the top of pulsestream.cpp
Comment 1 Stefan Zwanenburg 2011-12-07 08:04:50 UTC
It looks like this is exactly the same thing as in bug #386489 (which was fixed, until just recently).
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2011-12-09 13:21:21 UTC

*** This bug has been marked as a duplicate of bug 386489 ***