Hi, Am Donnerstag, 14. September 2023, 21:09:21 CEST schrieb Jonas Kvinge:
Hi,
strawberry (https://build.opensuse.org/package/show/openSUSE:Factory/strawberry) does not start for several days after recent a protobuf update:
/usr/bin/strawberry: symbol lookup error: /usr/bin/strawberry: undefined symbol: _ZN6google8protobuf8internal17AssignDescriptorsEPFPKNS1_15DescriptorTableEvEPN4absl12lts_202301259once_flagERKNS0_8MetadataE
https://bugzilla.opensuse.org/show_bug.cgi?id=1215227
Shouldn't a rebuild have been triggered here?
That only happens if the package has unresolvable runtime deps. This particular case happened because the version of abseil that protobuf was built with influenced its ABI. This means that just because abseil was updated, all users of protobuf need a rebuild. Now that this is known, it is possible to address this with package dependencies, but it's unfortunately not easy. One option would be to not use -Wl,--as-needed and "overlink", such that strawberry gains a direct runtime dependency on abseil, but that comes with other downsides. Cheers, Fabian
Jonas