Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 94844
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: Mark.Hedges [...] Ticketmaster.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Subject: cannot build 6.06 with cpan using external tar
Date: Thu, 17 Apr 2014 22:42:09 +0000
To: "bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>
From: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Trouble building libwww-perl-6.06. Looks like a problem with these custom tags in the tar file. My system has an old version of tar (GNU tar 1.15.1). This is a fresh build of perl 5.18.2. I was able to install and use Bundle::CPAN using the `cpan` utility. I had prefer_external_tar set in CPAN::MyConfig. When I unset that to use Archive::Tar instead, the cpan utility worked to install libwww. Thanks. -Mark Fetching with HTTP::Tiny: http://cpan.perl.org/authors/id/M/MS/MSCHILLI/CHECKSUMS Checksum for /ntfhome/users/hedges/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww-perl-6.06.tar.gz ok Scanning cache /ntfhome/users/hedges/.cpan/build for sizes DONE /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Read 2560 bytes from - /bin/tar: Error exit delayed from previous errors Uncompressed /ntfhome/users/hedges/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww-perl-6.06.tar.gz successfully Using Tar:/bin/tar xf "libwww-perl-6.06.tar": /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev' /bin/tar: Ignoring unknown extended header keyword `SCHILY.ino' /bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink' /bin/tar: Error exit delayed from previous errors Couldn't untar libwww-perl-6.06.tar: child exited with value 2 CPAN: File::Temp loaded ok (v0.2304) CPAN: CPAN::Meta loaded ok (v2.120921) Package contains both files[libwww-perl-6.06.tar] and directories[libwww-perl-6.06]; not recognized as a perl package, giving up Had problems unarchiving. Please build manually Package contains both files[libwww-perl-6.06.tar] and directories[libwww-perl-6.06]; not recognized as a perl package, giving up, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install Stopping: 'install' failed for 'LWP::Simple'. Could not read metadata file. Falling back to other methods to determine prerequisites Failed during this command: MSCHILLI/libwww-perl-6.06.tar.gz : unwrapped NO -- untar failed
Subject: Re: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar
Date: Thu, 17 Apr 2014 16:11:12 -0700
To: Mark Hedges via RT <bug-libwww-perl [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Thu, Apr 17, 2014 at 06:43:16PM -0400, Mark Hedges via RT wrote: Show quoted text
> Trouble building libwww-perl-6.06. Looks like a problem with these custom tags in the tar file. My system has an old version of tar (GNU tar 1.15.1). This is a fresh build of perl 5.18.2. I was able to install and use Bundle::CPAN using the `cpan` utility. I had prefer_external_tar set in CPAN::MyConfig. When I unset that to use Archive::Tar instead, the cpan utility worked to install libwww. Thanks. -Mark > > Fetching with HTTP::Tiny: > http://cpan.perl.org/authors/id/M/MS/MSCHILLI/CHECKSUMS > Checksum for /ntfhome/users/hedges/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww-perl-6.06.tar.gz ok > Scanning cache /ntfhome/users/hedges/.cpan/build for sizes > DONE > /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev'
... This is a known issue when building tarballs on darwin. I can't remember the precise solution, but there are a *lot* of RT tickets about it if you search. It should be solvable by updating Archive::Tar::* I think (at least, I've never had it happen to me personally and I ship everything from darwin, and `which tar` returns /usr/bin/tar).
CC: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Subject: RE: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar
Date: Thu, 17 Apr 2014 23:15:27 +0000
To: "bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>
From: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Like I said in the bug report, it works fine when using Archive::Tar. It does not work when prefer_external_tar is set in CPAN::MyConfig, which causes the CPAN utility to make system calls to `tar` instead. Mark Show quoted text
-----Original Message----- From: Karen Etheridge via RT [mailto:bug-libwww-perl@rt.cpan.org] Sent: Thursday, April 17, 2014 4:11 PM To: Mark Hedges Subject: Re: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar <URL: https://rt.cpan.org/Ticket/Display.html?id=94844 > On Thu, Apr 17, 2014 at 06:43:16PM -0400, Mark Hedges via RT wrote:
> Trouble building libwww-perl-6.06. Looks like a problem with these custom tags in the tar file. My system has an old version of tar (GNU tar 1.15.1). This is a fresh build of perl 5.18.2. I was able to install and use Bundle::CPAN using the `cpan` utility. I had prefer_external_tar set in CPAN::MyConfig. When I unset that to use Archive::Tar instead, the cpan utility worked to install libwww. Thanks. -Mark > > Fetching with HTTP::Tiny: > http://cpan.perl.org/authors/id/M/MS/MSCHILLI/CHECKSUMS > Checksum for /ntfhome/users/hedges/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww-perl-6.06.tar.gz ok > Scanning cache /ntfhome/users/hedges/.cpan/build for sizes > DONE > /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev'
... This is a known issue when building tarballs on darwin. I can't remember the precise solution, but there are a *lot* of RT tickets about it if you search. It should be solvable by updating Archive::Tar::* I think (at least, I've never had it happen to me personally and I ship everything from darwin, and `which tar` returns /usr/bin/tar).
Subject: Re: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar
Date: Thu, 17 Apr 2014 16:16:10 -0700
To: Mark Hedges via RT <bug-libwww-perl [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
CC: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Subject: RE: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar
Date: Thu, 17 Apr 2014 23:24:05 +0000
To: "bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>
From: Mark Hedges <Mark.Hedges [...] Ticketmaster.com>
Thanks. I guess I filed a duplicate.
From: pagenyon [...] gmail.com
On Thu Apr 17 19:11:24 2014, ETHER wrote: Show quoted text
> On Thu, Apr 17, 2014 at 06:43:16PM -0400, Mark Hedges via RT wrote:
> > Trouble building libwww-perl-6.06. Looks like a problem with these > > custom tags in the tar file. My system has an old version of tar > > (GNU tar 1.15.1). This is a fresh build of perl 5.18.2. I was able > > to install and use Bundle::CPAN using the `cpan` utility. I had > > prefer_external_tar set in CPAN::MyConfig. When I unset that to use > > Archive::Tar instead, the cpan utility worked to install libwww. > > Thanks. -Mark > > > > Fetching with HTTP::Tiny: > > http://cpan.perl.org/authors/id/M/MS/MSCHILLI/CHECKSUMS > > Checksum for > > /ntfhome/users/hedges/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww- > > perl-6.06.tar.gz ok > > Scanning cache /ntfhome/users/hedges/.cpan/build for sizes > > DONE > > /bin/tar: Ignoring unknown extended header keyword `SCHILY.dev'
> ... > > This is a known issue when building tarballs on darwin. I can't > remember > the precise solution, but there are a *lot* of RT tickets about it if > you > search. It should be solvable by updating Archive::Tar::* I think (at > least, I've never had it happen to me personally and I ship everything > from > darwin, and `which tar` returns /usr/bin/tar).
Ff you want to actually fix the problem instead of avoiding it, you simply need to set the following environment variables on Darwin to tell tar not to copy resource forks. export COPY_EXTENDED_ATTRIBUTES_DISABLE=1 # OS X 10.4 export COPYFILE_DISABLE=1 # OS X >= 10.5
On Wed Jul 02 02:49:16 2014, pagenyon wrote: Show quoted text
> export COPY_EXTENDED_ATTRIBUTES_DISABLE=1 # OS X 10.4 > export COPYFILE_DISABLE=1 # OS X >= 10.5
Thanks for the note, but I tried the latter for OS X 10.9.3 and am still getting the error on untarring. Is there a different option for OS X > 10.9?
Re-bundled libwww 6.07 on Linux, the tarball issue should be fixed now.
Subject: Re: [rt.cpan.org #94844] cannot build 6.06 with cpan using external tar
Date: Wed, 2 Jul 2014 09:26:08 -0700
To: Michael_Schilli via RT <bug-libwww-perl [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Wed, Jul 02, 2014 at 10:21:34AM -0400, Michael_Schilli via RT wrote: Show quoted text
> Queue: libwww-perl > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94844 > > > On Wed Jul 02 02:49:16 2014, pagenyon wrote:
> > export COPY_EXTENDED_ATTRIBUTES_DISABLE=1 # OS X 10.4 > > export COPYFILE_DISABLE=1 # OS X >= 10.5
> > Thanks for the note, but I tried the latter for OS X 10.9.3 and am still getting the error on untarring. Is there a different option for OS X > 10.9?
I don't have either of those variables set, and I use darwin with no troubles. Are your Archive::* distributions up to date? Do you have Archive::Tar::Wrapper installed (it's optional, but better)?
On Wed Jul 02 12:26:21 2014, ETHER wrote: Show quoted text
> Are your Archive::* distributions up to date? Do you have > Archive::Tar::Wrapper installed (it's optional, but better)?
I've got Archive::Tar 1.82. I can reproduce the bug by using "tar" to create a tarball, which then gnu tar can't untar. Archive::Tar::Wrapper on the other hand just uses the system "tar" underneath, so I think this will just run into the same problem.