Package: libwww-mechanize-perl
Version: 1.18-1
Severity: important
Justification: fails to build from source

Hi,

rebuilding libwww-mechanize-perl under etch fails with

Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/local/back.t    1   256    38    1   2.63%  28
3 tests and 10 subtests skipped.
Failed 1/41 test scripts, 97.56% okay. 1/494 subtests failed, 99.80% okay.
make[1]: *** [test_dynamic] Error 255

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 file gettext gettext-base html2text ifupdown intltool-debian
  iputils-ping libarray-compare-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libio-socket-ssl-perl libio-stringy-perl libmagic1
  libnet-ssleay-perl libpod-escapes-perl libpod-simple-perl libssl0.9.8
  libsub-uplevel-perl libtest-exception-perl libtest-pod-perl
  libtest-warn-perl libtree-dagnode-perl liburi-perl libwrap0 libwww-perl
  net-tools netbase openbsd-inetd po-debconf tcpd update-inetd
0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded.
Need to get 6101kB of archives.
After unpacking 19.8MB 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 net-tools 1.60-17 [271kB]
Get:3 http://storage etch/main ifupdown 0.6.8 [51.6kB]
Get:4 http://storage etch/main iputils-ping 3:20020927-3.1 [44.2kB]
Get:5 http://storage etch/main libssl0.9.8 0.9.8c-3 [889kB]
Get:6 http://storage etch/main libwrap0 7.6.dbs-11 [30.1kB]
Get:7 http://storage etch/main update-inetd 4.27 [9678B]
Get:8 http://storage etch/main tcpd 7.6.dbs-11 [80.7kB]
Get:9 http://storage etch/main openbsd-inetd 0.20050402-3 [36.1kB]
Get:10 http://storage etch/main netbase 4.27 [36.3kB]
Get:11 http://storage etch/main libmagic1 4.17-4 [277kB]
Get:12 http://storage etch/main file 4.17-4 [32.0kB]
Get:13 http://storage etch/main html2text 1.3.2a-3 [92.7kB]
Get:14 http://storage etch/main gettext 0.15-3 [2012kB]
Get:15 http://storage etch/main intltool-debian 0.35.0+20060710.1 [30.8kB]
Get:16 http://storage etch/main po-debconf 1.0.7 [106kB]
Get:17 http://storage etch/main debhelper 5.0.40 [510kB]
Get:18 http://storage etch/main libarray-compare-perl 1.13-1 [13.3kB]
Get:19 http://storage etch/main libhtml-tagset-perl 3.10-2 [13.7kB]
Get:20 http://storage etch/main liburi-perl 1.35-2 [87.8kB]
Get:21 http://storage etch/main libhtml-parser-perl 3.55-1 [108kB]
Get:22 http://storage etch/main libhtml-tree-perl 3.19.01-2 [208kB]
Get:23 http://storage etch/main libnet-ssleay-perl 1.30-1 [188kB]
Get:24 http://storage etch/main libio-socket-ssl-perl 1.01-1 [42.8kB]
Get:25 http://storage etch/main libio-stringy-perl 2.110-1 [88.6kB]
Get:26 http://storage etch/main libpod-escapes-perl 1.04-1 [13.0kB]
Get:27 http://storage etch/main libpod-simple-perl 3.04-1 [244kB]
Get:28 http://storage etch/main libsub-uplevel-perl 0.09-2.1 [8548B]
Get:29 http://storage etch/main libtest-exception-perl 0.21-1 [12.9kB]
Get:30 http://storage etch/main libtest-pod-perl 1.24-1 [10.3kB]
Get:31 http://storage etch/main libtree-dagnode-perl 1.05-1 [53.7kB]
Get:32 http://storage etch/main libtest-warn-perl 0.08-2.1 [13.2kB]
Get:33 http://storage etch/main libwww-perl 5.805-1 [361kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6101kB 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 net-tools.
Unpacking net-tools (from .../net-tools_1.60-17_amd64.deb) ...
Selecting previously deselected package ifupdown.
Unpacking ifupdown (from .../ifupdown_0.6.8_amd64.deb) ...
Selecting previously deselected package iputils-ping.
Unpacking iputils-ping (from .../iputils-ping_3%3a20020927-3.1_amd64.deb) ...
Selecting previously deselected package libssl0.9.8.
Unpacking libssl0.9.8 (from .../libssl0.9.8_0.9.8c-3_amd64.deb) ...
Selecting previously deselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.dbs-11_amd64.deb) ...
Selecting previously deselected package update-inetd.
Unpacking update-inetd (from .../update-inetd_4.27_all.deb) ...
Selecting previously deselected package tcpd.
Unpacking tcpd (from .../tcpd_7.6.dbs-11_amd64.deb) ...
Selecting previously deselected package openbsd-inetd.
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20050402-3_amd64.deb) ...
Selecting previously deselected package netbase.
Unpacking netbase (from .../archives/netbase_4.27_all.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 libarray-compare-perl.
Unpacking libarray-compare-perl (from .../libarray-compare-perl_1.13-1_all.deb) 
...
Selecting previously deselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.10-2_all.deb) ...
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.35-2_all.deb) ...
Selecting previously deselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.55-1_amd64.deb) 
...
Selecting previously deselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.19.01-2_all.deb) ...
Selecting previously deselected package libnet-ssleay-perl.
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.30-1_amd64.deb) ...
Selecting previously deselected package libio-socket-ssl-perl.
Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.01-1_all.deb) 
...
Selecting previously deselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-1_all.deb) ...
Selecting previously deselected package libpod-escapes-perl.
Unpacking libpod-escapes-perl (from .../libpod-escapes-perl_1.04-1_all.deb) ...
Selecting previously deselected package libpod-simple-perl.
Unpacking libpod-simple-perl (from .../libpod-simple-perl_3.04-1_all.deb) ...
Selecting previously deselected package libsub-uplevel-perl.
Unpacking libsub-uplevel-perl (from .../libsub-uplevel-perl_0.09-2.1_all.deb) 
...
Selecting previously deselected package libtest-exception-perl.
Unpacking libtest-exception-perl (from 
.../libtest-exception-perl_0.21-1_all.deb) ...
Selecting previously deselected package libtest-pod-perl.
Unpacking libtest-pod-perl (from .../libtest-pod-perl_1.24-1_all.deb) ...
Selecting previously deselected package libtree-dagnode-perl.
Unpacking libtree-dagnode-perl (from .../libtree-dagnode-perl_1.05-1_all.deb) 
...
Selecting previously deselected package libtest-warn-perl.
Unpacking libtest-warn-perl (from .../libtest-warn-perl_0.08-2.1_all.deb) ...
Selecting previously deselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_5.805-1_all.deb) ...
Setting up gettext-base (0.15-3) ...

