Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830437 - app-emulation/aranym-1.1.0 fails to compile: gencpu.c:757: undefined reference to memcpy@GLIBC_2.2.5
Summary: app-emulation/aranym-1.1.0 fails to compile: gencpu.c:757: undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-02 07:24 UTC by Agostino Sarubbo
Modified: 2022-04-16 14:37 UTC (History)
0 users

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


Attachments
build.log (build.log,60.54 KB, text/plain)
2022-01-02 07:24 UTC, Agostino Sarubbo
Details
Patch to fix Linux without glibc (aranym-1.1.0-libcwrap.patch,1.55 KB, patch)
2022-01-02 09:39 UTC, James Le Cuirot
Details | Diff
Patch to fix Linux without glibc (aranym-1.1.0-libcwrap.patch,1.55 KB, patch)
2022-01-02 09:49 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-02 07:24:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/aranym-1.1.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-02 07:24:03 UTC
Created attachment 761054 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-02 07:24:04 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/app-emulation/aranym-1.1.0/work/aranym-1.1.0/src/uae_cpu/gencpu.c:757: undefined reference to `memcpy@GLIBC_2.2.5'
collect2: error: ld returned 1 exit status
Comment 3 James Le Cuirot gentoo-dev 2022-01-02 09:39:05 UTC
Created attachment 761058 [details, diff]
Patch to fix Linux without glibc

Please could you try this patch. If it works, I'll take it upstream.
Comment 4 James Le Cuirot gentoo-dev 2022-01-02 09:49:00 UTC
Created attachment 761059 [details, diff]
Patch to fix Linux without glibc
Comment 5 Larry the Git Cow gentoo-dev 2022-04-16 14:37:29 UTC
The bug has been closed via the following commit(s):

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

commit e8ba90674eb9321d64f79d341b7aede07c5a8bd5
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2022-04-16 14:37:06 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-04-16 14:37:06 +0000

    app-emulation/aranym: Patch to fix musl build
    
    Closes: https://bugs.gentoo.org/830437
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 app-emulation/aranym/aranym-1.1.0.ebuild           |  1 +
 .../aranym/files/aranym-1.1.0-libcwrap.patch       | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)