Package: libnet-perl
Version: 1:1.19-3
Severity: important
Justification: fails to build from source
Hi,
rebuilding libnet-perl under etch fails with
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/hostname.t 2 1 50.00% 1
3 tests and 2 subtests skipped.
Failed 1/8 test scripts, 87.50% okay. 1/92 subtests failed, 98.91% okay.
make[1]: *** [test_dynamic] Error 255
This could be just a shortcomming of my chroot. I do have /etc/hosts
and the hostname binary runs fine within the chroot so I don't know
what could be missing.
A full build log is attached.
MfG
Goswin
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-frosties-2
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
debhelper dpatch file gettext gettext-base html2text intltool-debian
libmagic1 po-debconf
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 3271kB of archives.
After unpacking 11.2MB of additional disk space will be used.
Get:1 http://storage etch/main gettext-base 0.15-3 [127kB]
Get:2 http://storage etch/main libmagic1 4.17-4 [277kB]
Get:3 http://storage etch/main file 4.17-4 [32.0kB]
Get:4 http://storage etch/main html2text 1.3.2a-3 [92.7kB]
Get:5 http://storage etch/main gettext 0.15-3 [2012kB]
Get:6 http://storage etch/main intltool-debian 0.35.0+20060710.1 [30.8kB]
Get:7 http://storage etch/main po-debconf 1.0.7 [106kB]
Get:8 http://storage etch/main debhelper 5.0.40 [510kB]
Get:9 http://storage etch/main dpatch 2.0.20 [84.1kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3271kB in 0s (11.7MB/s)
Selecting previously deselected package gettext-base.
(Reading database ... 10446 files and directories currently installed.)
Unpacking gettext-base (from .../gettext-base_0.15-3_amd64.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.17-4_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.17-4_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.15-3_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb)
...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.7_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.40_all.deb) ...
Selecting previously deselected package dpatch.
Unpacking dpatch (from .../archives/dpatch_2.0.20_all.deb) ...
Setting up gettext-base (0.15-3) ...
Setting up libmagic1 (4.17-4) ...
Setting up file (4.17-4) ...
Setting up html2text (1.3.2a-3) ...
Setting up gettext (0.15-3) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.7) ...
Setting up debhelper (5.0.40) ...
Setting up dpatch (2.0.20) ...
Reading package lists...
Building dependency tree...
Need to get 73.0kB of source archives.
Get:1 http://storage etch/main libnet-perl 1:1.19-3 (dsc) [629B]
Get:2 http://storage etch/main libnet-perl 1:1.19-3 (tar) [64.8kB]
Get:3 http://storage etch/main libnet-perl 1:1.19-3 (diff) [7559B]
dpkg-source: extracting libnet-perl in libnet-perl-1.19
dpkg-source: unpacking libnet-perl_1.19.orig.tar.gz
dpkg-source: applying ./libnet-perl_1.19-3.diff.gz
Fetched 73.0kB in 0s (2379kB/s)
fakeroot debian/rules clean
dpatch deapply-all
21_Complete_Net_SMTP_doc not applied to ./ .
20_use_groff_minus not applied to ./ .
11_Use_libnet.cfg not applied to ./ .
10_Net_POP3_undefined_values not applied to ./ .
10_Net_Cmd_undefined_values not applied to ./ .
rm -rf patch-stamp debian/patched
dh_testdir
dh_testroot
/usr/bin/make realclean
make[1]: Entering directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
make[1]: *** No rule to make target `realclean'. Stop.
make[1]: Leaving directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
make: [clean-unpatched] Error 2 (ignored)
dh_clean build-stamp install-stamp FAQ.txt
debian/rules build
dpatch apply-all
applying patch 10_Net_Cmd_undefined_values to ./ ... ok.
applying patch 10_Net_POP3_undefined_values to ./ ... ok.
applying patch 11_Use_libnet.cfg to ./ ... ok.
applying patch 20_use_groff_minus to ./ ... ok.
applying patch 21_Complete_Net_SMTP_doc to ./ ... ok.
#dpatch call-all -a=pkg-info >patch-stamp #I don't understand this one.
echo patched > patch-stamp
dh_testdir
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Checking for Socket...ok
Checking for IO::Socket...ok
Checking if your kit is complete...
Looks good
Writing Makefile for Net
/usr/bin/make OPTIMIZE="-Wall -g -O2"
make[1]: Entering directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
cp Net/POP3.pm blib/lib/Net/POP3.pm
cp Net/FTP/dataconn.pm blib/lib/Net/FTP/dataconn.pm
cp Net/SMTP.pm blib/lib/Net/SMTP.pm
cp Net/Config.pm blib/lib/Net/Config.pm
cp Net/libnetFAQ.pod blib/lib/Net/libnetFAQ.pod
cp Net/FTP/E.pm blib/lib/Net/FTP/E.pm
cp Net/Domain.pm blib/lib/Net/Domain.pm
cp Net/Cmd.pm blib/lib/Net/Cmd.pm
cp Net/FTP.pm blib/lib/Net/FTP.pm
cp libnet.cfg blib/lib/Net/libnet.cfg
cp Net/FTP/L.pm blib/lib/Net/FTP/L.pm
cp Net/FTP/A.pm blib/lib/Net/FTP/A.pm
cp Net/Netrc.pm blib/lib/Net/Netrc.pm
cp Net/NNTP.pm blib/lib/Net/NNTP.pm
cp Net/Time.pm blib/lib/Net/Time.pm
cp Net/FTP/I.pm blib/lib/Net/FTP/I.pm
Manifying blib/man3/Net::POP3.3pm
Manifying blib/man3/Net::Config.3pm
Manifying blib/man3/Net::SMTP.3pm
Manifying blib/man3/Net::libnetFAQ.3pm
Manifying blib/man3/Net::Domain.3pm
Manifying blib/man3/Net::Cmd.3pm
Manifying blib/man3/Net::FTP.3pm
Manifying blib/man3/Net::Netrc.3pm
Manifying blib/man3/Net::NNTP.3pm
Manifying blib/man3/Net::Time.3pm
make[1]: Leaving directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
pod2text < Net/libnetFAQ.pod > FAQ.txt
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
/usr/bin/make test
make[1]: Entering directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/config......ok
t/datasend....ok
t/ftp.........skipped
all skipped: no reason given
t/hostname....FAILED test 1
Failed 1/2 tests, 50.00% okay
t/netrc.......ok
2/20 skipped: testing as root
t/nntp........skipped
all skipped: no reason given
t/require.....ok
t/smtp........skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/hostname.t 2 1 50.00% 1
3 tests and 2 subtests skipped.
Failed 1/8 test scripts, 87.50% okay. 1/92 subtests failed, 98.91% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory
`/home/mrvn/build/libnet-perl_1_1.19-3/libnet-perl-1.19'
make: *** [install-stamp] Error 2
debuild: fatal error at line 1224:
fakeroot debian/rules binary failed
ERROR building