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: undefined reference to open64
Summary: games-strategy/ja2-stracciatella-0.21.0 fails to compile:
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Misanthropos
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: ---

build.log.xz (build.log.xz,36.29 KB, application/x-xz)
2024-04-05 07:42 UTC, Agostino Sarubbo

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

Issue: games-strategy/ja2-stracciatella-0.21.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-05 07:42:03 UTC
Created attachment 889503 [details]

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/ undefined reference to `open64'
/var/tmp/portage/games-strategy/ja2-stracciatella-0.21.0/work/cargo_home/gentoo/getrandom-0.2.6/src/ 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
this seems to be related to getrandom-0.2.6 cargo package.
It should be fixed with coming release of ja2-stracciatella.