clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.68k stars 670 forks source link

won`t build with yay #7317

Closed Mile-Lile closed 4 months ago

Mile-Lile commented 4 months ago

System information

actual behaviour

wont build with yay

Steps to reproduce the problem (only for bugs)

yay -S clementine

I got this error:

Screenshot from 2024-03-01 22-42-52

Mile-Lile commented 4 months ago

and building with your instructions give me these:

 1020 |     ForEachChunk([&combiner, &hash_state](absl::string_view chunk) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  |
      |                  absl::lts_20230802::Cord::HashFragmented<absl::lts_20230802::hash_internal::MixingHashState>(absl::lts_20230802::hash_internal::MixingHashState) const::<lambda(int)>
 1021 |       hash_state = combiner.add_buffer(std::move(hash_state), chunk.data(),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1022 |                                        chunk.size());
      |                                        ~~~~~~~~~~~~~~
 1023 |     });
      |     ~             
/usr/include/absl/strings/cord.h:1591:48: note:   initializing argument 1 of ‘void absl::lts_20230802::Cord::ForEachChunk(int) const’
 1591 |     absl::FunctionRef<void(absl::string_view)> callback) const {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [ext/libclementine-remote/CMakeFiles/libclementine-remote.dir/build.make:84: ext/libclementine-remote/CMakeFiles/libclementine-remote.dir/remotecontrolmessages.pb.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1758: ext/libclementine-remote/CMakeFiles/libclementine-remote.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [ext/libclementine-tagreader/CMakeFiles/libclementine-tagreader.dir/build.make:116: ext/libclementine-tagreader/CMakeFiles/libclementine-tagreader.dir/tagreader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1705: ext/libclementine-tagreader/CMakeFiles/libclementine-tagreader.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
FabioLolix commented 4 months ago

Duplicate of https://github.com/clementine-player/Clementine/issues/7313

The AUR pkgbuild have been changed to use system's taglib1

https://aur.archlinux.org/cgit/aur.git/commit/?h=clementine&id=98d4ae5cdc4369d117812ff14335c361635cf81a

Mile-Lile commented 4 months ago

works now, thank you very much...