Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941444 - dev-libs/ncnn-20240820 - [libtool] [llvm] ld.lld: error: undefined symbol: google::protobuf::io::IstreamInputStream::IstreamInputStream(std::_1::basic_istream<char, std::
Summary: dev-libs/ncnn-20240820 - [libtool] [llvm] ld.lld: error: undefined symbol: go...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 09:10 UTC by Toralf Förster
Modified: 2024-10-13 09:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.81 KB, text/plain)
2024-10-13 09:10 UTC, Toralf Förster
Details
dev-libs:ncnn-20240820:20241013-003129.log.xz (dev-libs:ncnn-20240820:20241013-003129.log.xz,23.82 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,178.46 KB, text/plain)
2024-10-13 09:10 UTC, Toralf Förster
Details
environment (environment,111.06 KB, text/plain)
2024-10-13 09:10 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.65 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.14 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.51 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.35 KB, application/x-xz)
2024-10-13 09:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-10-13 09:10:07 UTC
too long lines were shrinked:

[1144/1155] : && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tools/CMakeFiles/ncnn2mem.dir/ncnn2mem.cpp.o -o tools/ncnn2mem  -Wl,-rpath,/var/tmp/po
[1145/1155] : && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tools/CMakeFiles/ncnnoptimize.dir/ncnnoptimize.cpp.o -o tools/ncnnoptimize  -Wl,-rpath
[1146/1155] : && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tools/CMakeFiles/ncnnmerge.dir/ncnnmerge.cpp.o -o tools/ncnnmerge   && :
[1147/1155] : && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tools/caffe/CMakeFiles/caffe2ncnn.dir/caffe2ncnn.cpp.o tools/caffe/CMakeFiles/caffe2nc
FAILED: tools/caffe/caffe2ncnn 
: && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tools/caffe/CMakeFiles/caffe2ncnn.dir/caffe2ncnn.cpp.o tools/caffe/CMakeFiles/caffe2ncnn.dir/caffe
ld.lld: error: undefined symbol: google::protobuf::io::IstreamInputStream::IstreamInputStream(std::__1::basic_istream<char, std::__1::char_traits<char>>*, int)
>>> referenced by caffe2ncnn.cpp
>>>               tools/caffe/CMakeFiles/caffe2ncnn.dir/caffe2ncnn.cpp.o:(main)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20241010-060009

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 19.1.1+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1+libcxx
Python 3.12.7
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 9ae001046d23f623f2cd79411c8b464fb2ef978f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 12 23:03:24 2024 +0000

    2024-10-12 23:03:23 UTC

emerge -qpvO =dev-libs/ncnn-20240820
[ebuild  N    ] dev-libs/ncnn-20240820  USE="openmp tools vulkan"
Comment 1 Toralf Förster gentoo-dev 2024-10-13 09:10:08 UTC
Created attachment 905454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-13 09:10:09 UTC
Created attachment 905455 [details]
dev-libs:ncnn-20240820:20241013-003129.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-13 09:10:10 UTC
Created attachment 905456 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-13 09:10:11 UTC
Created attachment 905457 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-13 09:10:12 UTC
Created attachment 905458 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-13 09:10:13 UTC
Created attachment 905459 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-13 09:10:14 UTC
Created attachment 905460 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-13 09:10:15 UTC
Created attachment 905461 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-13 09:10:16 UTC
Created attachment 905462 [details]
var.tmp.clang.tar.xz