Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 889726

Summary: media-sound/clementine-1.4.0_rc2 fails to compile with undefined reference to google::protobuf error
Product: Gentoo Linux Reporter: Mark-Joe <mjpflaum>
Component: Current packagesAssignee: Alexey <alexey+gentoo>
Status: RESOLVED INVALID    
Severity: normal CC: alexey+gentoo, proxy-maint, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=media-sound/clementine-1.4.0_rc2::gentoo'
build log

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