Bug#689476: : No such file or directory at /usr/share/perl5/Pristine/Tar/Formats.pm line 65

Mathieu Malaterre malat at debian.org
Wed Oct 3 08:04:56 UTC 2012


Package: dh-make-perl
Severity: normal

I am trying to prepare the debian package for:

http://sourceforge.net/projects/refdb/files/refdb-perlmod/RefDB-perlmod-1.2/RefDB-perlmod-1.2.tar.gz

When running the command it fails with:

$ dh-make-perl
Using META.yml
Found: RefDB-perlmod 1.2 (librefdb-perlmod-perl arch=all)
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_experimental_contrib_Contents-amd64.gz ...
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_experimental_main_Contents-amd64.gz ...
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_experimental_non-free_Contents-amd64.gz ...
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_sid_contrib_Contents-amd64.gz ...
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_sid_main_Contents-amd64.gz ...
Parsing /var/cache/apt/apt-file/ftp.fr.debian.org_debian_dists_sid_non-free_Contents-amd64.gz ...

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] 

 <install_help>

Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib] 

Autoconfigured everything but 'urllist'.

Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes] 
Trying to fetch a mirror list from the Internet
Fetching with LWP:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
............................ done!

New urllist
  http://mir2.ovh.net/ftp.cpan.org/
  http://www.mirror.8086.net/sites/CPAN/
  http://cpan.mirror.anlx.net/

Autoconfiguration complete.

Attempting to bootstrap local::lib...

Writing /home/mathieu/.cpan/CPAN/MyConfig.pm for bootstrap...
commit: wrote '/home/mathieu/.cpan/CPAN/MyConfig.pm'
Fetching with LWP:
http://mir2.ovh.net/ftp.cpan.org/authors/01mailrc.txt.gz
Going to read '/home/mathieu/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://mir2.ovh.net/ftp.cpan.org/modules/02packages.details.txt.gz
Going to read '/home/mathieu/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Wed, 03 Oct 2012 05:43:04 GMT
..............
  New CPAN.pm version (v1.9800) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


..............................................................DONE
Fetching with LWP:
http://mir2.ovh.net/ftp.cpan.org/modules/03modlist.data.gz
Going to read '/home/mathieu/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /home/mathieu/.cpan/Metadata
Running make for A/AP/APEIRON/local-lib-1.008004.tar.gz
Fetching with LWP:
http://mir2.ovh.net/ftp.cpan.org/authors/id/A/AP/APEIRON/local-lib-1.008004.tar.gz
Fetching with LWP:
http://mir2.ovh.net/ftp.cpan.org/authors/id/A/AP/APEIRON/CHECKSUMS
Checksum for /home/mathieu/.cpan/sources/authors/id/A/AP/APEIRON/local-lib-1.008004.tar.gz ok

  CPAN.pm: Going to build A/AP/APEIRON/local-lib-1.008004.tar.gz

Attempting to create directory /home/mathieu/perl5


*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
    of the dependency's installation later.
[Core Features]
- ExtUtils::MakeMaker ...loaded. (6.57_05 >= 6.31)
- ExtUtils::Install   ...loaded. (1.56 >= 1.43)
- Module::Build       ...loaded. (0.38 >= 0.36)
- CPAN                ...loaded. (1.960001 >= 1.82)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for local::lib
Writing MYMETA.yml
cp lib/POD2/PT_BR/local/lib.pod blib/lib/POD2/PT_BR/local/lib.pod
cp lib/lib/core/only.pm blib/lib/lib/core/only.pm
cp lib/local/lib.pm blib/lib/local/lib.pm
cp lib/POD2/DE/local/lib.pod blib/lib/POD2/DE/local/lib.pod
Manifying blib/man3/POD2::PT_BR::local::lib.3pm
Manifying blib/man3/lib::core::only.3pm
Manifying blib/man3/local::lib.3pm
Manifying blib/man3/POD2::DE::local::lib.3pm
  APEIRON/local-lib-1.008004.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I/home/mathieu/perl5/lib/perl5/x86_64-linux-gnu-thread-multi -I/home/mathieu/perl5/lib/perl5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/classmethod.t t/coderefs_in_inc.t t/de-dup.t t/install.t t/lib-core-only.t t/pipeline.t t/stackable.t
