commit:     e30902683407cc5e45e35458e34ce5acdc240e0a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 22:37:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 22:38:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3090268

sys-libs/musl: disable verify-sig for cross-compile for now

I get an IPC error on verification in cross.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/musl/musl-1.2.2-r8.ebuild | 3 ++-
 sys-libs/musl/musl-1.2.3.ebuild    | 3 ++-
 sys-libs/musl/musl-9999.ebuild     | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-libs/musl/musl-1.2.2-r8.ebuild 
b/sys-libs/musl/musl-1.2.2-r8.ebuild
index 0f071f2ac487..26ac4bb3ec3b 100644
--- a/sys-libs/musl/musl-1.2.2-r8.ebuild
+++ b/sys-libs/musl/musl-1.2.2-r8.ebuild
@@ -71,7 +71,8 @@ src_unpack() {
        elif use verify-sig ; then
                # We only verify the release; not the additional (fixed, safe) 
files
                # we download.
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+               # (Seem to get IPC error on verifying in cross?)
+               ! is_crosscompile && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.gz{,.asc}
        fi
 
        default

diff --git a/sys-libs/musl/musl-1.2.3.ebuild b/sys-libs/musl/musl-1.2.3.ebuild
index f478bd448468..ffc41fe31d84 100644
--- a/sys-libs/musl/musl-1.2.3.ebuild
+++ b/sys-libs/musl/musl-1.2.3.ebuild
@@ -72,7 +72,8 @@ src_unpack() {
        elif use verify-sig ; then
                # We only verify the release; not the additional (fixed, safe) 
files
                # we download.
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+               # (Seem to get IPC error on verifying in cross?)
+               ! is_crosscompile && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.gz{,.asc}
        fi
 
        default

diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index 0f071f2ac487..26ac4bb3ec3b 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -71,7 +71,8 @@ src_unpack() {
        elif use verify-sig ; then
                # We only verify the release; not the additional (fixed, safe) 
files
                # we download.
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+               # (Seem to get IPC error on verifying in cross?)
+               ! is_crosscompile && verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.gz{,.asc}
        fi
 
        default

Reply via email to