Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 118476
Status: new
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: jhi [...] iki.fi
Cc:
AdminCc:

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



Subject: 09_roundtrip failure in Solaris with 2.14
Four subtests of 09_roundtrip fail in Solaris [1] with Archive-Tar 2.14, see below [2], all other tests pass. This is not installing from CPAN, instead I am testing bleadperl, which just updated to 2.14. However, the 2.14 does not seem to be the new culprit here, I tried 2.12 with the system installed Perl (v5.10.1) and the tests fail the exact same way. The Solaris /usr/bin/tar indeed does not have the 'z' option. [1] uname -a says: SunOS paja 5.10 Generic_150401-40 i86pc i386 i86pc [2] ... cpan/Archive-Tar/t/08_ptargrep ................................. ok cpan/Archive-Tar/t/09_roundtrip ................................ # Using IPC::Cmd # Failed test 'src/long/bar.tar roundtrip on file names' # at t/09_roundtrip.t line 157. # Structures begin differing at: # $got->[3] = 'directory/really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-long-directory-name' # $expected->[3] = 'directory/really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-long-directory-name/' tar: tape blocksize error # Failed test 'src/linktest/linktest_with_dir.tar roundtrip on file names' # at t/09_roundtrip.t line 157. # Structures begin differing at: # $got->[0] = 'linktest/orig' # $expected->[0] = 'linktest/orig/' tar: z: unknown function modifier Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}... # Failed test 'src/long/foo.tgz roundtrip on file names' # at t/09_roundtrip.t line 157. # Structures begin differing at: # $got->[2] = 'directory' # $expected->[2] = 'directory/' tar: j: unknown function modifier Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}... # Failed test 'src/long/foo.tbz roundtrip on file names' # at t/09_roundtrip.t line 157. # Structures begin differing at: # $got->[2] = 'directory' # $expected->[2] = 'directory/' # Looks like you failed 4 tests of 7. FAILED at test 4 cpan/Archive-Tar/t/90_symlink .................................. skipped
From: jhi [...] iki.fi
As noted by Craig Berry in p5p, it was the Archive-Tar 2.12 that introduced the failing tests (which are apparently failing also in VMS). Verified this by trying the Archive-Tar 2.10 with the system Perl 5.10 in that Solaris: all tests pass.
From: jhi [...] iki.fi
On Sun Oct 23 15:42:22 2016, jhi@iki.fi wrote: Show quoted text
> As noted by Craig Berry in p5p, it was the Archive-Tar 2.12 that > introduced the failing tests (which are apparently failing also in > VMS). > > Verified this by trying the Archive-Tar 2.10 with the system Perl 5.10 > in that Solaris: all tests pass.
The following three patches fix Solaris, and help VMS (there is some remaining trouble in VMS, which is likely to be caused by the port of tar to VMS): http://perl5.git.perl.org/perl.git/commitdiff/202b0c8a3ba3de0efe5cb730b242b8c0502e1add http://perl5.git.perl.org/perl.git/commitdiff/356a893ca85ec4486fe0880f5146186a2ae417d0 http://perl5.git.perl.org/perl.git/commitdiff/d81914c7e2432828ca2291fcd5c68e0a285f2bf1
Subject: [PATCHES] 09_roundtrip failure in Solaris with 2.14
From: jhi [...] iki.fi
On Fri Oct 28 21:57:05 2016, jhi@iki.fi wrote: Show quoted text
> On Sun Oct 23 15:42:22 2016, jhi@iki.fi wrote:
> > As noted by Craig Berry in p5p, it was the Archive-Tar 2.12 that > > introduced the failing tests (which are apparently failing also in > > VMS). > > > > Verified this by trying the Archive-Tar 2.10 with the system Perl > > 5.10 > > in that Solaris: all tests pass.
> > The following three patches fix Solaris, and help VMS (there is some > remaining trouble in VMS, which is likely to be caused by the port of > tar to VMS): > > http://perl5.git.perl.org/perl.git/commitdiff/202b0c8a3ba3de0efe5cb730b242b8c0502e1add > http://perl5.git.perl.org/perl.git/commitdiff/356a893ca85ec4486fe0880f5146186a2ae417d0 > http://perl5.git.perl.org/perl.git/commitdiff/d81914c7e2432828ca2291fcd5c68e0a285f2bf1
Changing the subject to mention PATCHES.
From: jhi [...] iki.fi
On Fri Oct 28 21:57:05 2016, jhi@iki.fi wrote: Show quoted text
> On Sun Oct 23 15:42:22 2016, jhi@iki.fi wrote:
> > As noted by Craig Berry in p5p, it was the Archive-Tar 2.12 that > > introduced the failing tests (which are apparently failing also in > > VMS). > > > > Verified this by trying the Archive-Tar 2.10 with the system Perl > > 5.10 > > in that Solaris: all tests pass.
> > The following three patches fix Solaris, and help VMS (there is some > remaining trouble in VMS, which is likely to be caused by the port of > tar to VMS): > > http://perl5.git.perl.org/perl.git/commitdiff/202b0c8a3ba3de0efe5cb730b242b8c0502e1add > http://perl5.git.perl.org/perl.git/commitdiff/356a893ca85ec4486fe0880f5146186a2ae417d0 > http://perl5.git.perl.org/perl.git/commitdiff/d81914c7e2432828ca2291fcd5c68e0a285f2bf1
Also: https://perl5.git.perl.org/perl.git/commit/ef77c312fc9d05923d4e2e14d85c8120ee33e38b