Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928627 - games-strategy/ja2-stracciatella-0.21.0 fails to compile: util_libc.rs:117:(.text._ZN9getrandom9getrandom17h056e21e14da38d0fE+0x1c5): undefined reference to open64
Summary: games-strategy/ja2-stracciatella-0.21.0 fails to compile: util_libc.rs:117:(....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Misanthropos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2024-04-05 07:42 UTC by Agostino Sarubbo
Modified: 2024-04-06 11:35 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,36.29 KB, application/x-xz)
2024-04-05 07:42 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-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.