Giter VIP home page Giter VIP logo

archive-tar-wrapper-perl's Issues

Tarball produced by Archive::Tar::Wrapper + GNU tar 1.23 is not readable by HP-UX tar

It was reported by me that one of my tarball dists was not readable by the default HP-UX tar because GNU tar 1.23 uses defaults that do not work with tar implementations that do not support GNU extensions.

PerlAlien/Alien-Build#228

One way to work around this is to use Archive::Tar instead, but there isn't a way to disable Archive::Tar::Wrapper (as far as I can tell) if it happens to be installed.

rjbs/Dist-Zilla#662

I am not sure how hard it would be, but it would be nice if Archive::Tar::Wrapper could either

  1. Detect GNU tar (looks like it might already be doing this) and use the --format=ustar option to produce a more backward compatible tarball.
  2. Provide an option to explicitly do the same.

Minor licensing inconsistency

File Indicated License
LICENSE GPL-3
lib/Archive/Tar/Wrapper.pm GPL-3+
Makefile.PL GPL-3
eg/tarflat perl
META.yml gpl
README.md GPL-3+
META.json GPL-3

The biggest outlier here being eg/tarflat

=head1 LEGALESE
Copyright 2005 by Mike Schilli,
all rights reserved. This program is free
software, you can redistribute it and/or
modify it under the same terms as Perl itself.
=head1 AUTHOR
2005, Mike Schilli <[email protected]>

It may not be legally viable to fix this or whatever, but I thought I'd just raise this in case the situation can be improved.

unnecessary dependency Dumbbench

Dumbbench doesn't install cleanly on more recent perls; could this dependency be removed? I would suggest moving t/008performance.t to xt/ so it doesn't run for normal installations.

Test suite fails if bzip2 is not installed

On a very minimal debian/jessie system running in a docker container:

2018/07/09 18:35:52 /bin/tar jx -f /root/.cpan/build/Archive-Tar-Wrapper-0.31-NMaTJ4/t/data/foo.tar.bz2 failed: tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now

#   Failed test 'opening compressed tarfile'
#   at t/007bzip.t line 17.

#   Failed test 'find 001Basic.t'
#   at t/007bzip.t line 19.

#   Failed test 'find ./001Basic.t'
#   at t/007bzip.t line 20.
# Looks like you failed 3 tests of 5.
t/007bzip.t ...... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests 

The Dockerfile looked like this:

# docker build -t perl-test . && docker run perl-test
FROM debian:jessie
RUN apt-get -y update
RUN apt-get -y install perl-modules
RUN apt-get -y install make
CMD cpan -t ARFREITAS/Archive-Tar-Wrapper-0.31.tar.gz

list_all output has changed

Hi there

It looks like tar_path that is returned for each item in list_all is now prefixed by tar/. Is that expected to stay going forward?

Undeclared dependency Dumbbench (0.32)

The test suite fails if Dumbbench.pm is not installed:

Can't locate Dumbbench.pm in @INC (you may need to install the Dumbbench module) (@INC contains: t/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/arch /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1 .) at /usr/perl5.26.1p/lib/5.26.1/parent.pm line 16.
BEGIN failed--compilation aborted at t/lib/ATWDumbbench.pm line 4.
Compilation failed in require at t/008performance.t line 6.
BEGIN failed--compilation aborted at t/008performance.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/008performance.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 
Can't locate Dumbbench.pm in @INC (you may need to install the Dumbbench module) (@INC contains: t/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/arch /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1 .) at /usr/perl5.26.1p/lib/5.26.1/parent.pm line 16.
BEGIN failed--compilation aborted at t/lib/ATWDumbbench.pm line 4.
Compilation failed in require at t/009performance-small.t line 6.
BEGIN failed--compilation aborted at t/009performance-small.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/009performance-small.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 

Also it seems that a minimum version of Dumbbench is required. On some of my smokers:

Undefined subroutine &Dumbbench::unscientific_notation called at t/lib/ATWDumbbench.pm line 34.
# Looks like your test exited with 25 before it could output anything.
t/008performance.t ........ 
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/1 subtests 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.