Setting up net-tools (1.60-17) ...
Setting up ifupdown (0.6.8) ...
ifupdown.postinst: Warning: No 'iface lo' definition found in 
/etc/network/interfaces
ifupdown.postinst: Warning: No 'auto lo' statement found in 
/etc/network/interfaces

Setting up iputils-ping (20020927-3.1) ...
Setting up libssl0.9.8 (0.9.8c-3) ...

Setting up libwrap0 (7.6.dbs-11) ...

Setting up update-inetd (4.27) ...
Setting up tcpd (7.6.dbs-11) ...

Setting up openbsd-inetd (0.20050402-3) ...

Setting up netbase (4.27) ...

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 libarray-compare-perl (1.13-1) ...
Setting up libhtml-tagset-perl (3.10-2) ...
Setting up liburi-perl (1.35-2) ...
Setting up libhtml-parser-perl (3.55-1) ...
Setting up libhtml-tree-perl (3.19.01-2) ...
Setting up libnet-ssleay-perl (1.30-1) ...
Setting up libio-socket-ssl-perl (1.01-1) ...
Setting up libio-stringy-perl (2.110-1) ...

Setting up libpod-escapes-perl (1.04-1) ...
Setting up libpod-simple-perl (3.04-1) ...
Setting up libsub-uplevel-perl (0.09-2.1) ...
Setting up libtest-exception-perl (0.21-1) ...
Setting up libtest-pod-perl (1.24-1) ...
Setting up libtree-dagnode-perl (1.05-1) ...
Setting up libtest-warn-perl (0.08-2.1) ...
Setting up libwww-perl (5.805-1) ...
Reading package lists...
Building dependency tree...
Need to get 110kB of source archives.
Get:1 http://storage etch/main libwww-mechanize-perl 1.18-1 (dsc) [804B]
Get:2 http://storage etch/main libwww-mechanize-perl 1.18-1 (tar) [107kB]
Get:3 http://storage etch/main libwww-mechanize-perl 1.18-1 (diff) [2417B]
dpkg-source: extracting libwww-mechanize-perl in libwww-mechanize-perl-1.18
dpkg-source: unpacking libwww-mechanize-perl_1.18.orig.tar.gz
dpkg-source: applying ./libwww-mechanize-perl_1.18-1.diff.gz
Fetched 110kB in 0s (2654kB/s)
 fakeroot debian/rules clean
