Summary: | dev-lisp/sbcl-2.0.1: fails to compile on musl (/.../run-sbcl.sh:line <snip>: /.../sbcl: No such file or directory) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ago, common-lisp, lillyjsm |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=837746 https://github.com/gentoo/gentoo/pull/28507 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
emerge-info.txt
dev-lisp:sbcl-2.0.1:20200315-002752.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 sbcl-musl-fix |
Description
Toralf Förster
2020-03-15 09:26:58 UTC
Created attachment 619374 [details]
emerge-info.txt
Created attachment 619376 [details]
dev-lisp:sbcl-2.0.1:20200315-002752.log
Created attachment 619378 [details]
emerge-history.txt
Created attachment 619380 [details]
environment
Created attachment 619382 [details]
etc.portage.tbz2
Created attachment 619384 [details]
temp.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay. I ran into this recently, and I noticed the binary used in the compile phase complains of a missing fcntl64 symbol when using musl. I was able to work around this in my own overlay by using ecl to compile sbcl, instead of the binary. I'm not all that familiar with lisp, so not sure if its the best way or not. I will add an attachment to show the diff in the ebuild I used. ldd /var/tmp/portage/dev-lisp/sbcl-2.0.10/work/sbcl-binary/src/runtime/sbcl: /lib64/ld-linux-x86-64.so.2 (0x7f04280fa000) libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f04280fa000) libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f04280fa000) libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f04280fa000) libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f04280fa000) Error relocating src/runtime/sbcl: fcntl64: symbol not found Created attachment 699102 [details, diff]
sbcl-musl-fix
*** Bug 828937 has been marked as a duplicate of this bug. *** The upstream does not support musl. As a workaround, one may try to use clisp or ecl as a bootstrap lisp. But I don't think it's a Gentoo's job to automate this workaround. Maybe package.mask sbcl in the musl profile? (In reply to Ulrich Müller from comment #12) > Maybe package.mask sbcl in the musl profile? Yes, I think it's the right solution. (In reply to Andrey Grozin from comment #11) > The upstream does not support musl. Is there any link to upstream which acknowledges it? Cross-reference would be beneficial for anyone who would like to dig into it. (In reply to Petr Vaněk from comment #14) > Is there any link to upstream which acknowledges it? Cross-reference would > be beneficial for anyone who would like to dig into it. https://www.sbcl.org/platform-table.html: The Linux binaries might require a recent glibc, but building from source isn't dependent on a particular glibc version The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b85f868ada94c2372c646c69f8cc257287dda7 commit 07b85f868ada94c2372c646c69f8cc257287dda7 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2022-12-02 07:42:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-03 08:05:25 +0000 profiles/features/musl: reference dev-lisp/sbcl bug Cross-reference the dev-lisb/sbcl mask with bug in b.g.o. Bug: https://bugs.gentoo.org/712626 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/28507 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) *** Bug 830435 has been marked as a duplicate of this bug. *** |