Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933205 - app-arch/xz-utils-5.6.2[pgo,-extra-filters] - src/xz/.libs/xz: Unsupported options in filter chain 0
Summary: app-arch/xz-utils-5.6.2[pgo,-extra-filters] - src/xz/.libs/xz: Unsupported op...
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:
Depends on:
Blocks:
 
Reported: 2024-05-30 17:54 UTC by hugegameartgd
Modified: 2024-06-01 07:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,13.23 KB, application/gzip)
2024-05-30 17:54 UTC, hugegameartgd
Details
emerge --info (emerge.info.gz,6.08 KB, application/gzip)
2024-05-30 18:00 UTC, hugegameartgd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hugegameartgd 2024-05-30 17:54:42 UTC
Created attachment 894667 [details]
build.log

Fails to build on amd64 musl libc (llvm 18.1.6+libcxx)

[...]
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: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
tar: /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2/**/*.so*: Cannot stat: No such file or directory
tar: /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/**/*.so*: Cannot stat: No such file or directory
tar: /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/**/**.txt: Cannot stat: No such file or directory
tar: /var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/tests/files: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
xz-pgo-test-01.tar.tar size: 3942400
db565e5813386ab5d39924ffab433456  xz-pgo-test-01.tar
/var/tmp/portage/app-arch/xz-utils-5.6.2/work/xz-5.6.2-abi_x86_64.amd64/src/xz/.libs/xz: Unsupported options in filter chain 0
/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 '-6 --arm --lzma2 -C crc64' variant failed
Comment 1 hugegameartgd 2024-05-30 18:00:11 UTC
Created attachment 894668 [details]
emerge --info
Comment 2 Nick Reale 2024-05-31 11:15:56 UTC
I'm having this too on a glibc amd64 using gcc. Worked around it by disabling the pgo use flag
Comment 3 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=a780f708450f5ef986336186cf49d83b7b66ed71

commit a780f708450f5ef986336186cf49d83b7b66ed71
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-31 14:19:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-31 14:23:29 +0000

    app-arch/xz-utils: fix PGO with USE=-extra-filters
    
    Closes: https://bugs.gentoo.org/933205
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/xz-utils/xz-utils-5.6.2.ebuild | 6 +++---
 app-arch/xz-utils/xz-utils-9999.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-05-31 21:48:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18670aafe88038b15026e8d268e874cc50717f5d

commit 18670aafe88038b15026e8d268e874cc50717f5d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-31 21:47:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-31 21:47:51 +0000

    app-arch/xz-utils: fix quoting for PGO
    
    I apparently only tested USE=-extra-filters earlier.
    
    Thanks to matoro for reporting.
    
    Bug: https://bugs.gentoo.org/933205
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/xz-utils/xz-utils-5.6.2.ebuild | 6 +++---
 app-arch/xz-utils/xz-utils-9999.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)