Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464256 - app-misc/brewtarget-2.0.1 - src/TimerWidget.cpp: error: ‘mediaObject’ was not declared in this scope
Summary: app-misc/brewtarget-2.0.1 - src/TimerWidget.cpp: error: ‘mediaObject’ was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-02 22:27 UTC by Nick Wallingford
Modified: 2014-05-24 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,5.43 KB, text/plain)
2013-04-02 22:27 UTC, Nick Wallingford
Details
complete build log (app-misc:brewtarget-1.2.4:20130402-193935.log,97.27 KB, text/plain)
2013-04-02 22:28 UTC, Nick Wallingford
Details
app-misc/brewtarget-2.0.1 build log (failure) (app-misc:brewtarget-2.0.1:20131118-191151.log,145.32 KB, text/plain)
2013-11-18 19:15 UTC, Nick Wallingford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Wallingford 2013-04-02 22:27:06 UTC
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
Comment 1 Nick Wallingford 2013-04-02 22:27:44 UTC
Created attachment 344128 [details]
emerge --info
Comment 2 Nick Wallingford 2013-04-02 22:28:27 UTC
Created attachment 344130 [details]
complete build log
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2013-11-17 20:14:13 UTC
is this reproducible with 2.0.1?
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2013-11-18 17:28:59 UTC
2.0.1 WFM, please reopen if you can still reproduce.
Comment 5 Nick Wallingford 2013-11-18 19:15:16 UTC
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?
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2013-11-18 23:05:16 UTC
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();
       ^
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2013-11-18 23:05:58 UTC
do you have qtphonon or media-libs/phonon installed?
Comment 8 Nick Wallingford 2013-11-18 23:10:26 UTC
Nope. Nor kde; both the kde and phonon USE flags are globally disabled.
Comment 9 Nick Wallingford 2014-02-12 18:27:27 UTC
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?
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2014-02-13 01:23:00 UTC
Ah good to know! I'll bump the package asap.
Comment 11 Nick Wallingford 2014-03-29 00:35:12 UTC
Any update on this?
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2014-05-24 20:49:50 UTC
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.