Summary: | dev-util/pahole-1.27-r1 - [ncurses-6.5] [gcc-15] tar: .../BAD_TAR_INVOCATION: Cannot open: Not a directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Matthias Schwarzott <zzam> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, mgorny, sam, toralf, zzam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903921 | ||
Attachments: |
emerge-info.txt
dev-util:pahole-1.27-r1:20240924-203556.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt |
Description
Toralf Förster
![]() Created attachment 903676 [details]
emerge-info.txt
Created attachment 903677 [details]
dev-util:pahole-1.27-r1:20240924-203556.log
Created attachment 903678 [details]
emerge-history.txt
Created attachment 903679 [details]
environment
Created attachment 903680 [details]
etc.clang.tar.xz
Created attachment 903681 [details]
etc.portage.tar.xz
Created attachment 903682 [details]
logs.tar.xz
Created attachment 903683 [details]
qlist-info.txt
I found this commit touching pahole-ebuild (and others): commit 48c7150d63793ba6f5a8a8c5429b3de929920b48 Author: Mike Gilbert <floppym@gentoo.org> Date: Tue Sep 24 15:56:03 2024 -0400 */*: replace "tar -x" with "tar -xf -" Closes: https://bugs.gentoo.org/940201 Signed-off-by: Mike Gilbert <floppym@gentoo.org> [...] 25 files changed, 25 insertions(+), 25 deletions(-) Change: --- a/dev-util/pahole/pahole-1.27-r1.ebuild +++ b/dev-util/pahole/pahole-1.27-r1.ebuild @@ -59,7 +59,7 @@ src_unpack() { if use verify-sig; then einfo "Unpacking ${MY_P}.tar.xz ..." verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ - < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -x)) + < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) assert "Unpack failed" else default Not sure why it can fail in that way. Is the tar version on that tinderbox special? I wonder why such a complicated commandline is needed at all. Why not just 3 simple steps: 1. uncompress 2. verify 3. unpack For the tinderbox q: https://bugs.gentoo.org/903921#c0. For the complicated q: Yeah, floppym and I discussed this a bit on IRC. I don't actually care other than having it be consistent between kernel.org packages with verify-sig. mgorny changed a few of them and I wanted it to be the same across such packages. (In reply to Sam James from comment #11) > For the tinderbox q: https://bugs.gentoo.org/903921#c0. Now I see. The found commit is not the cause but the fix of this bug. floppym fixed the bug before it was reported :-) @toralf: Ok to resolve this bug? > > For the complicated q: Yeah, floppym and I discussed this a bit on IRC. I > don't actually care other than having it be consistent between kernel.org > packages with verify-sig. mgorny changed a few of them and I wanted it to be > the same across such packages. As long as it works I am fine. But in general pipelines can loose exit-codes of commands. (In reply to Matthias Schwarzott from comment #12) > @toralf: Ok to resolve this bug? sure, if it is solved. |