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

Bug 408677

Summary: misc-app/brewtarget-1.2.4 can't find mediaobject.h (Phonon) on PPC
Product: Gentoo Linux Reporter: Olivier Mehani <shtrom-gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: ppc
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log on an iBook G4 with the ebuild in Portage (incl. Phonon patch)
emerge --info on said machine

Description Olivier Mehani 2012-03-18 04:10:43 UTC
I just updated my portage tree, eager to install BrewTarget. Unfortunately, it doesn't build. It fails with

In file included from /var/tmp/portage/app-misc/brewtarget-1.2.4/work/brewtarget-1.2.4/src/TimerListDialog.h:26:0,
                 from /var/tmp/portage/app-misc/brewtarget-1.2.4/work/brewtarget-1.2.4/src/MainWindow.h:59,
                 from /var/tmp/portage/app-misc/brewtarget-1.2.4/work/brewtarget-1.2.4/src/brewtarget.h:29,
                 from /var/tmp/portage/app-misc/brewtarget-1.2.4/work/brewtarget-1.2.4/src/database.cpp:49:
/var/tmp/portage/app-misc/brewtarget-1.2.4/work/brewtarget-1.2.4/src/TimerWidget.h:32:26: fatal error: mediaobject.h: No such file or directory

The header file is very much present on my system 
$ locate mediaobject.h
/usr/include/qt4/phonon/mediaobject.h
but is not found by the build.

The patch in ${FILESDIR} seems to be addressing the very problem of finding Phonon, so I tried disabling its application. It actually appears to have fixed it!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-19 12:24:02 UTC
It isn't keyworded for PPC either.

1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Olivier Mehani 2012-03-22 10:30:48 UTC
Created attachment 306289 [details]
build.log on an iBook G4 with the ebuild in Portage (incl. Phonon patch)
Comment 3 Olivier Mehani 2012-03-22 10:31:35 UTC
Created attachment 306291 [details]
emerge --info on said machine
Comment 4 Olivier Mehani 2012-03-22 10:32:13 UTC
Fair enough. But if nobody tests it, it'll never be keyworded (:

Anyway, here are the files. The log is from the failed build, with the stock ebuild from portage.

However, as I said in my previous comment, this package *does* build properly on PPC when deactivating the patch.