Attempting to build app-misc/brewtarget. 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 compilation terminated. However, mediaobject.h exists: $ find /usr/include -name mediaobject.h /usr/include/qt4/phonon/mediaobject.h $ equery b /usr/include/qt4/phonon/mediaobject.h * Searching for /usr/include/qt4/phonon/mediaobject.h ... dev-qt/qtphonon-4.8.4 (/usr/include/qt4/phonon/mediaobject.h) If I manually extract the archive, and do ./configure && make, the build succeeds. Reproducible: Always Steps to Reproduce: 1. emerge brewtarget Actual Results: Compilation failure Expected Results: Compilation success
Created attachment 344128 [details] emerge --info
Created attachment 344130 [details] complete build log
is this reproducible with 2.0.1?
2.0.1 WFM, please reopen if you can still reproduce.
Created attachment 363512 [details] app-misc/brewtarget-2.0.1 build log (failure) 2.0.1 still fails. This bug specifically has app-misc/brewtarget-1.2.4 in the title; should it be changed?
The error is different now... /var/tmp/portage/app-misc/brewtarget-2.0.1/work/brewtarget-2.0.1/src/TimerWidget.cpp: In constructor ‘TimerWidget::TimerWidget(QWidget*)’: /var/tmp/portage/app-misc/brewtarget-2.0.1/work/brewtarget-2.0.1/src/TimerWidget.cpp:73:13: error: ‘mediaObject’ was not declared in this scope connect( mediaObject, SIGNAL(prefinishMarkReached(qint32)), this, SLOT(doReplay(qint32)) ); ^ /var/tmp/portage/app-misc/brewtarget-2.0.1/work/brewtarget-2.0.1/src/TimerWidget.cpp: In member function ‘void TimerWidget::startStop()’: /var/tmp/portage/app-misc/brewtarget-2.0.1/work/brewtarget-2.0.1/src/TimerWidget.cpp:221:7: error: ‘mediaObject’ was not declared in this scope mediaObject->stop(); ^
do you have qtphonon or media-libs/phonon installed?
Nope. Nor kde; both the kde and phonon USE flags are globally disabled.
This appears to have been fixed upstream in 2.0.2. Upstream bug: https://bugs.launchpad.net/brewtarget/+bug/1212921 I've copied the 2.0.1 ebuild to my local overlay and renamed it, and it compiles and works. Can we get 2.0.2 bumped in portage?
Ah good to know! I'll bump the package asap.
Any update on this?
Bumped. Sorry for the delay. 24 May 2014; Davide Pesavento <pesa@gentoo.org> +brewtarget-2.0.2.ebuild, -brewtarget-1.2.4.ebuild, -brewtarget-2.0.1.ebuild, -files/1.2.4-find-phonon.patch: Version bump, which also fixes bug 464256. Remove old.