On my system, GNU tar is configured with: ~$ cat /etc/portage/env/app-arch/tar EXTRA_ECONF="DEFAULT_ARCHIVE=/dev/full" This causes unpacker.eclass' unpack_deb to fail mysteriously. Adding -f - to its tar invocation fixes this. Since this isn't the first time that we've seen this bug, though it usually manifests via someone having TAPE set, I suggest we make this a tracker bug and configure tinderboxes and volunteers systems with the EXTRA_ECONF above. See '(tar)file tutorial' for a description of how the default is picked.
actually, a better configuration is probably EXTRA_ECONF="DEFAULT_ARCHIVE=/dev/null/BAD_TAR_INVOCATION" since it allows for this: ~$ sudo tar -c foo tar: /dev/null/BAD_TAR_INVOCATION: Cannot open: Not a directory tar: Error is not recoverable: exiting now ~ 2 $ sudo tar -t tar: /dev/null/BAD_TAR_INVOCATION: Cannot open: Not a directory tar: Error is not recoverable: exiting now ~ 2 $ toralf, mind doing this on Tinderbox? if so, I can mark this as a tracker TIA
Please send a patch to the ML for unpacker.eclass.
*** Bug 903914 has been marked as a duplicate of this bug. ***
*** Bug 903919 has been marked as a duplicate of this bug. ***
We should wait until unpacker.eclass is fixed before tinderboxing this. Otherwise, we will end up with a bunch of duplicate bug reports.
(In reply to Arsen Arsenović from comment #1) > if so, I can mark this as a tracker Please file a new bug to use as a tracker; this bug already specifically mentions unpacker.eclass and should be closed after it gets fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53ec485fe53d50619a1292cccb6c66eaf16b9ac commit d53ec485fe53d50619a1292cccb6c66eaf16b9ac Author: Arsen Arsenović <arsen@gentoo.org> AuthorDate: 2023-04-06 15:35:11 +0000 Commit: Arsen Arsenović <arsen@gentoo.org> CommitDate: 2023-04-06 15:42:10 +0000 unpacker.eclass: Don't assume the default tar is stdin Despite common misconception, the default GNU tar tarfile is not stdin. On some systems, this can cause tar to fail to extract relevant files. See '(tar)file tutorial' for a description of how the default is picked. Closes: https://bugs.gentoo.org/903631 Closes: https://bugs.gentoo.org/903914 Closes: https://bugs.gentoo.org/903919 Signed-off-by: Arsen Arsenović <arsen@gentoo.org> eclass/unpacker.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)