commit: e114143d342fb2a6fbdce93eac3484af8ad9f1e8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Mar 25 15:21:06 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Mar 25 15:21:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e114143d
app-arch/libarchive: Workaround lrzip bug on 32-bit arch tests Bug: https://bugs.gentoo.org/927766 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 }