dh_testdir
dh_testroot
/usr/bin/make clean
make[1]: Entering directory 
`/home/mrvn/build/libwww-mechanize-perl_1.18-1/libwww-mechanize-perl-1.18'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory 
`/home/mrvn/build/libwww-mechanize-perl_1.18-1/libwww-mechanize-perl-1.18'
make: [clean] Error 2 (ignored)
rm -f Makefile.old
dh_clean
 debian/rules build
dh_testdir
# Add here commands to compile the package.
perl Makefile.PL verbose INSTALLDIRS=vendor --local --mech-dump --nolive

WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.

        Test::Memory::Cycle
        Test::Taint


Checking if your kit is complete...
Looks good
Warning: prerequisite Test::LongString 0 not found.
  ABSTRACT_FROM => q[lib/WWW/Mechanize.pm]
  AUTHOR => q[Andy Lester <[EMAIL PROTECTED]>]
  EXE_FILES => [q[bin/mech-dump]]
  INSTALLDIRS => q[vendor]
  NAME => q[WWW::Mechanize]
  PREREQ_PM => { UNIVERSAL=>q[0], Pod::Usage=>q[0], FindBin=>q[0], 
HTTP::Status=>q[0], HTML::TokeParser=>q[2.28], URI::file=>q[0], 
HTTP::Daemon=>q[0], Getopt::Long=>q[0], HTML::Form=>q[1.038], 
Test::LongString=>q[0], URI=>q[1.25], HTML::HeadParser=>q[0], Carp=>q[0], 
Test::More=>q[0.34], LWP::UserAgent=>q[2.024], HTML::Parser=>q[3.33], 
File::Temp=>q[0], URI::URL=>q[0], HTTP::Request=>q[1.3], LWP=>q[5.76] }
  VERSION_FROM => q[lib/WWW/Mechanize.pm]
  clean => { FILES=>q[WWW-Mechanize-*] }
  test => { TESTS=>q[t/00-load.t t/add_header.t t/aliases.t t/area_link.t 
t/autocheck.t t/clone.t t/die.t t/field.t t/find_image.t t/find_link-warnings.t 
t/find_link.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t 
t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t 
t/regex-error.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t 
t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t 
t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t 
t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t 
t/mech-dump/mech-dump.t] }
Using PERL=/usr/bin/perl
Writing Makefile for WWW::Mechanize
 fakeroot debian/rules binary
dh_testdir
# Add here commands to compile the package.
perl Makefile.PL verbose INSTALLDIRS=vendor --local --mech-dump --nolive

WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.

        Test::Memory::Cycle
        Test::Taint


