summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-11-25 08:27:20 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-02 00:24:17 +0100
commit9629083d7b4571de1d17548e90854346a277dcd4 (patch)
tree66e9becd611f320f1168c6bb57c2d9dddf6190e9 /profiles
parentsys-apps/portage: Remove old version 2.3.66-r1 (diff)
downloadgentoo-9629083d7b4571de1d17548e90854346a277dcd4.tar.gz
gentoo-9629083d7b4571de1d17548e90854346a277dcd4.tar.bz2
gentoo-9629083d7b4571de1d17548e90854346a277dcd4.zip
app-shells/mksh: USE=static now uses the system libc
Which means that glibc needs to be masked as it's static-linking is broken. I considered dietlibc as a replacement to klibc but: - dietlibc is maintained-needed too - it could be a elibc_glibc? in DEPEND but this would probably be a noblah USE flag - it would mean that arches where mksh is believed to work and some of our libc do but not dietlibc or klibc (like alpha with bug #487672) would be prevented from USE=static Closes: https://bugs.gentoo.org/653388 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/base/package.use.mask4
-rw-r--r--profiles/features/musl/package.use.mask3
-rw-r--r--profiles/features/uclibc/package.use.mask3
3 files changed, 10 insertions, 0 deletions
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index e5768830f1eb..68213dc90544 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -7,6 +7,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# Haelwenn (lanodan) Monnier <contact@hacktivis.me> (2019-12-01)
+# broken static-linking in glibc and maybe others
+>app-shells/mksh-57-r1 static
+
# Andreas Sturmlechner <asturm@gentoo.org> (2019-11-30)
# Depends on about-to-be-last-rited media-libs/mediastreamer
kde-apps/kopete jingle
diff --git a/profiles/features/musl/package.use.mask b/profiles/features/musl/package.use.mask
index e8ef0ab07a3e..117568e0a6bd 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -20,3 +20,6 @@ app-shells/bash mem-scramble
# lto builds are known to cause an OOM issue during build.
mail-client/thunderbird lto
www-client/firefox lto
+
+# static linking works with musl
+app-shells/mksh -static
diff --git a/profiles/features/uclibc/package.use.mask b/profiles/features/uclibc/package.use.mask
index eb7b5dc02161..b00ae69a84ab 100644
--- a/profiles/features/uclibc/package.use.mask
+++ b/profiles/features/uclibc/package.use.mask
@@ -22,3 +22,6 @@ dev-util/geany-plugins gtkspell
# 'append-libs', but xfsdump's build system doesn't honor $LIBS.
# So this is the best way for now. See 570548.
sys-fs/xfsdump nls
+
+# static linking works with uClibc
+app-shells/mksh -static