tomahawk-player / tomahawk

Tomahawk, the multi-source music player
http://tomahawk-player.org
GNU General Public License v3.0
2.97k stars 367 forks source link

Error compilation tomahawk-git on ArchLinux #619

Closed Paullux closed 7 years ago

Paullux commented 7 years ago

I have the error when I try to compil tomahawk from AUR :

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * QtKeychain  <https://github.com/frankosterfeld/qtkeychain>
     Provides support for secure credentials storage

-----------------------------------------------------------------------------

CMake Error at CMakeModules/MacroLogFeature.cmake:152 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:457 (macro_display_feature_log)

-- Configuring incomplete, errors occurred!
See also "/home/paul/tomahawk-git/src/tomahawk-git/CMakeFiles/CMakeOutput.log".
See also "/home/paul/tomahawk-git/src/tomahawk-git/CMakeFiles/CMakeError.log".
pacman -Qi qtkeychain
Nom                      : qtkeychain
Version                  : 0.8.0-2
Description              : Provides support for secure
                           credentials storage
Architecture             : x86_64
URL                      : https://github.com/frankosterfeld/qtkeychain
Licences                 : BSD
Groupes                  : --
Fournit                  : qtkeychain-qt5
Dépend de                : qt5-base
Dépendances opt.         : kwallet: kwallet backend
                           [installé]
                           libgnome-keyring: GNOME keyring
                           backend [installé]
                           libsecret: libsecret backend
                           [installé]
Requis par               : --
Optionnel pour           : --
Est en conflit avec      : qtkeychain-qt5
Remplace                 : qtkeychain-qt5
Taille installée         : 192,00 KiB
Paqueteur                : Antonio Rojas
                           <arojas@archlinux.org>
Compilé le               : ven. 21 avril 2017 20:15:57 CEST
Installé le              : sam. 22 avril 2017 12:37:32 CEST
Motif d’installation     : Installé comme dépendance d’un
                           autre paquet
Script d’installation    : Non
Validé par               : Signature

CMakeOutput.log

CMakeError.log

To compile tomahawk-git, i needed downgraded qtkeychain 0.8.0-2 to 0.7.0-1

SolarAquarion commented 7 years ago

I need to change the PKGBUILD i guess

hluk commented 7 years ago

Replacing QTKEYCHAIN_FOUND with Qt5Keychain_FOUND (here) seems to fix the issue, but I didn't test it with older versions of qtkeychain.

dschmidt commented 7 years ago

I think we dropped Qt4 support completely - so we could change the var being checked

muesli commented 7 years ago

Arch dropped Qt4, too, fwiw.