Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 699102 Details for
Bug 712626
dev-lisp/sbcl-2.0.1: fails to compile on musl (/.../run-sbcl.sh:line <snip>: /.../sbcl: No such file or directory)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sbcl-musl-fix
sbcl-2.0.10.ebuild.patch (text/plain), 1.47 KB, created by
Jake Lilly
on 2021-04-11 00:42:45 UTC
(
hide
)
Description:
sbcl-musl-fix
Filename:
MIME Type:
Creator:
Jake Lilly
Created:
2021-04-11 00:42:45 UTC
Size:
1.47 KB
patch
obsolete
>diff --git a/dev-lisp/sbcl/sbcl-2.0.10.ebuild b/dev-lisp/sbcl/sbcl-2.0.10.ebuild >index 3f951d3..7df212d 100644 >--- a/dev-lisp/sbcl/sbcl-2.0.10.ebuild >+++ b/dev-lisp/sbcl/sbcl-2.0.10.ebuild >@@ -40,7 +40,8 @@ SLOT="0/${PV}" > KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" > IUSE="debug doc source +threads +unicode pax_kernel zlib" > >-CDEPEND=">=dev-lisp/asdf-3.3:=" >+CDEPEND=">=dev-lisp/asdf-3.3:= >+ elibc_musl? ( >=dev-lisp/ecls-20.4.24 )" > DEPEND="${CDEPEND} > doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 ) > pax_kernel? ( sys-apps/elfix )" >@@ -162,13 +163,21 @@ src_compile() { > "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime" > fi > >+ # Use ecl to bootstrap instead of the binary, if using musl. >+ # ecl needs to be built and installed first. >+ if use elibc_musl ; then >+ local bootstrap_sbcl="ecl" >+ else >+ local bootstrap_sbcl="sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" >+ fi >+ > # clear the environment to get rid of non-ASCII strings, see bug #174702 > # set HOME for paludis > env - HOME="${T}" PATH="${PATH}" \ > CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ > CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ > GNUMAKE=make ./make.sh \ >- "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ >+ "${bootstrap_sbcl}" \ > || die "make failed" > > # need to set HOME because libpango(used by graphviz) complains about it
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 712626
:
619374
|
619376
|
619378
|
619380
|
619382
|
619384
| 699102