Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933200 - app-arch/xz-utils-5.6.2[pgo] - fails to build with app-alternatives/tar[+libarchive]: tar: Option ... is not supported
Summary: app-arch/xz-utils-5.6.2[pgo] - fails to build with app-alternatives/tar[+liba...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: libarchive-tar
  Show dependency tree
 
Reported: 2024-05-30 16:05 UTC by ernsteiswuerfel
Modified: 2024-06-02 03:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (xz-utils-5.6.2:20240530-155752.log,439.53 KB, text/plain)
2024-05-30 16:05 UTC, ernsteiswuerfel
Details
emerge --info (file_933200.txt,8.01 KB, text/plain)
2024-05-30 16:08 UTC, ernsteiswuerfel
Details
build.log (xz-utils-5.6.2:20240601-072508.log,439.14 KB, text/plain)
2024-06-01 07:30 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-05-30 16:05:39 UTC
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].
Comment 1 ernsteiswuerfel archtester 2024-05-30 16:08:11 UTC
Created attachment 894665 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-31 14:28:42 UTC
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(-)
Comment 3 ernsteiswuerfel archtester 2024-06-01 07:30:07 UTC
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)
Comment 4 ernsteiswuerfel archtester 2024-06-01 07:30:58 UTC
Created attachment 894769 [details]
build.log
Comment 5 Larry the Git Cow gentoo-dev 2024-06-02 03:43:11 UTC
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(-)