[Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Charles Lepple
Just thought I'd throw this out there for the archives, or in case anyone else 
has seen something similar.

I'm attempting to package http://search.cpan.org/~nwiger/CGI-FormBuilder-3.09/ 
and I get the following at the unpack stage:

env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
-xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
/sw.lion/bin/tar: This does not look like a tar archive
/sw.lion/bin/tar: Skipping to next header
/sw.lion/bin/tar: Exiting with failure status due to previous errors
### execution of env failed, exit code 2

But if I manually gunzip the archive, and feed that to tar:

$ /sw/bin/gnutar tvf ~/Downloads/CGI-FormBuilder-3.09.tar
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
drwxr-xr-x nateware/wheel0 2013-11-29 22:06 CGI-FormBuilder-3.09/
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
/sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
-rw-r--r-- nateware/wheel 17748 2013-11-29 22:06 CGI-FormBuilder-3.09/Changes

(etc.)

$ ls -l /sw/bin/tar
lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/tar@ - gtar
$ ls -l /sw/bin/gnutar
lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/gnutar@ - gtar

It looks like the GNU tar heuristics get confused by the extended headers when 
presented with the .tgz.

In the short term, I think I'll just try the Debian .orig.tar.gz, but has 
anyone run across this before? (I'm assuming this is from Schily's S tar, or 
something similar.)

$ fink --version
Package manager version: 0.36.3.1
Distribution version: selfupdate-cvs Thu Jan 16 08:54:42 2014, 10.7, x86_64
Trees: local/main stable/main

-- 
Charles Lepple
clepple@gmail




--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Djamé Seddah
Hi,
not sure it'll help but
I've got the same behavior with the gnutar shipped with lion.

gnutar version : tar (GNU tar) 1.17

so does the fink version
tar --version: tar (GNU tar) 1.26

but the bsdtar works fine on that file

bsdtar 2.8.3 - libarchive 2.8.3



Djamé



Le 16 janv. 2014 à 15:12, Charles Lepple a écrit :

 Just thought I'd throw this out there for the archives, or in case anyone 
 else has seen something similar.
 
 I'm attempting to package 
 http://search.cpan.org/~nwiger/CGI-FormBuilder-3.09/ and I get the following 
 at the unpack stage:
 
 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
 -xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2
 
 But if I manually gunzip the archive, and feed that to tar:
 
 $ /sw/bin/gnutar tvf ~/Downloads/CGI-FormBuilder-3.09.tar
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
 drwxr-xr-x nateware/wheel0 2013-11-29 22:06 CGI-FormBuilder-3.09/
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
 -rw-r--r-- nateware/wheel 17748 2013-11-29 22:06 CGI-FormBuilder-3.09/Changes
 
 (etc.)
 
 $ ls -l /sw/bin/tar
 lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/tar@ - gtar
 $ ls -l /sw/bin/gnutar
 lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/gnutar@ - gtar
 
 It looks like the GNU tar heuristics get confused by the extended headers 
 when presented with the .tgz.
 
 In the short term, I think I'll just try the Debian .orig.tar.gz, but has 
 anyone run across this before? (I'm assuming this is from Schily's S tar, or 
 something similar.)
 
 $ fink --version
 Package manager version: 0.36.3.1
 Distribution version: selfupdate-cvs Thu Jan 16 08:54:42 2014, 10.7, x86_64
 Trees: local/main stable/main
 
 -- 
 Charles Lepple
 clepple@gmail
 
 
 
 
 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Fink-devel mailing list
 Fink-devel@lists.sourceforge.net
 List archive:
 http://news.gmane.org/gmane.os.apple.fink.devel
 Subscription management:
 https://lists.sourceforge.net/lists/listinfo/fink-devel


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread TheSin
shouldn't fink be sending ta -xzvf ??  it's missing the -z for gzip

that being said I don't think it'll fix it but it's still odd.
---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!

On 2014-01-16, at 7:12 AM, Charles Lepple clep...@gmail.com wrote:

 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
 -xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Alexander Hansen
On 1/16/14 6:35 AM, TheSin wrote:
 shouldn't fink be sending ta -xzvf ??  it's missing the -z for gzip

 that being said I don't think it'll fix it but it's still odd.
 ---
 TS
 http://www.southofheaven.org/
 Life begins and ends with chaos, live between the chaos!

 On 2014-01-16, at 7:12 AM, Charles Lepple clep...@gmail.com wrote:

 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
 -xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2




No, we deliberately dropped adding -z (or -j, or whatever), because tars 
at least as new as the gnu tar from 10.5 are supposed to be able to 
figure out what compression utility is needed, so we can get away with 
using tar -xvf on uncompressed tarballs, gzipped tarballs, bzipped 
tarballs, and xzipped tarballs without having to go through conditionals 
to figure out what decompressor is needed.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Alexander Hansen
On 1/16/14 6:47 AM, Alexander Hansen wrote:
 On 1/16/14 6:35 AM, TheSin wrote:
 shouldn't fink be sending ta -xzvf ??  it's missing the -z for gzip

 that being said I don't think it'll fix it but it's still odd.
 ---
 TS
 http://www.southofheaven.org/
 Life begins and ends with chaos, live between the chaos!

 On 2014-01-16, at 7:12 AM, Charles Lepple clep...@gmail.com wrote:

 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner
 --no-same-permissions -xvf
 /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2




 No, we deliberately dropped adding -z (or -j, or whatever), because tars
 at least as new as the gnu tar from 10.5 are supposed to be able to
 figure out what compression utility is needed, so we can get away with
 using tar -xvf on uncompressed tarballs, gzipped tarballs, bzipped
 tarballs, and xzipped tarballs without having to go through conditionals
 to figure out what decompressor is needed.


Though in point of fact we didn't actually use flags for tar.  We 
figured out the compression utility via extension, used that, and piped 
the result into tar.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Alexander Hansen
On 1/16/14 6:12 AM, Charles Lepple wrote:
 Just thought I'd throw this out there for the archives, or in case anyone 
 else has seen something similar.

 I'm attempting to package 
 http://search.cpan.org/~nwiger/CGI-FormBuilder-3.09/ and I get the following 
 at the unpack stage:

 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
 -xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2

 But if I manually gunzip the archive, and feed that to tar:

 $ /sw/bin/gnutar tvf ~/Downloads/CGI-FormBuilder-3.09.tar
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
 drwxr-xr-x nateware/wheel0 2013-11-29 22:06 CGI-FormBuilder-3.09/
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
 /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
 -rw-r--r-- nateware/wheel 17748 2013-11-29 22:06 CGI-FormBuilder-3.09/Changes

 (etc.)

 $ ls -l /sw/bin/tar
 lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/tar@ - gtar
 $ ls -l /sw/bin/gnutar
 lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/gnutar@ - gtar

 It looks like the GNU tar heuristics get confused by the extended headers 
 when presented with the .tgz.

 In the short term, I think I'll just try the Debian .orig.tar.gz, but has 
 anyone run across this before? (I'm assuming this is from Schily's S tar, or 
 something similar.)

 $ fink --version
 Package manager version: 0.36.3.1
 Distribution version: selfupdate-cvs Thu Jan 16 08:54:42 2014, 10.7, x86_64
 Trees: local/main stable/main


TarFilesRename uses the older method of using the uncompressor first and 
then pipes the result out, although to pax rather than tar.  A 
combination of TarFilesRename and SourceRename might well do the trick here.

Another option would be to recompress it and have the new tarball 
uploaded to Fink's repository on Sourceforge.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread TheSin
oh nice didn't know that, guess I just feel old since I still use -z ;)
---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!

On 2014-01-16, at 7:47 AM, Alexander Hansen alexanderk.han...@gmail.com wrote:

 On 1/16/14 6:35 AM, TheSin wrote:
 shouldn't fink be sending ta -xzvf ??  it's missing the -z for gzip
 
 that being said I don't think it'll fix it but it's still odd.
 ---
 TS
 http://www.southofheaven.org/
 Life begins and ends with chaos, live between the chaos!
 
 On 2014-01-16, at 7:12 AM, Charles Lepple clep...@gmail.com wrote:
 
 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner --no-same-permissions 
 -xvf /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2
 
 
 
 
 No, we deliberately dropped adding -z (or -j, or whatever), because tars at 
 least as new as the gnu tar from 10.5 are supposed to be able to figure out 
 what compression utility is needed, so we can get away with using tar -xvf 
 on uncompressed tarballs, gzipped tarballs, bzipped tarballs, and xzipped 
 tarballs without having to go through conditionals to figure out what 
 decompressor is needed.
 
 -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Djamé Seddah
the recent version of tar also accept the -a switch (for auto)

Le 16 janv. 2014 à 16:14, TheSin a écrit :

 oh nice didn't know that, guess I just feel old since I still use -z ;)
 ---
 TS
 http://www.southofheaven.org/
 Life begins and ends with chaos, live between the chaos!
 
 On 2014-01-16, at 7:47 AM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 On 1/16/14 6:35 AM, TheSin wrote:
 shouldn't fink be sending ta -xzvf ??  it's missing the -z for gzip
 
 that being said I don't think it'll fix it but it's still odd.
 ---
 TS
 http://www.southofheaven.org/
 Life begins and ends with chaos, live between the chaos!
 
 On 2014-01-16, at 7:12 AM, Charles Lepple clep...@gmail.com wrote:
 
 env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner 
 --no-same-permissions -xvf 
 /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
 /sw.lion/bin/tar: This does not look like a tar archive
 /sw.lion/bin/tar: Skipping to next header
 /sw.lion/bin/tar: Exiting with failure status due to previous errors
 ### execution of env failed, exit code 2
 
 
 
 
 No, we deliberately dropped adding -z (or -j, or whatever), because tars at 
 least as new as the gnu tar from 10.5 are supposed to be able to figure out 
 what compression utility is needed, so we can get away with using tar -xvf 
 on uncompressed tarballs, gzipped tarballs, bzipped tarballs, and xzipped 
 tarballs without having to go through conditionals to figure out what 
 decompressor is needed.
 
 -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/
 
 
 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Fink-devel mailing list
 Fink-devel@lists.sourceforge.net
 List archive:
 http://news.gmane.org/gmane.os.apple.fink.devel
 Subscription management:
 https://lists.sourceforge.net/lists/listinfo/fink-devel


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Daniel Macks
On Thu, 16 Jan 2014 07:04:56 -0800, Alexander Hansen 
alexanderk.han...@gmail.com wrote:
On 1/16/14 6:12 AM, Charles Lepple wrote:
  Just thought I'd throw this out there for the archives, or in case 
 anyone else has seen something similar. 
 
  I'm attempting to package 
 http://search.cpan.org/~nwiger/CGI-FormBuilder-3.09/ and I get the 
 following at the unpack stage:
 
  env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner 
 --no-same-permissions -xvf 
 /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
  /sw.lion/bin/tar: This does not look like a tar archive
  /sw.lion/bin/tar: Skipping to next header
  /sw.lion/bin/tar: Exiting with failure status due to previous errors
  ### execution of env failed, exit code 2
 
  But if I manually gunzip the archive, and feed that to tar:
 
  $ /sw/bin/gnutar tvf ~/Downloads/CGI-FormBuilder-3.09.tar
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
  drwxr-xr-x nateware/wheel0 2013-11-29 22:06 CGI-FormBuilder-3.09/
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
  -rw-r--r-- nateware/wheel 17748 2013-11-29 22:06 
 CGI-FormBuilder-3.09/Changes
 
  (etc.)
 
  $ ls -l /sw/bin/tar
  lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/tar@ - gtar
  $ ls -l /sw/bin/gnutar
  lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/gnutar@ - gtar
 
  It looks like the GNU tar heuristics get confused by the extended 
 headers when presented with the .tgz. 
 
  In the short term, I think I'll just try the Debian .orig.tar.gz, 
 but has anyone run across this before? (I'm assuming this is from 
 Schily's S tar, or something similar.)
 
  $ fink --version
  Package manager version: 0.36.3.1
  Distribution version: selfupdate-cvs Thu Jan 16 08:54:42 2014, 10.7, x86_64
  Trees: local/main stable/main
 

 TarFilesRename uses the older method of using the uncompressor first 
 and then pipes the result out, although to pax rather than tar.  A 
 combination of TarFilesRename and SourceRename might well do the 
 trick here. 

 Another option would be to recompress it and have the new tarball 
 uploaded to Fink's repository on Sourceforge. 

.tgz is not non-standard (per spec) and not uncommon in the world, I 
don't think we should rehost it is a good general solution. 

dan

--
Daniel Macks
dma...@netspace.org



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Alexander Hansen
It's only this particular file (for now).  I believe we currently have packages 
in the distro with .tgz sources.  

Sent from my iPod

 On Jan 16, 2014, at 9:36, Daniel Macks dma...@netspace.org wrote:
 
 On Thu, 16 Jan 2014 07:04:56 -0800, Alexander Hansen 
 alexanderk.han...@gmail.com wrote:
 On 1/16/14 6:12 AM, Charles Lepple wrote:
  Just thought I'd throw this out there for the archives, or in case anyone 
  else has seen something similar. 
  I'm attempting to package 
  http://search.cpan.org/~nwiger/CGI-FormBuilder-3.09/ and I get the 
  following at the unpack stage:
 
  env LANG=C LC_ALL=C /sw.lion/bin/tar  --no-same-owner 
  --no-same-permissions -xvf 
  /Users/clepple/Downloads/CGI-FormBuilder-3.09.tgz
  /sw.lion/bin/tar: This does not look like a tar archive
  /sw.lion/bin/tar: Skipping to next header
  /sw.lion/bin/tar: Exiting with failure status due to previous errors
  ### execution of env failed, exit code 2
 
  But if I manually gunzip the archive, and feed that to tar:
 
  $ /sw/bin/gnutar tvf ~/Downloads/CGI-FormBuilder-3.09.tar
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
  drwxr-xr-x nateware/wheel0 2013-11-29 22:06 CGI-FormBuilder-3.09/
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.dev'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.ino'
  /sw/bin/gnutar: Ignoring unknown extended header keyword `SCHILY.nlink'
  -rw-r--r-- nateware/wheel 17748 2013-11-29 22:06 
  CGI-FormBuilder-3.09/Changes
 
  (etc.)
 
  $ ls -l /sw/bin/tar
  lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/tar@ - gtar
  $ ls -l /sw/bin/gnutar
  lrwxr-xr-x  1 root  admin  4 Nov 17 11:56 /sw/bin/gnutar@ - gtar
 
  It looks like the GNU tar heuristics get confused by the extended headers 
  when presented with the .tgz. 
  In the short term, I think I'll just try the Debian .orig.tar.gz, but has 
  anyone run across this before? (I'm assuming this is from Schily's S tar, 
  or something similar.)
 
  $ fink --version
  Package manager version: 0.36.3.1
  Distribution version: selfupdate-cvs Thu Jan 16 08:54:42 2014, 10.7, x86_64
  Trees: local/main stable/main
 
 
 TarFilesRename uses the older method of using the uncompressor first and 
 then pipes the result out, although to pax rather than tar.  A combination 
 of TarFilesRename and SourceRename might well do the trick here. 
 Another option would be to recompress it and have the new tarball uploaded 
 to Fink's repository on Sourceforge.
 
 .tgz is not non-standard (per spec) and not uncommon in the world, I don't 
 think we should rehost it is a good general solution. 
 dan
 
 --
 Daniel Macks
 dma...@netspace.org
 
 

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] strange .tgz file doesn't pass gnutar heuristics, but can be extracted with gunzip and tar

2014-01-16 Thread Charles Lepple
On Jan 16, 2014, at 12:36 PM, Daniel Macks wrote:
 On Thu, 16 Jan 2014 07:04:56 -0800, Alexander Hansen 
 alexanderk.han...@gmail.com wrote:
 TarFilesRename uses the older method of using the uncompressor first and 
 then pipes the result out, although to pax rather than tar.  A combination 
 of TarFilesRename and SourceRename might well do the trick here. 

The TarFilesRename/SourceRename sounds promising, although there will be a big 
fat comment explaining what the heck is going on there.

 Another option would be to recompress it and have the new tarball uploaded 
 to Fink's repository on Sourceforge. 
 
 .tgz is not non-standard (per spec) and not uncommon in the world, I don't 
 think we should rehost it is a good general solution. 

The filename extension isn't the issue - I neglected to mention that I tried 
renaming it to tar.gz before I tried running gzip separately.

It's the tar header keyword extensions inside the gzip payload that are 
tripping up the integrated tar+gz auto-detector in GNU tar.

-- 
Charles Lepple
clepple@gmail




--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel