Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923901 - games-rpg/rpg-cli-1.0.1 fails to compile: util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hcc7b862321290811E+0x4a): undefined reference to open64
Summary: games-rpg/rpg-cli-1.0.1 fails to compile: util_libc.rs:110:(.text._ZN9getrand...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2024-02-06 09:16 UTC by Agostino Sarubbo
Modified: 2024-02-15 13:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,115.45 KB, text/plain)
2024-02-06 09:16 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-02-06 09:16:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-rpg/rpg-cli-1.0.1 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-02-06 09:16:30 UTC
Created attachment 884338 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-06 09:16:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


          /var/tmp/portage/games-rpg/rpg-cli-1.0.1/work/cargo_home/gentoo/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hcc7b862321290811E+0x4a): undefined reference to `open64'
error: linking with `cc` failed: exit status: 1
Comment 3 Larry the Git Cow gentoo-dev 2024-02-15 13:17:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3b8266ccf91538b9b9a8d337d520c3c906984a

commit 5e3b8266ccf91538b9b9a8d337d520c3c906984a
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2024-02-10 22:17:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-15 13:17:10 +0000

    games-rpg/rpg-cli: fix build with musl 1.2.4
    
    Closes: https://bugs.gentoo.org/923901
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../rpg-cli/files/getrandom-0.2.3-open64.patch     | 27 ++++++++++++++++++++++
 games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild             | 10 +++++++-
 2 files changed, 36 insertions(+), 1 deletion(-)