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

Bug 312967

Summary: app-arch/pigz[symlink] causes vim to fail to open .tar.gz
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Dror Levin (RETIRED) <spatz>
Status: RESOLVED FIXED    
Severity: normal CC: axiator
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=335852
https://bugs.gentoo.org/show_bug.cgi?id=888777
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add support for '--' option terminator

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-04-03 12:23:50 UTC
When having pigz with symlinks installed, trying to open .tar.gz archive with vim results in following error:

pigz abort: invalid option: --
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

To be compliant with gzip, pigz should support '--' option terminator. I'm attaching a simple patch adding the support for it.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-04-03 12:24:13 UTC
Created attachment 226391 [details, diff]
Add support for '--' option terminator
Comment 2 Dror Levin (RETIRED) gentoo-dev 2010-04-03 16:55:46 UTC
I've contacted upstream about this issue and was told that it was already fixed for the next version, so we'll just wait for that.

Thanks for the report.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-06 17:49:24 UTC
(In reply to comment #2)
> I've contacted upstream about this issue and was told that it was already fixed
> for the next version, so we'll just wait for that.

Could you nag upstream a little? It's 9 months since last release already.
Comment 4 Faustus 2011-10-08 22:44:07 UTC
Suggest closing this bug as duplicate of bug #335852, and maybe reopening that bug instead.
Comment 5 Dror Levin (RETIRED) gentoo-dev 2011-12-18 20:56:36 UTC
This should be fixed with pigz-2.1.7. Please test and reopen if needed. Thanks.