Mailing List Archive

[perl #41477] Archive::Extract problems in perl@30178
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #41477]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41477 >


I haven't built bleedperl in a while on Solaris 8. When I tried
today, I got the following error messages from Archive::Extract.
Does anybody know what it's trying to do so I can figure out if the
problem is in Archive::Extract or in the tests?

Thanks.

$ cd t
$ ./perl -I../lib harness ../lib/Archive/Extract/t/01_Archive-Extract.t

../lib/Archive/Extract/t/01_Archive-Extract....
# Failed test 'Found correct output file 'y/z''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 328.
# got: 'tar: blocksize = 0'
# expected: 'y/z'

# Failed test 'Output file '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y/z' exists'
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 331.

# Failed test 'Extract dir is expected '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 337.
# got: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out'
# expected: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y'

# Failed test 'Found correct output file 'y/z''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 328.
# got: 'tar: blocksize = 0'
# expected: 'y/z'

# Failed test 'Output file '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y/z' exists'
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 331.

# Failed test 'Extract dir is expected '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 337.
# got: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out'
# expected: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y'

# Failed test 'Found correct output file 'y/z''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 328.
# got: 'tar: blocksize = 0'
# expected: 'y/z'

# Failed test 'Output file '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y/z' exists'
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 331.

# Failed test 'Extract dir is expected '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y''
# at ../lib/Archive/Extract/t/01_Archive-Extract.t line 337.
# got: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out'
# expected: '/home/doughera/src/perl/perl-current/lib/Archive/Extract/t/out/y'
# Looks like you failed 9 tests of 835.
dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 265-266, 269, 276-277, 280, 673-674, 677
Failed 9/835 tests, 98.92% okay (less 81 skipped tests: 745 okay, 89.22%)
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
../lib/Archive/Extract/t/01_Archive-Extra 9 2304 835 9 265-266 269
276-277 280
673-674 677
81 subtests skipped.
Failed 1/1 test scripts. 9/835 subtests failed.
Files=1, Tests=835, 27 wallclock secs ( 9.52 cusr + 6.90 csys = 16.42 CPU)
Failed 1/1 test programs. 9/835 subtests failed.

--
Andy Dougherty doughera@lafayette.edu
Re: [perl #41477] Archive::Extract problems in perl@30178 [ In reply to ]
On Mon, 7 May 2012, James E Keenan via RT wrote:

> On Fri Feb 09 12:35:43 2007, doughera wrote:
> > I haven't built bleedperl in a while on Solaris 8. When I tried
> > today, I got the following error messages from Archive::Extract.
> > Does anybody know what it's trying to do so I can figure out if the
> > problem is in Archive::Extract or in the tests?
> >
> > Thanks.
> >
> > $ cd t
> > $ ./perl -I../lib harness ../lib/Archive/Extract/t/01_Archive-
> > Extract.t
> >
> > ../lib/Archive/Extract/t/01_Archive-Extract....
> > # Failed test 'Found correct output file 'y/z''
> > # at ../lib/Archive/Extract/t/01_Archive-Extract.t line 328.
> > # got: 'tar: blocksize = 0'
> > # expected: 'y/z'
> >
> > # Failed test 'Output file '/home/doughera/src/perl/perl-
> > current/lib/Archive/Extract/t/out/y/z' exists'
> > # at ../lib/Archive/Extract/t/01_Archive-Extract.t line 331.
> >
[skipped]

> > ../lib/Archive/Extract/t/01_Archive-Extra 9 2304 835 9 265-
> > 266 269
> > 276-
> > 277 280
> > 673-
> > 674 677
> > 81 subtests skipped.
> > Failed 1/1 test scripts. 9/835 subtests failed.
> > Files=1, Tests=835, 27 wallclock secs ( 9.52 cusr + 6.90 csys = 16.42
> > CPU)
> > Failed 1/1 test programs. 9/835 subtests failed.
> >
>
> Do these Archive::Extract problems persist on Solaris with more recent
> Perls?

This problem was fixed by:

commit 9e5a0ef9e3b384b74d165fbf84bdd9d6d3f8d6dc
Author: Jos I. Boumans <kane@dwim.org>
Date: Thu Sep 20 17:46:24 2007 +0200

The problem was an old version of bzip2, which insisted on a .bz2 suffix.

Thanks,

--
Andy Dougherty doughera@lafayette.edu