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

Bug 928627

Summary: games-strategy/ja2-stracciatella-0.21.0 fails to compile: util_libc.rs:117:(.text._ZN9getrandom9getrandom17h056e21e14da38d0fE+0x1c5): undefined reference to open64
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Misanthropos <misanthropos>
Status: CONFIRMED ---    
Severity: normal CC: games, misanthropos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-04-05 07:42:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/ja2-stracciatella-0.21.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-05 07:42:03 UTC
Created attachment 889503 [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-04-05 07:42:04 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/games-strategy/ja2-stracciatella-0.21.0/work/cargo_home/gentoo/getrandom-0.2.6/src/util_libc.rs:117:(.text._ZN9getrandom9getrandom17h056e21e14da38d0fE+0x231): undefined reference to `open64'
/var/tmp/portage/games-strategy/ja2-stracciatella-0.21.0/work/cargo_home/gentoo/getrandom-0.2.6/src/util_libc.rs:117:(.text._ZN9getrandom9getrandom17h056e21e14da38d0fE+0x1c5): undefined reference to `open64'
FAILED: ja2 
fatal: not a git repository (or any parent up to mount point /var/tmp)
collect2: error: ld returned 1 exit status
Comment 3 Misanthropos 2024-04-06 11:35:43 UTC
As mentioned in https://github.com/ja2-stracciatella/ja2-stracciatella/issues/1968
this seems to be related to getrandom-0.2.6 cargo package.
It should be fixed with coming release of ja2-stracciatella.