Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 903921 (tar-without-file)

Summary: [TRACKER] Packages calling tar without -f
Product: Quality Assurance Reporter: Arsen Arsenović <arsen>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: bertrand
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 885719, 903631, 903914, 903919, 940201, 940217    
Bug Blocks:    

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.