Bug#943870: auralquiz: FTBFS: undefined reference to `Phonon::phononVersion()'

Steve Langasek steve.langasek at canonical.com
Thu Oct 31 05:05:58 GMT 2019


Source: auralquiz
Version: 1.0.0-2
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal

Dear maintainers,

I noticed that the auralquiz package has been failing to build in Ubuntu. 
Testing in Debian unstable shows that it fails to build the same way:

[...]
g++ -Wl,-z,relro -Wl,-z,now -o auralquiz main.o auralwindow.o optionsdialog.o answerbox.o ranking.o musicanalyzer.o qrc_auralquiz.o moc_auralwindow.o moc_optionsdialog.o moc_answerbox.o moc_ranking.o moc_musicanalyzer.o   -ltag /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Core.so /usr/lib/x86_64-linux-gnu/libGL.so -lpthread   
/usr/bin/ld: auralwindow.o: in function `AuralWindow::showAbout()':
./src/auralwindow.cpp:1152: undefined reference to `Phonon::phononVersion()'
/usr/bin/ld: auralwindow.o: in function `AuralWindow::nextSongLoaded()':
./src/auralwindow.cpp:1343: undefined reference to `Phonon::MediaObject::play()'
/usr/bin/ld: ./src/auralwindow.cpp:1344: undefined reference to `Phonon::MediaObject::pause()'
/usr/bin/ld: auralwindow.o: in function `AuralWindow::playerStateChanged(Phonon::State, Phonon::State)':
[...]

  (https://launchpad.net/ubuntu/+source/auralquiz/1.0.0-2)

The undefined references are clearly because the binary uses libphonon but
is not being linked against it.  I do not know why it is not linking against
libphonon.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20191030/aeea1898/attachment.sig>


More information about the Pkg-games-devel mailing list