Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889726 - media-sound/clementine-1.4.0_rc2 fails to compile with undefined reference to google::protobuf error
Summary: media-sound/clementine-1.4.0_rc2 fails to compile with undefined reference t...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-04 16:21 UTC by Mark-Joe
Modified: 2023-01-05 20:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=media-sound/clementine-1.4.0_rc2::gentoo' (emergeinfo.txt,9.29 KB, text/plain)
2023-01-04 16:21 UTC, Mark-Joe
Details
build log (clementine-build-log.txt,210.44 KB, text/plain)
2023-01-05 14:58 UTC, Mark-Joe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark-Joe 2023-01-04 16:21:21 UTC
Created attachment 847238 [details]
emerge --info '=media-sound/clementine-1.4.0_rc2::gentoo'

Compilation of media-sound/clementine-1.4.0_rc2 results in a failure with error undefined reference to 'google::protobuf::internal::ArenaStringPtr::Set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, google::protobuf::Arena*)'

Compilation with changed USE flags did not help, re-installation of 
dev-libs/protobuf did not help either.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-05 08:29:35 UTC
Please always attach the full build.log.
Comment 2 Mark-Joe 2023-01-05 14:58:48 UTC
Created attachment 847324 [details]
build log
Comment 3 Viorel Munteanu gentoo-dev 2023-01-05 15:51:03 UTC
Can you try media-sound/clementine-1.4.0_rc2-r2?

If it still doesn't work, please attach a full build.log and the output of emerge --info
Comment 4 Alexey 2023-01-05 19:41:57 UTC
-- Found Protobuf: /usr/local/lib/libprotobuf.so (found version "3.21.9") 

Note the /usr/local in it. How/why did you install protobuf there?
Comment 5 Mark-Joe 2023-01-05 20:17:35 UTC
emerge (In reply to Alexey from comment #4)
> -- Found Protobuf: /usr/local/lib/libprotobuf.so (found version "3.21.9") 
> 
> Note the /usr/local in it. How/why did you install protobuf there?

libprotobuf.so was installed with emerge dev-libs/protobuf 
and it was installed in /usr/lib64/
Comment 6 Alexey 2023-01-05 20:21:37 UTC
Remove the one from /usr/local
Comment 7 Mark-Joe 2023-01-05 20:52:53 UTC
compilation of media-sound/clementine-1.4.0_rc2-r2 with the protobuf libs in /usr/local/lib removed worked, thanks