Package Details: clementine-qt5-git 1.3.1.r231.g57d90ab-1

Git Clone URL: https://aur.archlinux.org/clementine-qt5-git.git (read-only)
Package Base: clementine-qt5-git
Description: Experimental Qt5 version of Clementine, a modern music player and library organiser.
Upstream URL: http://www.clementine-player.org/
Licenses: GPL
Conflicts: clementine, clementine-git, clementine-lxqt
Provides: clementine
Replaces: clementine, clementine-git, clementine-lxqt
Submitter: Chocobozzz
Maintainer: Chocobozzz
Last Packager: Chocobozzz
Votes: 41
Popularity: 2.922625
First Submitted: 2015-06-11 17:05
Last Updated: 2017-02-19 14:45

Required by (3)

Sources (2)

Latest Comments

Chocobozzz commented on 2017-02-27 08:09

mnovick1988: why?

mnovick1988 commented on 2017-02-27 01:10

Please add, -DBUILD_WERROR=off
Thankyou

evorster commented on 2017-02-21 06:54

Hmm...

Is the purpose of git not to keep source repositories in sync?
Anyways, I blew off the copy of the clementine-qt5-git git I had and pulled a new one.
Now clementine-qt5-git compiles fine through yaourt, which is good, but what is bad is that I do not understand how that can be. The repository was updated with git, unless someone changed a branch name and my repo was tracking the wrong branch.

Thanks for your help!
-Evert-

jonathon commented on 2017-02-20 17:05

I don't think I mentioned your error as being due to a too-old compiler...

As Chocobozzz has already pointed out, your failing line doesn't match the current source in the 'qt5' branch - you're trying to build different/old/broken source code. Delete your repo cache and try again. Also, try without yaourt.

evorster commented on 2017-02-20 12:15

I'm using gcc-multilib 6.3.1-1, so it's definitely not too old.

The first failure is with the invalid conversion from void* to const int16_t*

This software used to build fine on this machine, with this compiler chain, until December last year.

Kind regards,
Evert

jonathon commented on 2017-02-20 12:00

No issues building here.

"error: unrecognized command line option" is due to a compiler that doesn't support the passed options, normally because it's too old (e.g. you're using GCC5 and it's trying to use a GCC6 option).

"recompile with -fPIC" means you compiled different libraries with incompatible options. Check your /etc/makepkg.conf (and any .pacnew that is there), rebuild this package's AUR dependencies, etc.

GuineaPiet commented on 2017-02-19 21:40

Can confirm, does not build here either. Getting the following errors:

cc1plus: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-unused-private-field’ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/build.make:3741: src/CMakeFiles/clementine_lib.dir/core/appearance.cpp.o] Error 1
cc1plus: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-unused-private-field’ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/build.make:3549: src/CMakeFiles/clementine_lib.dir/analyzers/analyzercontainer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:727: src/CMakeFiles/clementine_lib.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

evorster commented on 2017-02-16 05:46

I fully updated my Arch machine and the git repo of clementine-qt5-git.

I am still using yaourt aur helper, and I am still unable to build clementine-qt5-git.

It fails at 60% with:
/var/tmp/yaourt-tmp-evert/aur-clementine-qt5-git/src/Clementine/src/musicbrainz/chromaprinter.cpp: In member function ‘QString Chromaprinter::CreateFingerprint()’:
/var/tmp/yaourt-tmp-evert/aur-clementine-qt5-git/src/Clementine/src/musicbrainz/chromaprinter.cpp:146:33: error: invalid conversion from ‘void*’ to ‘const int16_t* {aka const short int*}’ [-fpermissive]
chromaprint_feed(chromaprint, reinterpret_cast<void*>(data.data())

j605 commented on 2017-01-20 09:14

I reported this in IRC but just posting again to see if anyone else has encountered this error.

/usr/bin/ld: ../3rdparty/sha2/libsha2.a(sha2.cpp.o): relocation R_X86_64_32S against`.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../3rdparty/libprojectm/Renderer/libRenderer.a(PipelineContext.o): relocation R_X86_64_32S against symbol `_ZTV15PipelineContext' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../3rdparty/libprojectm/Renderer/libRenderer.a(SOIL.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../3rdparty/libprojectm/Renderer/libRenderer.a(stb_image_aug.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../3rdparty/libprojectm/Renderer/libRenderer.a(image_DXT.o): relocationR_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/clementine.dir/build.make:132: clementine] Error 1
make[1]: *** [CMakeFiles/Makefile2:778: src/CMakeFiles/clementine.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

evorster commented on 2017-01-13 18:22

Hi there.

I use the yaourt helper in Arch, and ensure that my copy of the git repo is up to date when trying to build.
My Arch itself is about two weeks out of date, and I can't update because of slow internet connection.
I removed the /src directory in Clementine, and let Arch re-make it from the git. However, I still get the same error message.

All comments