Warning: prerequisite Test::LongString 0 not found.
  ABSTRACT_FROM => q[lib/WWW/Mechanize.pm]
  AUTHOR => q[Andy Lester <[EMAIL PROTECTED]>]
  EXE_FILES => [q[bin/mech-dump]]
  INSTALLDIRS => q[vendor]
  NAME => q[WWW::Mechanize]
  PREREQ_PM => { UNIVERSAL=>q[0], Pod::Usage=>q[0], FindBin=>q[0], 
HTTP::Status=>q[0], HTML::TokeParser=>q[2.28], URI::file=>q[0], 
HTTP::Daemon=>q[0], Getopt::Long=>q[0], HTML::Form=>q[1.038], 
Test::LongString=>q[0], URI=>q[1.25], HTML::HeadParser=>q[0], Carp=>q[0], 
Test::More=>q[0.34], LWP::UserAgent=>q[2.024], HTML::Parser=>q[3.33], 
File::Temp=>q[0], URI::URL=>q[0], HTTP::Request=>q[1.3], LWP=>q[5.76] }
  VERSION_FROM => q[lib/WWW/Mechanize.pm]
  clean => { FILES=>q[WWW-Mechanize-*] }
  test => { TESTS=>q[t/00-load.t t/add_header.t t/aliases.t t/area_link.t 
t/autocheck.t t/clone.t t/die.t t/field.t t/find_image.t t/find_link-warnings.t 
t/find_link.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t 
t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t 
t/regex-error.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t 
t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t 
t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t 
t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t 
t/mech-dump/mech-dump.t] }
Using PERL=/usr/bin/perl
Writing Makefile for WWW::Mechanize
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
/usr/bin/make 
PREFIX=/home/mrvn/build/libwww-mechanize-perl_1.18-1/libwww-mechanize-perl-1.18/debian/`pwd
 | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`/usr OPTIMIZE="-O2 -g -Wall" test install
make[1]: Entering directory 
`/home/mrvn/build/libwww-mechanize-perl_1.18-1/libwww-mechanize-perl-1.18'
cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm
cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod
cp lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Image.pm
cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod
cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod
cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm
cp bin/mech-dump blib/script/mech-dump
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-dump
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t 
t/autocheck.t t/clone.t t/die.t t/field.t t/find_image.t t/find_link-warnings.t 
t/find_link.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t 
t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t 
t/regex-error.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t 
t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t 
t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t 
t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t 
t/mech-dump/mech-dump.t
t/00-load................# Testing WWW::Mechanize 1.18
ok
t/add_header.............ok
t/aliases................ok
t/area_link..............ok
        4/9 skipped: Test::Memory::Cycle not installed
t/autocheck..............ok
t/clone..................ok
t/die....................ok
t/field..................ok
t/find_image.............ok
t/find_link-warnings.....ok
t/find_link..............ok
t/form-parsing...........ok
t/frames.................ok
t/image-new..............ok
t/image-parse............ok
t/link-base..............ok
t/link-relative..........ok
t/link...................ok
t/local/back.............# Started http://localhost:41919/

#   Failed test '404 check'
#   in t/local/back.t at line 148.
#          got: '500'
#     expected: '404'
# Looks like you failed 1 test of 38.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 28
        Failed 1/38 tests, 97.37% okay (less 2 skipped tests: 35 okay, 92.11%)
t/local/click............# Started http://localhost:44958/
ok
t/local/click_button.....# Started http://localhost:50339/
ok
t/local/failure..........# Started http://localhost:45070/
ok
t/local/follow...........# Started http://localhost:49340/
ok
t/local/form.............# Started http://localhost:45116/
ok
t/local/get..............# Started http://localhost:51306/
ok
        1/37 skipped: Test::Memory::Cycle not installed
t/local/overload.........skipped
        all skipped: Mysteriously stopped passing, and I don't know why.
t/local/page_stack.......# Started http://localhost:41242/
ok
t/local/referer..........ok
        1/18 skipped: Test::Memory::Cycle not installed
t/local/reload...........# Started http://localhost:60535/
ok
        1/16 skipped: Test::Memory::Cycle not installed
t/local/submit...........# Started http://localhost:38937/
ok
        1/15 skipped: Test::Memory::Cycle not installed
t/mech-dump/mech-dump....ok
t/new....................ok
t/pod-coverage...........skipped
        all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod....................ok
t/regex-error............ok
t/select.................ok
t/taint..................skipped
        all skipped: Test::Taint required for checking taintedness
t/tick...................ok
t/upload.................ok
t/warn...................ok
t/warnings...............ok
Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/local/back.t    1   256    38    1   2.63%  28
3 tests and 10 subtests skipped.
Failed 1/41 test scripts, 97.56% okay. 1/494 subtests failed, 99.80% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory 
`/home/mrvn/build/libwww-mechanize-perl_1.18-1/libwww-mechanize-perl-1.18'
make: *** [install] Error 2
debuild: fatal error at line 1224:
fakeroot debian/rules binary failed
ERROR building

Reply via email to