commit:     3b79df310666aa62c02249c5681cf7815b3132b0
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Jun  3 02:42:17 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 02:57:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b79df31

sys-libs/musl: skip static-pie linked utils from runtime test as well

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://github.com/gentoo/gentoo/pull/42418
Closes: https://github.com/gentoo/gentoo/pull/42418
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/musl/musl-1.2.5-r3.ebuild | 1 +
 sys-libs/musl/musl-9999.ebuild     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys-libs/musl/musl-1.2.5-r3.ebuild 
b/sys-libs/musl/musl-1.2.5-r3.ebuild
index dc66ad572b91..89ff4c509940 100644
--- a/sys-libs/musl/musl-1.2.5-r3.ebuild
+++ b/sys-libs/musl/musl-1.2.5-r3.ebuild
@@ -224,6 +224,7 @@ musl_sanity_check() {
                striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) || continue
                case ${striptest} in
                *"statically linked"*) continue;;
+               *"static-pie linked"*) continue;;
                *"ASCII text"*) continue;;
                esac
                # We need to clear the locale settings as the upgrade might want

diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index b72b6ab4eafa..0971b7d9133c 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -218,6 +218,7 @@ musl_sanity_check() {
                striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) || continue
                case ${striptest} in
                *"statically linked"*) continue;;
+               *"static-pie linked"*) continue;;
                *"ASCII text"*) continue;;
                esac
                # We need to clear the locale settings as the upgrade might want

Reply via email to