Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929072

Summary: dev-util/wachy-0.1.0_alpha6-r1 - wachy.fa6feb1fd05c5f15-cgu.02:(<snip>) undefined reference to open64
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: chutzpah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: emerge-info.txt
dev-util:wachy-0.1.0_alpha6-r1:20240409-211828.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-10 18:01:31 UTC
too long lines were shrinked:

   Compiling wachy v0.1.0-alpha.6 (/var/tmp/portage/dev-util/wachy-0.1.0_alpha6-r1/work/wachy-0.1.0-alpha.6)
     Running `rustc --crate-name wachy --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=80de2e3a27c1b52c -C extra-filename=-80de2e3a27c1b52c --out-dir /var/tmp/portage/dev-
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/opt/rust-bin-1.77.1/lib/rustlib/x86_64-unknown-linux-musl/bin:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/18/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/l
  = note: /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/dev-util/wachy-0.1.0_alpha6-r1/work/wachy-0.1.0-alpha.6/target/release/deps/wachy-80de2e3a27c1b52c.wachy.fa6feb1fd05c5f15-cgu.02.rcgu.o: in function `getrandom::getrandom':
          wachy.fa6feb1fd05c5f15-cgu.02:(.text._ZN9getrandom9getrandom17h13c804d3dfdd9215E+0x193): undefined reference to `open64'
          /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: wachy.fa6feb1fd05c5f15-cgu.02:(.text._ZN9getrandom9getrandom17h13c804d3dfdd9215E+0x235): undefined reference to `open64'
          collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240406-125502

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 704e0489014ecd1257e3dd8f7b8117c632630f89
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 9 20:19:16 2024 +0000

    2024-04-09 20:19:15 UTC

emerge -qpvO dev-util/wachy
[ebuild  N    ] dev-util/wachy-0.1.0_alpha6-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-04-10 18:01:32 UTC
Created attachment 890180 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-10 18:01:33 UTC
Created attachment 890181 [details]
dev-util:wachy-0.1.0_alpha6-r1:20240409-211828.log
Comment 3 Toralf Förster gentoo-dev 2024-04-10 18:01:35 UTC
Created attachment 890182 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-10 18:01:36 UTC
Created attachment 890183 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-10 18:01:37 UTC
Created attachment 890184 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-10 18:01:38 UTC
Created attachment 890185 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-10 18:01:39 UTC
Created attachment 890186 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-10 18:01:39 UTC
Created attachment 890187 [details]
temp.tar.xz