Bug ID 1222343
Summary protobuf linking issue
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware x86-64
OS openSUSE Leap 15.5
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter jonaski@opensuse.org
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Recently, I'm getting several linking errors while building strawberry on leap.

Full log can be seen on
https://build.opensuse.org/package/show/multimedia:apps/strawberry

This happened a few weeks ago, and it seem to be the same issue on both Leap
15.5 and 15.6, it is not an issue on Tumbleweed or any other linux distribution
(Fedora, Debian and Ubuntu builds fine). I suspect an issue with the protobuf
library on Leap.

From the build log:

[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
CMakeFiles/strawberry-tagreader.dir/tagreaderworker.cpp.o: in function
`google::protobuf::internal::ArenaStringPtr::SetBytes(void const*, unsigned
long, google::protobuf::Arena*)':
[   76s] /usr/include/google/protobuf/arenastring.h:495:(.text+0x44e):
undefined reference to
`google::protobuf::internal::ArenaStringPtr::Set(absl::lts_20240116::string_view,
google::protobuf::Arena*)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadertaglib.cpp.o):
in function `google::protobuf::internal::ArenaStringPtr::Set(char const*,
unsigned long, google::protobuf::Arena*)':
[   76s] /usr/include/google/protobuf/arenastring.h:470:(.text+0x9935):
undefined reference to
`google::protobuf::internal::ArenaStringPtr::Set(absl::lts_20240116::string_view,
google::protobuf::Arena*)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
/usr/include/google/protobuf/arenastring.h:470:(.text+0x9976): undefined
reference to
`google::protobuf::internal::ArenaStringPtr::Set(absl::lts_20240116::string_view,
google::protobuf::Arena*)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):
in function `spb::tagreader::SongMetadata::GetMetadata() const':
[   76s]
/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:2565:(.text+0x1886):
undefined reference to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):
in function `spb::tagreader::IsMediaFileRequest::GetMetadata() const':
[   76s]
/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:2769:(.text+0x18a6):
undefined reference to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):
in function `spb::tagreader::IsMediaFileResponse::GetMetadata() const':
[   76s]
/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:3007:(.text+0x18c6):
undefined reference to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):
in function `spb::tagreader::ReadFileRequest::GetMetadata() const':
[   76s]
/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:3211:(.text+0x18e6):
undefined reference to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):
in function `spb::tagreader::ReadFileResponse::GetMetadata() const':
[   76s]
/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:3463:(.text+0x1906):
undefined reference to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)'
[   76s]
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
../libstrawberry-tagreader/liblibstrawberry-tagreader.a(tagreadermessages.pb.cc.o):/home/abuild/rpmbuild/BUILD/strawberry-1.0.23/build/ext/libstrawberry-tagreader/tagreadermessages.pb.cc:3939:
more undefined references to
`google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable
const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata
const&)' follow
[   76s] collect2: error: ld returned 1 exit status


You are receiving this mail because: