Compilation fails with the error: /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 After upgrade to >= pulseaudio-1.0 from <=pulse-audio-0.9*, /usr/include/pulse/sample.h has <math.h> include removed (that provides power function). So it needs to be added at either phonon/pulsestream.cpp or phonon/phonon/pulsestream_p.h. Attached a modified ebuild and patch to resolve the bug. Reproducible: Always
Created attachment 289285 [details] patch to make phonon-4.5.0 with >=pulseaudio-1.0
Created attachment 289287 [details] ebuild that uses the phonon patch for pulseaudio
@hirakendu, thank you, your patch works!
The fix is already upstream at: https://projects.kde.org/projects/kdesupport/phonon/phonon/repository/revisions/436d5379abe83c53c652d8a251f7ab504a1523df Could someone from KDE team like to apply this? I can add it to latest phonon if you're strapped for time.
Fix added in phonon-4.5.0-r1, thanks to everyone involved and sorry this took so long.
(In reply to comment #5) > Fix added in phonon-4.5.0-r1, thanks to everyone involved and sorry this took > so long. Andreas, is there a reason why you removed phonon-4.5.0-[r1,r2] from the portage tree? I see in the ChangeLog that you did a "cleanup", which means that phonon gets downgraded to =4.5.0, which still has this bug. Here are the lines from the ChangeLog I'm talking about: > 30 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> > -phonon-4.5.0-r1.ebuild, -phonon-4.5.0-r2.ebuild, -phonon-4.5.1.ebuild: > Cleanup Perhaps it's an idea to reopen this bug until the ebuilds get back in the tree?
(In reply to comment #6) > (In reply to comment #5) > > Fix added in phonon-4.5.0-r1, thanks to everyone involved and sorry this took > > so long. > > Andreas, is there a reason why you removed phonon-4.5.0-[r1,r2] from the > portage tree? I see in the ChangeLog that you did a "cleanup", which means that > phonon gets downgraded to =4.5.0, which still has this bug. > > Here are the lines from the ChangeLog I'm talking about: > > 30 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> > > -phonon-4.5.0-r1.ebuild, -phonon-4.5.0-r2.ebuild, -phonon-4.5.1.ebuild: > > Cleanup > > Perhaps it's an idea to reopen this bug until the ebuilds get back in the tree? Maybe I'm missing something, but why dont you upgrade to 4.5.1-r1 ?
> Maybe I'm missing something, but why dont you upgrade to 4.5.1-r1 ? You're not really missing anything, but 4.5.1-r1 is keyword masked (at least on amd64), which means users get a broken package as one of the two only stable versions.
(In reply to comment #8) > > Maybe I'm missing something, but why dont you upgrade to 4.5.1-r1 ? > > You're not really missing anything, but 4.5.1-r1 is keyword masked (at least on > amd64), which means users get a broken package as one of the two only stable > versions. Yes, but both versions that I removed were keyword masked too. So? :)
(In reply to comment #9) > (In reply to comment #8) > > > Maybe I'm missing something, but why dont you upgrade to 4.5.1-r1 ? > > > > You're not really missing anything, but 4.5.1-r1 is keyword masked (at least on > > amd64), which means users get a broken package as one of the two only stable > > versions. > > Yes, but both versions that I removed were keyword masked too. So? :) That is indeed something I overlooked :) But in the meantime, another wild bug has appeared that is a duplicate of this one: #393457. Please disregard anything else I might have said that sounds like utter nonsense ;)
Hitting this one also. Could you please get those patches in again?
*** Bug 393457 has been marked as a duplicate of this bug. ***