From be5325508d65c252445fd1b9eb5504866db28759 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Sun, 4 Mar 2018 01:52:41 -0800 Subject: profiles/*/musl: package.use.mask app-shells/bash[mem-scramble] mem-scramble enables bash-malloc which relies on sbrk which is implemented as a fail-only stub in musl. Enabling it will break bash (and portage) horribly. xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) --- profiles/default/linux/musl/package.use.mask | 5 +++++ profiles/features/musl/package.use.mask | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/profiles/default/linux/musl/package.use.mask b/profiles/default/linux/musl/package.use.mask index 76e6603a6026..1d3c7789f416 100644 --- a/profiles/default/linux/musl/package.use.mask +++ b/profiles/default/linux/musl/package.use.mask @@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls # See bug #576928 media-libs/mesa nptl + +# bash-malloc relies on sbrk which is implemented +# as a fail-only stub in musl. breaks horribly if enabled. +# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) +app-shells/bash mem-scramble diff --git a/profiles/features/musl/package.use.mask b/profiles/features/musl/package.use.mask index 2c0a91e428ed..05d01c6e1e8b 100644 --- a/profiles/features/musl/package.use.mask +++ b/profiles/features/musl/package.use.mask @@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls # See bug #576928 media-libs/mesa nptl + +# bash-malloc relies on sbrk which is implemented +# as a fail-only stub in musl. breaks horribly if enabled. +# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) +app-shells/bash mem-scramble -- cgit v1.2.3-65-gdbad