Please add dependencies for amarok
Closed, ResolvedPublic

Description

@ltoscano was so friendly to enable builds of amarok on b.k.o. It's currently missing some dependencies though. I tried to list them with descending importance below. I'll try to stay around in #kde-sysadmin (nick: heirecka) in case there are any questions.

Missing test dependencies:

  • googlemock

Required dependencies missing for Windows:

  • taglib (probably more, but cmake aborts after this)

Optional dependencies:

  • liblastfm-qt5 >= 1.0.0
  • libofa
  • libgpod >= 0.8.2
  • libmtp
  • loudmouth

Optional deps missing for SUSE:

  • curl

Optional deps missing for FreeBSD:

  • taglib-extras

Optional deps which are a bit wonky and probably not woth adding at this point:

  • qjson-qt5 (should probably get ported to pure Qt)
  • libmygpo-qt5 (Needs an unreleased version)
Restricted Application added a subscriber: sysadmin. · View Herald TranscriptMar 8 2018, 9:47 AM
bcooksley changed the visibility from "Custom Policy" to "Public (No Login Required)".
bcooksley changed the edit policy from "Custom Policy" to "All Users".
bcooksley edited projects, added build.kde.org; removed Sysadmin.
bcooksley added subscribers: adridg, tcberner.

In regards to Windows, can you please make the taglib failure fatal at the end rather than at the beginning, so anything else which is hard required can be sorted out at the same time?

For SUSE it's probably just a case of updating our Docker image accordingly.

I'll leave FreeBSD to @adridg and @tcberner to sort.

sorted: taglib-extras should be installed now.

Moved the taglib check to the end, although it still doesn't go through completely I can tell a bit more:

Required ones missing for Windows:

  • taglib
  • fftw

Optional

  • taglib-extras
  • ffmpeg
  • glib/gobject
  • curl
  • loudmouth

Thanks @tcberner

@bcooksley All the deps are available in the distro so yes, it's just a matter of adding them to the image.

For Linux it looks like you have a build regression which needs to be fixed.

In regards to Windows, it looked like fftw was not available in Craft so you will need to prepare the necessary support there for that to work.

Additionally it cannot seem to find MySQL properly, even though it is definitely there (Akonadi and Qt use it) so that needs checking as well.

In regards to FreeBSD, is it possible to get MySQL Embedded made available @adridg?

> In regards to FreeBSD, is it possible to get MySQL Embedded made available @adridg?
mysql56-server is now installed (on all but vm1, as that one has a runing pkg process).

It now just fails to link with

/usr/bin/ld: /usr/bin/ld: undefined reference to symbol `backtrace_symbols_fd' (try adding -lexecinfo)

as it is missing the required libraries for backtrace call see:
https://www.freebsd.org/cgi/man.cgi?query=backtrace&sektion=3&manpath=FreeBSD+11-current

For Linux it looks like you have a build regression which needs to be fixed.

Additionally it cannot seem to find MySQL properly, even though it is definitely there (Akonadi and Qt use it) so that needs checking as well.

I'm aware of the issue, the root cause is FindMySQL.cmake in combination with the embedded version (which neither Akonadi nor Qt use) in both cases. I probably have a solution, but I need to test it on other distros (it already worked fine on mine before).

In regards to Windows, it looked like fftw was not available in Craft so you will need to prepare the necessary support there for that to work.

Ok. I'll look into that after the MySQL thing.

> In regards to FreeBSD, is it possible to get MySQL Embedded made available @adridg?

mysql56-server is now installed (on all but vm1, as that one has a runing pkg process).

Thanks.

It now just fails to link with

/usr/bin/ld: /usr/bin/ld: undefined reference to symbol `backtrace_symbols_fd' (try adding -lexecinfo)

as it is missing the required libraries for backtrace call see:
https://www.freebsd.org/cgi/man.cgi?query=backtrace&sektion=3&manpath=FreeBSD+11-current

Most likely the same problem with FindMySQL.cmake being incomplete as described above.

Any news in regards to FindMySQL,cmake?

Yes, builds on Suse and FreeBSD properly find it and build successfully.

Any news in regards to the MySQL issues on Windows?

@heikobecker Have you had a chance to look into the Windows build? Also, it looks like FreeBSD has regressed :(

heikobecker closed this task as Resolved.May 29 2018, 9:49 AM
heikobecker claimed this task.

All there for Linux and FreeBSD. Windows is postponed until amarok doesn't need mysqle anymore.

We provide mysql on Windows?

Unfortunately it seems the MySQL package we have on Windows lacks MySQLEmbedded support, which Amarok needs.

Isn't that the mysql.dll? At least we used the same mysql package with the old amarok

Are you referring to the Qt 4 version of Amarok @vonreth?
If mysql.dll is sufficient, then perhaps we just need to adjust the MySQL search in Amarok.