Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903921 (tar-without-file) - [TRACKER] Packages calling tar without -f
Summary: [TRACKER] Packages calling tar without -f
Status: CONFIRMED
Alias: tar-without-file
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 885719 903631 903914 903919 940201 940217
Blocks:
  Show dependency tree
 
Reported: 2023-04-06 15:56 UTC by Arsen Arsenović
Modified: 2024-09-25 07:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arsen Arsenović gentoo-dev 2023-04-06 15:56:54 UTC
This bug is intended to track packages that invoke GNU tar without specifying a -f/--file.

This can break on certain systems (or with certain tar implementations).

To detect this issue, configure GNU tar with DEFAULT_ARCHIVE=/dev/null/BAD_TAR_INVOCATION, like so:

  ~$ cat /etc/portage/env/app-arch/tar 
  EXTRA_ECONF="DEFAULT_ARCHIVE=/dev/null/BAD_TAR_INVOCATION"

See '(tar)file tutorial' for a description of how the default is picked.