Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939018 - sci-libs/caffe2-2.4.0-r1 fails to compile: ld: libonnx_proto.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > absl::lts_20240116::log_internal::MakeCheckOpString<void const, void const>(void const
Summary: sci-libs/caffe2-2.4.0-r1 fails to compile: ld: libonnx_proto.so: undefined re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 06:40 UTC by Agostino Sarubbo
Modified: 2024-09-04 16:16 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,89.99 KB, application/x-xz)
2024-09-04 06:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-04 06:40:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-2.4.0-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-04 06:40:20 UTC
Created attachment 902003 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-04 06:40:21 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could not find hardware support for NEON on this machine.
-- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) 
FAILED: bin/torch_shm_manager 
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx_proto.so: undefined reference to `absl::lts_20240116::log_internal::LogMessageFatal::~LogMessageFatal()'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx_proto.so: undefined reference to `absl::lts_20240116::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20240116::string_view)'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx_proto.so: undefined reference to `google::protobuf::internal::LookUpEnumValue(google::protobuf::internal::EnumEntry const*, unsigned long, absl::lts_20240116::string_view, int*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx_proto.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >* absl::lts_20240116::log_internal::MakeCheckOpString<long, long>(long, long, char const*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx_proto.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >* absl::lts_20240116::log_internal::MakeCheckOpString<void const*, void const*>(void const*, void const*, char const*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libonnx.so: undefined reference to `google::protobuf::internal::ArenaStringPtr::Set(absl::lts_20240116::string_view, google::protobuf::Arena*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libabsl_log_internal_check_op.so.2401.0.0, needed by /usr/lib64/libonnx_proto.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libabsl_log_internal_message.so.2401.0.0, needed by /usr/lib64/libonnx_proto.so, not found (try using -rpath or -rpath-link)
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2024-09-04 16:16:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81812c1f82f324843c383eda80c30f495ebfe50

commit a81812c1f82f324843c383eda80c30f495ebfe50
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-09-04 16:15:05 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-09-04 16:15:36 +0000

    sci-libs/onnx: rdepend on abseil-cpp:=
    
    Closes: https://bugs.gentoo.org/939018
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/onnx/Manifest                             |  1 -
 ...onnx-1.16.0-r1.ebuild => onnx-1.16.1-r1.ebuild} |  4 +-
 sci-libs/onnx/onnx-1.16.1.ebuild                   | 71 ----------------------
 3 files changed, 2 insertions(+), 74 deletions(-)