Created attachment 894664 [details] build.log Builds ok with app-alternatives/tar USE="-libarchive gnu" but fails to build when USE="libarchive -gnu" is used: [...] make[3]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[2]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[1]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[1]: Entering directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64' make[1]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64' tar: Option --sort=name is not supported Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help stat: cannot stat 'xz-pgo-test-01.tar': No such file or directory md5sum: xz-pgo-test-01.tar: No such file or directory /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/src/xz/.libs/xz: xz-pgo-test-01.tar: No such file or directory /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/src/xz/.libs/xz: (stdin): File format not recognized * ERROR: app-arch/xz-utils-5.6.2::gentoo failed (compile phase): * Testing '-0 -C none' variant failed xz-utils-5.4.2 builds ok with app-alternatives/tar[+libarchive].
Created attachment 894665 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fcd44ef37805c5c43770ca0f207d8a0bd99cb75 commit 6fcd44ef37805c5c43770ca0f207d8a0bd99cb75 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-31 14:28:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-31 14:28:06 +0000 app-arch/xz-utils: fix PGO with libarchive tar Closes: https://bugs.gentoo.org/933200 Signed-off-by: Sam James <sam@gentoo.org> app-arch/xz-utils/xz-utils-5.6.2.ebuild | 9 +++++++-- app-arch/xz-utils/xz-utils-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-)
Current 5.6.2[+pgo] fails with another app-alternatives/tar[+libarchive] error: [...] ============================================================================ Testsuite summary for XZ Utils 5.6.2 ============================================================================ # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[2]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[1]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests' make[1]: Entering directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64' make[1]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64' tar: Option --mtime=@2718281828 is not supported Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help stat: cannot stat 'xz-pgo-test-01.tar': No such file or directory * ERROR: app-arch/xz-utils-5.6.2::gentoo failed (compile phase): * (no error message)
Created attachment 894769 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff commit 3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-02 03:37:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-02 03:37:30 +0000 app-arch/xz-utils: cater to libarchive tar harder Closes: https://bugs.gentoo.org/933200 Signed-off-by: Sam James <sam@gentoo.org> app-arch/xz-utils/xz-utils-5.6.2.ebuild | 12 ++++++++---- app-arch/xz-utils/xz-utils-9999.ebuild | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-)