t/classmethod.t ...... Name "File::Spec::rel2abs" used only once: possible typo at t/classmethod.t line 20.
t/classmethod.t ...... 1/? Attempting to create directory t/var/splat
t/classmethod.t ...... ok   
t/coderefs_in_inc.t .. ok   
t/de-dup.t ........... ok   
t/install.t .......... skipped: Install Capture::Tiny to test installation
t/lib-core-only.t .... ok   
t/pipeline.t ......... ok   
t/stackable.t ........ ok     
All tests successful.
Files=7, Tests=29,  0 wallclock secs ( 0.04 usr  0.01 sys +  0.22 cusr  0.02 csys =  0.29 CPU)
Result: PASS
  APEIRON/local-lib-1.008004.tar.gz
  /usr/bin/make test -- OK
Running make install
Manifying blib/man3/POD2::PT_BR::local::lib.3pm
Manifying blib/man3/lib::core::only.3pm
Installing /home/mathieu/perl5/lib/perl5/local/lib.pm
Installing /home/mathieu/perl5/lib/perl5/POD2/PT_BR/local/lib.pod
Installing /home/mathieu/perl5/lib/perl5/POD2/DE/local/lib.pod
Installing /home/mathieu/perl5/lib/perl5/lib/core/only.pm
Installing /home/mathieu/perl5/man/man3/POD2::PT_BR::local::lib.3pm
Installing /home/mathieu/perl5/man/man3/lib::core::only.3pm
Installing /home/mathieu/perl5/man/man3/local::lib.3pm
Installing /home/mathieu/perl5/man/man3/POD2::DE::local::lib.3pm
Appending installation info to /home/mathieu/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod
  APEIRON/local-lib-1.008004.tar.gz
  /usr/bin/make install  -- OK
Tried to deactivate inactive local::lib '/home/mathieu/perl5'

local::lib is installed. You must now add the following environment variables
to your shell configuration files (or registry, if you are on Windows) and
then restart your command line shell and CPAN before installing modules:

Use of uninitialized value $deactivating in numeric eq (==) at /home/mathieu/perl5/lib/perl5/local/lib.pm line 354.
Use of uninitialized value $deactivating in numeric eq (==) at /home/mathieu/perl5/lib/perl5/local/lib.pm line 356.
Use of uninitialized value $interpolate in numeric eq (==) at /home/mathieu/perl5/lib/perl5/local/lib.pm line 366.
export PERL_LOCAL_LIB_ROOT="/home/mathieu/perl5";
export PERL_MB_OPT="--install_base /home/mathieu/perl5";
export PERL_MM_OPT="INSTALL_BASE=/home/mathieu/perl5";
export PERL5LIB="/home/mathieu/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:/home/mathieu/perl5/lib/perl5";
export PATH="/home/mathieu/perl5/bin:$PATH";

Would you like me to append that to /home/mathieu/.zshrc now? [yes] no


commit: wrote '/home/mathieu/.cpan/CPAN/MyConfig.pm'

You can re-run configuration any time with 'o conf init' in the CPAN shell
= perl >= 5.008001 is in core
= ExtUtils::MakeMaker >= 6.31 is in core since 5.8.9
= CPAN >= 1.82 is in core since 5.8.9
= Module::Build >= 0.36 is in core since 5.11.3
= ExtUtils::Install >= 1.43 is in core since 5.8.9

Needs the following debian packages: perl (>= 5.11.3)
= ExtUtils::MakeMaker  is in core since 5.0.0

Needs the following debian packages during building: perl (>= 5.0.0)
Using maintainer: Mathieu Malaterre <malat at debian.org>
Found docs: 
Using rules: /usr/share/dh-make-perl/rules.dh7.tiny
Module::AutoInstall needs debhelper (>= 7.2.13)
--- Done
Switched to a new branch 'master'
Use of uninitialized value $tarball in system at /usr/share/perl5/DhMakePerl/Command/make.pm line 623.
tar: Old option `f' requires an argument.
Try `tar --help' or `tar --usage' for more information.
: No such file or directory at /usr/share/perl5/Pristine/Tar/Formats.pm line 65.
pristine-tar: failed to generate delta
Reading package lists... Done
Building dependency tree       
Reading state information... Done


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-perl-maintainers mailing list