amarok2 doesn't build

Bug #182545 reported by Thomas Schlesinger
2
Affects Status Importance Assigned to Milestone
amarok2 (Ubuntu)
Fix Released
Undecided
Ralph Janke

Bug Description

When trying to build amarok2(amarok2-2.0.0~svn693037), I get this error message:

$ apt-get source -b amarok2
[..]
-- Read ipod directory
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib/mysql/libmysqld.a
-- Could not find OPTIONAL package PostgreSQL
CMake Error: Error in cmake code at
/home/software/amarok2-2.0.0~svn693037/po/ar/CMakeLists.txt:2:
Unknown CMake command "kde4_create_po_files".
-- Configuring done
make: *** [obj-i486-linux-gnu/CMakeCache.txt] Error 255
Build command 'cd amarok2-2.0.0~svn693037 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Revision history for this message
Taupter (taupter) wrote :

Try disabling MySQL support. It seems (at least here, two Kubuntu 7.10 amd64) that libmysqld.a is broken. It didn't compile here with MySQL support enabled, but went just fine with it disabled.

Revision history for this message
Thomas Schlesinger (schlesix) wrote :

Taupter, your advice helped me, but enabling mysql an njb let run me into the next error:

[..]
-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
-- Found taglib: -L/usr/lib -ltag
-- Taglib found: -L/usr/lib -ltag
-- Ruby found: /usr/lib/libruby1.8.so
-- Configuring done
make: *** [obj-i486-linux-gnu/CMakeCache.txt] Error 255
Build command 'cd amarok2-2.0.0~svn693037 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Any more suggestions?

Revision history for this message
Montblanc (montblanc) wrote :

I'm getting your same errors, but I can't even set the KDE4_PHONON_LIBRARY variable...

$ apt-get source -b amarok2
[...]
-- Read ipod directory
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib/mysql/libmysqld.a
-- Could not find OPTIONAL package PostgreSQL
CMake Error: Error in cmake code at
/home/tk/amarok2-2.0.0~svn693037/po/ar/CMakeLists.txt:2:
Unknown CMake command "kde4_create_po_files".
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
KDE4_PHONON_LIBRARY

-- Configuring done
make: *** [obj-i486-linux-gnu/CMakeCache.txt] Error 255
Comando di costruzione 'cd amarok2-2.0.0~svn693037 && dpkg-buildpackage -b -uc' fallito.
E: Processo figlio fallito

Revision history for this message
Jared Sutton (jpsutton) wrote :

In order to get around the message about KDE4_PHONON_LIBRARY, you need to install libphonon-dev.

Can anyone tell me how to pass options to the configure script while still using apt-get -b source [package] to build the package?

Revision history for this message
Montblanc (montblanc) wrote :

[Jared Sutton wrote:]
In order to get around the message about KDE4_PHONON_LIBRARY, you need to install libphonon-dev.

Thank you!

[Jared Sutton wrote:]
Can anyone tell me how to pass options to the configure script while still using apt-get -b source [package] to build the package?

Yeah, I'm trying to disable MySQL support too... any suggestions?

Revision history for this message
Montblanc (montblanc) wrote :

Ok, so after I manually set up CMake text files and try to remove everything related to "kde4_create_po_files" and "kde4_install_po_files" functions (which I read are not used anymore, something about debian/snap_amarok2.rb ) I managed to bypass this error but ran into various warnings saying that some modules have "virtual functions but non-virtual destructor". I think we should wait for the next snapshot...

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for submitting this report.

Is it ok to close this report now, according to the last comment above?

Thanks

Changed in amarok2:
assignee: nobody → txwikinger
status: New → Incomplete
Revision history for this message
Thomas Schlesinger (schlesix) wrote :

It's ok for me to close this bug report. Meanwhile, there's a binary package available.

Ralph Janke (txwikinger)
Changed in amarok2:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.