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

Bug 398925

Summary: app-arch/tar: Add USE flags for archivers matching existing flags
Product: Gentoo Linux Reporter: Richard Yao (RETIRED) <ryao>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Yao (RETIRED) gentoo-dev 2012-01-14 22:41:55 UTC
tar has support for xz via -J, but it does not depend on app-arch/xz-utils.

This can cause situations where app-arch/tar is installed, but app-arch/xz-utils is not, causing usages of tar with -J to fail.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-01-14 22:48:38 UTC
tar is for creating .tar, anything other and you will have to install the matching archiver (gzip, bzip2, xz-utils)
adding depends for them would be overkill
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-01-15 02:00:07 UTC
(In reply to comment #1)
> tar is for creating .tar, anything other and you will have to install the
> matching archiver (gzip, bzip2, xz-utils)
> adding depends for them would be overkill

Would use flag dependencies be plausible to be consistent with layman's use of such flags for various version control systems?
Comment 3 SpanKY gentoo-dev 2012-01-17 04:39:46 UTC
adding USE deps doesn't gain us anything.  the tools are executed at runtime via external program passed through pipes.  there is no linking going on.