diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-25 16:21:06 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-25 16:21:34 +0100 |
commit | e114143d342fb2a6fbdce93eac3484af8ad9f1e8 (patch) | |
tree | 4186d1fe6e051633e03cbdedec629bb761ae3c0d /app-arch/libarchive | |
parent | app-admin/pwman3: Enable py3.12 (diff) | |
download | gentoo-e114143d342fb2a6fbdce93eac3484af8ad9f1e8.tar.gz gentoo-e114143d342fb2a6fbdce93eac3484af8ad9f1e8.tar.bz2 gentoo-e114143d342fb2a6fbdce93eac3484af8ad9f1e8.zip |
app-arch/libarchive: Workaround lrzip bug on 32-bit arch tests
Bug: https://bugs.gentoo.org/927766
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r-- | app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild b/app-arch/libarchive/libarchive-3.7.2-r2.ebuild index 5ac9b253c240..490470469142 100644 --- a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild +++ b/app-arch/libarchive/libarchive-3.7.2-r2.ebuild @@ -138,6 +138,13 @@ src_test() { mkdir -p "${T}"/bin || die # tests fail when lbzip2[symlink] is used in place of ref bunzip2 ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die + # workaround lrzip broken on 32-bit arches with >= 10 threads + # https://bugs.gentoo.org/927766 + cat > "${T}"/bin/lrzip <<-EOF || die + #!/bin/sh + exec "$(type -P lrzip)" -p1 "\${@}" + EOF + chmod +x "${T}/bin/lrzip" || die local -x PATH=${T}/bin:${PATH} multilib-minimal_src_test } |