Subject: | Trying to install a specific tarball causes weird output |
Hello,
I was digging around the docs trying to find a way to install a
specific version of a module. Sorry if I didn't find it! However, I
figured out that I could do that by specifying a tarball path.
However, the bug is that it outputs some weird lines *before* actually
proceeding with the install. While it's harmless ( the requested tarball
installed OK ) it's funky :)
I will try to dig around CPANPLUS source and supply a patch if I can
figure it out. Thanks for looking into this!
root@blackhole:~# cpanp i GAAS/Digest-MD5-2.40.tar.gz
[MSG] Retrieving /root/.cpanplus/sourcefiles.s2.24.c0.9010.stored
[ERROR] is not a proper distribution name!
No such module:
Installing Digest::MD5 (2.40)
[MSG] Trying to get
'ftp://192.168.0.200/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.40.tar.gz'
[MSG] Trying to get
'ftp://192.168.0.200/CPAN/authors/id/G/GA/GAAS/CHECKSUMS'
[MSG] Checksum matches for 'Digest-MD5-2.40.tar.gz'
[MSG] Extracted 'Digest-MD5-2.40/'
[MSG] Extracted 'Digest-MD5-2.40/Changes'
[MSG] Extracted 'Digest-MD5-2.40/hints/'
[MSG] Extracted 'Digest-MD5-2.40/Makefile.PL'
[MSG] Extracted 'Digest-MD5-2.40/MANIFEST'
[MSG] Extracted 'Digest-MD5-2.40/MD5.pm'
[MSG] Extracted 'Digest-MD5-2.40/MD5.xs'
[MSG] Extracted 'Digest-MD5-2.40/META.yml'
[MSG] Extracted 'Digest-MD5-2.40/README'
[MSG] Extracted 'Digest-MD5-2.40/rfc1321.txt'
[MSG] Extracted 'Digest-MD5-2.40/t/'
[MSG] Extracted 'Digest-MD5-2.40/typemap'
[MSG] Extracted 'Digest-MD5-2.40/t/align.t'
[MSG] Extracted 'Digest-MD5-2.40/t/badfile.t'
[MSG] Extracted 'Digest-MD5-2.40/t/bits.t'
[MSG] Extracted 'Digest-MD5-2.40/t/clone.t'
[MSG] Extracted 'Digest-MD5-2.40/t/files.t'
[MSG] Extracted 'Digest-MD5-2.40/t/md5-aaa.t'
[MSG] Extracted 'Digest-MD5-2.40/t/utf8.t'
[MSG] Extracted 'Digest-MD5-2.40/hints/dec_osf.pl'
[MSG] Extracted 'Digest-MD5-2.40/hints/irix_6.pl'
[MSG] Extracted 'Digest-MD5-2.40/hints/MacOS.pl'
[MSG] Extracted 'Digest::MD5' to
'/root/.cpanplus/5.10.0/build/Digest-MD5-2.40'
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.10.0/build/Digest-MD5-2.40/Makefile.PL]...
Perl's config says that U32 access must be aligned.
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
Running [/usr/bin/make]...
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap
/usr/share/perl/5.10/ExtUtils/typemap -typemap typemap MD5.xs > MD5.xsc
&& mv MD5.xsc MD5.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-DVERSION=\"2.40\" -DXS_VERSION=\"2.40\" -fPIC
"-I/usr/lib/perl/5.10/CORE" -DU32_ALIGNMENT_REQUIRED MD5.c
MD5.xs: In function ‘MD5Update’:
MD5.xs:405: warning: format not a string literal and no format arguments
MD5.xs:408: warning: format not a string literal and no format arguments
MD5.xs:418: warning: format not a string literal and no format arguments
MD5.xs: In function ‘MD5Final’:
MD5.xs:432: warning: format not a string literal and no format arguments
MD5.xs: In function ‘XS_Digest__MD5_new’:
MD5.xs:572: warning: format not a string literal and no format arguments
MD5.xs: In function ‘XS_Digest__MD5_clone’:
MD5.xs:591: warning: format not a string literal and no format arguments
Running Mkbootstrap for Digest::MD5 ()
chmod 644 MD5.bs
rm -f blib/arch/auto/Digest/MD5/MD5.so
cc -shared -O2 -g -L/usr/local/lib MD5.o -o
blib/arch/auto/Digest/MD5/MD5.so \
\
chmod 755 blib/arch/auto/Digest/MD5/MD5.so
cp MD5.bs blib/arch/auto/Digest/MD5/MD5.bs
chmod 644 blib/arch/auto/Digest/MD5/MD5.bs
Manifying blib/man3/Digest::MD5.3pm
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/align.t .... ok
t/badfile.t .. ok
t/bits.t ..... ok
t/clone.t .... ok
t/files.t .... ok
t/md5-aaa.t .. ok
t/utf8.t ..... ok
All tests successful.
Files=7, Tests=273, 0 wallclock secs ( 0.04 usr 0.04 sys + 0.30 cusr
0.03 csys = 0.41 CPU)
Result: PASS
Running [/usr/bin/make install]...
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/lib/perl/5.10/auto/Digest/MD5/MD5.so
Installing /usr/lib/perl/5.10/Digest/MD5.pm
Installing /usr/share/man/man3/Digest::MD5.3pm
Appending installation info to /usr/lib/perl/5.10/perllocal.pod
Module 'Digest::MD5' installed successfully
No errors installing all modules
--
~Apocalypse