FS#73383 - [tensorflow] vendored protobuf conflicts with system one
Attached to Project:
Community Packages
Opened by Norbert Preining (npreining) - Monday, 17 January 2022, 00:33 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Opened by Norbert Preining (npreining) - Monday, 17 January 2022, 00:33 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
|
Details
Description:
digikam seems to be compiled with 3.9.2 of protobuf, while currently 3.19.2 is in the archive. This incompatibility triggers a crash/core dump at startup. See below for terminal output. Additional info: * package version: digikam 7.5.0-1, protobuf 3.19.2-1 * config and/or log files etc. Output of digikam on the console: $ digikam [libprotobuf FATAL google/protobuf/stubs/common.cc:83] This program was compiled against version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.19.2). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "bazel-out/k8-opt/bin/tensorflow/core/framework/tensor_shape.pb.cc".) terminate called after throwing an instance of 'google::protobuf::FatalException' what(): This program was compiled against version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.19.2). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "bazel-out/k8-opt/bin/tensorflow/core/framework/tensor_shape.pb.cc".) Aborted (core dumped) Steps to reproduce: Try to start digikam |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tensorflow/issues/1
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tensorflow/issues/1
digikam is /usr/bin/digikam
Should I debug/trace it?
(gdb) bt
#0 0x00007ffff51b4d22 in raise () at /usr/lib/libc.so.6
#1 0x00007ffff519e862 in abort () at /usr/lib/libc.so.6
#2 0x00007ffff53fa802 in __gnu_cxx::__verbose_terminate_handler() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007ffff5406c8a in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>)
at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#4 0x00007ffff5406cf7 in std::terminate() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5 0x00007ffff5406f8e in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*))
(obj=<optimized out>, tinfo=0x7fffe3f83a48 <typeinfo for google::protobuf::FatalException>, dest=0x7fffe3daa8d0 <google::protobuf::FatalException::~FatalException()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x00007fffe3d3f5d1 in () at /usr/lib/libprotobuf.so.30
#7 0x00007fffe3dae789 in google::protobuf::internal::VerifyVersion(int, int, char const*) () at /usr/lib/libprotobuf.so.30
#8 0x00007fff93b0e430 in () at /usr/lib/libtensorflow_framework.so.2
#9 0x00007fff93a45d86 in () at /usr/lib/libtensorflow_framework.so.2
#10 0x00007fff93a45d79 in () at /usr/lib/libtensorflow_framework.so.2
#11 0x00007fff93a45d79 in () at /usr/lib/libtensorflow_framework.so.2
#12 0x00007fff93a45d79 in () at /usr/lib/libtensorflow_framework.so.2
#13 0x00007fff93a45d79 in () at /usr/lib/libtensorflow_framework.so.2
#14 0x00007fff93a464d6 in google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*) ()
at /usr/lib/libtensorflow_framework.so.2
#15 0x00007fff93ad2a0d in tensorflow::KernelDef::KernelDef() () at /usr/lib/libtensorflow_framework.so.2
#16 0x00007fff9309d90b in tensorflow::KernelDefBuilder::KernelDefBuilder(char const*) () at /usr/lib/libtensorflow_framework.so.2
#17 0x00007fff93011c7f in () at /usr/lib/libtensorflow_framework.so.2
#18 0x00007ffff7fdce2e in call_init () at /lib64/ld-linux-x86-64.so.2
#19 0x00007ffff7fdcf1c in _dl_init () at /lib64/ld-linux-x86-64.so.2
#20 0x00007ffff7fce0ca in _dl_start_user () at /lib64/ld-linux-x86-64.so.2
#21 0x0000000000000001 in ()
#22 0x00007fffffffdaad in ()
#23 0x0000000000000000 in ()
(gdb)
My libavfilter.so.7 comes from ffmpeg-full (AUR) which was compiled locally (a few days ago).
Removing ffmpeg-full for ffmpeg itself and digikam worked.
Sorry for the noise.
I am rather new at arch and don't know what can be done here, but I guess there is nothing but recompiling ffmpeg-full from time to time.
Thanks
Lowering severity as there is no affected official package as far as I can see.
Let me know if I can do anything else (testing, compiling, whatever).