Summary: | Compile error on KDE Neon 5.12: cannot convert ‘const wchar_t*’ to ‘TagLib::FileName | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Jürgen Blümer <juergen.bluemer> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | heiko.becker, serhiy.int |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | kf5 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jürgen Blümer
2018-04-02 13:45:40 UTC
Which compiler do you use? And which taglib version? To answer your questions
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
> apt-show-versions libtag1-dev
libtag1-dev:amd64/xenial 1.11.1-0.2+16.04+xenial+build1 uptodate
libtag1-dev:i386 not installed
If you want to get rid of this message you can remove L before "wchar". But I'm not sure it's safe because on a freshly-installed Lubuntu 19.10 Amarok does not compile with this and two other errors: 1. Somehow not seeing pthread_create 2. MySQL test failing MySQL error may be fixed by this patch: https://mirror.git.trinitydesktop.org/gitea/TDE/amarok/issues/9 (In reply to Serhiy Zahoriya from comment #4) > MySQL error may be fixed by this patch: > https://mirror.git.trinitydesktop.org/gitea/TDE/amarok/issues/9 please submit patches to https://phabricator.kde.org, subscribing the 'amarok' group to it, else nobody will look at. Thank you, Myriam. Unfortunately this is beyond the scope of my current familiarity with C++ and amarok source. I tried looking into it but it's some old fork of amarok, before 2.0 and I don't know yet how to port these changes.
> else nobody will look at
Amarok FTBFS on newer systems which is critical. It's either someone will have to look at it eventually or we can close this as unmaintained.
(In reply to Serhiy Zahoriya from comment #6) > Thank you, Myriam. Unfortunately this is beyond the scope of my current > familiarity with C++ and amarok source. I tried looking into it but it's > some old fork of amarok, before 2.0 and I don't know yet how to port these > changes. Pre 2.x is irrelevant today and pretty pointless, as pre 2.x we had three different options for databases, and default was SQLite. It was horrible to maintain. Only current master should be worked with nowadays, so event the version in this bug report (2.9.0) is outdated and was never meant to work on Qt5-based systems anyway. > > > else nobody will look at > Amarok FTBFS on newer systems which is critical. It's either someone will > have to look at it eventually or we can close this as unmaintained. I said nobody will look at patches that are not submitted to our system. Current master builds with mariadb AFAIK Oh, so I just need to install different package? I'll check. This problem is relevant for current master, last checked yesterday so I'll change the version, hope that's ok. Ok, I have it compiling now (in progress) on Ubuntu 20.04. I had to install libmariadb-dev libmariadbd-dev libmariadb-dev-compat libglib2.0-dev And I had to put L before "wchar" back. The only change I had to make to code was using i variable with "(void)i" in cmake/modules/FindMySQL.cmake I'll report back later. Since some of my actions mentioned above fixed this particular problem I'll change this issue status. I assume it was caused by missing packages. |