Clementine compilation fail

Problems with last upgrade

yay -Suy

aur/clementine  1.4.0rc2-2 -> 1.4.0rc2-3

The compiler ends with an error

/usr/include/absl/log/internal/log_message.h:334:3: note:   candidate expects 2 arguments, 3 provided
/usr/include/absl/strings/cord.h: In instantiation of 'H absl::lts_20230125::Cord::HashFragmented(H) const [with H = absl::lts_20230125::hash_internal::MixingHashState]':
/usr/include/absl/strings/cord.h:762:28:   required from 'H absl::lts_20230125::AbslHashValue(H, const Cord&) [with H = hash_internal::MixingHashState]'
/usr/include/absl/hash/internal/hash.h:871:27:   required from 'static absl::lts_20230125::enable_if_t<std::is_same<H, decltype (absl::lts_20230125::hash_internal::AbslHashValue(std::move(state), value))>::value, H> absl::lts_20230125::hash_internal::HashSelect::HashValueProbe::Invoke(H, const T&) [with H = absl::lts_20230125::hash_internal::MixingHashState; T = absl::lts_20230125::Cord; absl::lts_20230125::enable_if_t<std::is_same<H, decltype (absl::lts_20230125::hash_internal::AbslHashValue(std::move(state), value))>::value, H> = absl::lts_20230125::hash_internal::MixingHashState; decltype (absl::lts_20230125::hash_internal::AbslHashValue(std::move(state), value)) = absl::lts_20230125::hash_internal::MixingHashState]'
/usr/include/absl/hash/internal/hash.h:1241:73:   required from 'static H absl::lts_20230125::hash_internal::HashStateBase<H>::combine(H, const T&, const Ts& ...) [with T = absl::lts_20230125::Cord; Ts = {}; H = absl::lts_20230125::hash_internal::MixingHashState]'
/usr/include/absl/hash/internal/hash.h:978:39:   required from 'static size_t absl::lts_20230125::hash_internal::MixingHashState::hash(const T&) [with T = absl::lts_20230125::Cord; typename std::enable_if<(! absl::lts_20230125::conjunction<std::is_integral<_Tp>, absl::lts_20230125::hash_internal::is_uniquely_represented<T, void> >::value), int>::type <anonymous> = 0; size_t = long unsigned int]'
/usr/include/absl/hash/internal/hash.h:1230:33:   required from 'size_t absl::lts_20230125::hash_internal::HashImpl<T>::operator()(const T&) const [with T = absl::lts_20230125::Cord; size_t = long unsigned int]'
/usr/include/absl/container/internal/hash_function_defaults.h:77:36:   required from here
/usr/include/absl/strings/cord.h:999:18: error: cannot convert 'absl::lts_20230125::Cord::HashFragmented<absl::lts_20230125::hash_internal::MixingHashState>(absl::lts_20230125::hash_internal::MixingHashState) const::<lambda(int)>' to 'int'
  999 |     ForEachChunk([&combiner, &hash_state](absl::string_view chunk) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  |
      |                  absl::lts_20230125::Cord::HashFragmented<absl::lts_20230125::hash_internal::MixingHashState>(absl::lts_20230125::hash_internal::MixingHashState) const::<lambda(int)>
 1000 |       hash_state = combiner.add_buffer(std::move(hash_state), chunk.data(),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1001 |                                        chunk.size());
      |                                        ~~~~~~~~~~~~~~
 1002 |     });
      |     ~             
/usr/include/absl/strings/cord.h:1564:48: note:   initializing argument 1 of 'void absl::lts_20230125::Cord::ForEachChunk(int) const'
 1564 |     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:1645: ext/libclementine-remote/CMakeFiles/libclementine-remote.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: clementine-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
clementine - exit status 4

Any ideas?

Thanks in advance

1 Like

The last release was 2016, so it’s expected to break at some point.

You should migrate to an alternative. The AUR comments suggest strawberry (which is the repos)

2 Likes

Any update?

There is nothing more to say.

1 Like

If you still want Clementine rather than Strawberry, Maybe try clementine-git, as clementine is orphaned.

This. Strawberry is actively maintained.

1 Like

The AUR package does now build. I’d still recommend switching the strawberry as clementine may not be around for too much longer.

well then mark your thread as solved to close it.

I switched to strawberry. It is good but clementine has a harmonious interface. On the other hand, strawberry works fine.