Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904680 - dev-lang/rust-1.68.2 - cmake: symbol lookup error: cmake: undefined symbol: _ZSt4cout, version GLIBCXX_3.4.31
Summary: dev-lang/rust-1.68.2 - cmake: symbol lookup error: cmake: undefined symbol: _...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-19 19:42 UTC by Toralf Förster
Modified: 2023-04-19 22:03 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.66 KB, text/plain)
2023-04-19 19:42 UTC, Toralf Förster
Details
dev-lang:rust-1.68.2:20230419-194027.log.bz2 (dev-lang:rust-1.68.2:20230419-194027.log.bz2,57.84 KB, application/x-bzip)
2023-04-19 19:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,14.33 KB, text/plain)
2023-04-19 19:42 UTC, Toralf Förster
Details
environment (environment,170.76 KB, text/plain)
2023-04-19 19:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.21 KB, application/x-bzip)
2023-04-19 19:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.44 KB, application/x-bzip)
2023-04-19 19:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,96.74 KB, application/x-bzip)
2023-04-19 19:42 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 2023-04-19 19:42:45 UTC
too long lines were shrinked:

CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "/var/tmp/portage/dev-lang/rust-1.68.2/work/rustc-1.68.2-src/src/llvm-project/llvm" "-G" "Ninja" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_ENABLE_PLUGINS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "
cmake: symbol lookup error: cmake: undefined symbol: _ZSt4cout, version GLIBCXX_3.4.31
thread 'main' panicked at '
command did not execute successfully, got: exit status: 127

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20230419-115004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.68.2 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit b4e0b91343eccd627076b270044d6cb7815efeff
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 19 19:16:58 2023 +0000

    2023-04-19 19:16:57 UTC

emerge -qpvO dev-lang/rust
[ebuild   R   ] dev-lang/rust-1.68.2  USE="rustfmt -clippy -debug -dist -doc (-llvm-libunwind) (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -system-bootstrap -system-llvm -test -verify-sig -wasm" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore"
Comment 1 Toralf Förster gentoo-dev 2023-04-19 19:42:46 UTC
Created attachment 860403 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-19 19:42:47 UTC
Created attachment 860404 [details]
dev-lang:rust-1.68.2:20230419-194027.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-04-19 19:42:48 UTC
Created attachment 860405 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-04-19 19:42:50 UTC
Created attachment 860406 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-04-19 19:42:51 UTC
Created attachment 860407 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-19 19:42:52 UTC
Created attachment 860408 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-19 19:42:53 UTC
Created attachment 860409 [details]
temp.tar.bz2
Comment 8 Georgy Yakovlev archtester gentoo-dev 2023-04-19 20:26:29 UTC
looks like problem with cmake itself, not rust?

maybe try re-building cmake after updating to sys-devel/gcc-13.0.1_pre20230419-r1
Comment 9 Georgy Yakovlev archtester gentoo-dev 2023-04-19 22:03:22 UTC
like I mentioned on IRC - if cmake fails to rebuild cmake - remove it completely with emerge -C
this way new installation of cmake bootstraps without using system installed one, takes longer but unlikely to crash same way.