Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 40777
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: nonsolosoft [...] diff.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.47
Fixed in: (no value)



Subject: fails tests and install on dragonflybsd 2.1
Running make for C/CO/CORION/WWW-Mechanize-Shell-0.47.tar.gz Has already been unwrapped into directory /root/.cpan/build/WWW-Mechanize-Shel l-0.47-ZnC8du CPAN.pm: Going to build C/CO/CORION/WWW-Mechanize-Shell-0.47.tar.gz cp lib/WWW/Mechanize/Shell.pm blib/lib/WWW/Mechanize/Shell.pm Manifying blib/man3/WWW::Mechanize::Shell.3 CORION/WWW-Mechanize-Shell-0.47.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness (0, 'blib/lib', 'blib/arch')" t/*.t t/00-use.............................1/22 # Running under 5.008008 # Using 'WWW::Mechanize' version 1.50 # Using 'LWP::UserAgent' version 5.816 t/00-use.............................ok t/00a-Term-Shell-catch-smry..........ok t/01-fallback-Win32-OLE..............ok t/02-fallback-HTML-TableExtract......ok t/02-fallback-Pod-Constant...........ok t/03-documentation...................ok t/04-history-invariant...............ok t/05-options.........................ok t/06-valid-output....................ok t/07-history-items...................ok t/08-unknown-command.................ok t/09-invalid-filename................ok t/10-nonexistent-host................ok t/11-browse-without-request..........ok t/12-comments........................ok t/13-command-au......................1/7 # get http://foo:bar@lap.diff.org:1656/ t/13-command-au......................2/7 Use of uninitialized value in concatena tion (.) or string at /usr/pkg/lib/perl5/site_perl/5.8.0/LWP/Authen/Basic.pm lin e 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. Use of uninitialized value in concatenation (.) or string at /usr/pkg/lib/perl5/ site_perl/5.8.0/LWP/Authen/Basic.pm line 8. # Failed test 'Request without credentials gives 401' # at t/13-command-au.t line 53. # got: '200' # expected: '401' # Failed test 'Content requests authentication' # at t/13-command-au.t line 54. # 'user = 'foo' pass = 'bar'' # doesn't match '/^auth required /' Use of uninitialized value in pattern match (m//) at /root/.cpan/build/WWW-Mecha nize-Shell-0.47-ZnC8du/blib/lib/WWW/Mechanize/Shell.pm line 1366. # LWP stored credentials: lap.diff.org:1656 testing realm # Failed test 'UA stored the authentification' # at t/13-command-au.t line 65. # Structures begin differing at: # $got->[0] = 'lap.diff.org:1656' # $expected->[0] = 'foo' # WWW::Mechanize returned credentials: *LWP::UserAgent::get_basic_credentials # Shutting down test server at http://lap.diff.org:1656/ # Looks like you failed 3 tests of 7. t/13-command-au...................... Dubious, test returned 3 (wstat 768, 0x300 ) Failed 3/7 subtests (less 1 skipped subtest: 3 okay) t/14-command-identity................1/353 # Loading HTTP::Daemon # Spawning local test server # on port 1667 t/14-command-identity................ok t/15-history-save....................ok t/16-form-fillout....................ok t/17-eval-multiline..................ok t/18-browser-autosync................ok t/19-value-multi.....................ok t/20-restart-without-script..........ok t/21-autofill-re.....................ok t/22-complete-command................ok t/23-check-dumpresponses.............ok t/24-source-file.....................ok t/25-save-file-nolink................ok t/26-form-no-form....................ok t/27-form_number.....................ok t/28-cmd-title.......................ok t/28-html-tableextract...............ok t/29-launch-shell....................ok t/98-bin.............................ok t/99-manifest........................ok t/99-pod.............................ok t/99-todo............................ok t/99-unix-text.......................ok Test Summary Report ------------------- t/13-command-au.t (Wstat: 768 Tests: 7 Failed: 3) Failed tests: 4-6 Non-zero exit status: 3 Files=38, Tests=767, 82 wallclock secs ( 0.43 usr 0.03 sys + 50.53 cusr 7.20 c sys = 58.20 CPU) Result: FAIL Failed 1/38 test programs. 3/767 subtests failed. *** Error code 255 Stop in /root/.cpan/build/WWW-Mechanize-Shell-0.47-ZnC8du. CORION/WWW-Mechanize-Shell-0.47.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CORION/WWW-Mechanize-Shell-0.47.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: CORION/WWW-Mechanize-Shell-0.47.tar.gz : make_test NO perl -lap# perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=dragonfly, osvers=1.11.0-development, archname=i386-dragonfly-thread-multi uname='dragonfly lap.diff.org 1.11.0-development dragonfly 1.11.0-development #1: tue nov 6 06:24:45 cet 2007 root@lap.diff.org:usrobjusrsrcsystoshiba i386 ' config_args='-sde -Darchname=i386-dragonfly -Dcc=cc -Doptimize=-O2 -pthread -I/usr/include -Duseshrplib -Ui_malloc -Uusemymalloc -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Dprefix=/usr/pkg -Dsiteprefix=/usr/pkg -Dvendorprefix=/usr/pkg -Dscriptdir=/usr/pkg/lib/perl5/bin -Dsitescript=/usr/pkg/lib/perl5/site_perl/bin -Dvendorscript=/usr/pkg/lib/perl5/vendor_perl/bin -Dsitebin=/usr/pkg/lib/perl5/site_perl/bin -Dvendorbin=/usr/pkg/lib/perl5/vendor_perl/bin -Dprivlib=/usr/pkg/lib/perl5/5.8.0 -Dsitelib=/usr/pkg/lib/perl5/site_perl/5.8.0 -Dvendorlib=/usr/pkg/lib/perl5/vendor_perl/5.8.0 -Dsitelib_stem=/usr/pkg/lib/perl5/site_perl -Dvendorlib_stem=/usr/pkg/lib/perl5/vendor_perl -Dman1ext=1 -Dman1dir=/usr/pkg/lib/perl5/man/man1 -Dsiteman1dir=/usr/pkg/lib/perl5/site_perl/man/man1 -Dvendorman1dir=/usr/pkg/lib/perl5/vendor_perl/man/man1 -Dman3ext=3 -Dman3dir=/usr/pkg/lib/perl5/man/man3 -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 -Dvendorman3dir=/usr/pkg/lib/perl5/vendor_perl/man/man3 -Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/usr/bin/sed -Dsh=/bin/sh -Dissymlink=test -h -Dperl5=/usr/bin/false -Duseithreads -Dlibswanted=m crypt pthread' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/pkg/include', optimize='-O2 -pthread -I/usr/include', cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/pkg/include' ccversion='', gccversion='4.1.2 (DragonFly)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-R/usr/pkg/lib -pthread -Wl,-E ' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lpthread perllibs=-lm -lcrypt -lpthread libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-dragonfly-thread-multi/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-Wl,-R/usr/pkg/lib -shared ' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under dragonfly Compiled at Nov 8 2007 16:34:34 @INC: /usr/pkg/lib/perl5/site_perl/5.8.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl /usr/pkg/lib/perl5/5.8.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/5.8.0 . lap# uname -a DragonFly lap.diff.org 2.1.0-DEVELOPMENT DragonFly 2.1.0-DEVELOPMENT #3: Mon Aug 4 16:43:04 CEST 2008 ferz@lap.diff.org:/dati/obj/usr/src/sys/TOSHIBA i386
Subject: Re: [rt.cpan.org #40777] fails tests and install on dragonflybsd 2.1
Date: Sun, 09 Nov 2008 13:12:59 +0100
To: bug-WWW-Mechanize-Shell [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello, thanks for your report. This issue is a known problem between WWW::Mechanize and LWP::UserAgent, which both implement conflicting versions of a ->credentials() method. This failure will persist until either one fixes the conflict. There is nothing I can do about it except remove the failing test. -max Show quoted text
> Sun Nov 09 05:37:24 2008: Request 40777 was acted upon. > Transaction: Ticket created by nonsolosoft@diff.org > Queue: WWW-Mechanize-Shell > Subject: fails tests and install on dragonflybsd 2.1 > Broken in: 0.47 > Severity: Normal > Owner: Nobody > Requestors: nonsolosoft@diff.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40777 > > > > Running make for C/CO/CORION/WWW-Mechanize-Shell-0.47.tar.gz > Has already been unwrapped into directory > /root/.cpan/build/WWW-Mechanize-Shel > l-0.47-ZnC8du > > CPAN.pm: Going to build C/CO/CORION/WWW-Mechanize-Shell-0.47.tar.gz > > cp lib/WWW/Mechanize/Shell.pm blib/lib/WWW/Mechanize/Shell.pm > Manifying blib/man3/WWW::Mechanize::Shell.3 > CORION/WWW-Mechanize-Shell-0.47.tar.gz > /usr/bin/make -- OK > Running make test > PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness > (0, 'blib/lib', 'blib/arch')" t/*.t > t/00-use.............................1/22 # Running under 5.008008 > # Using 'WWW::Mechanize' version 1.50 > # Using 'LWP::UserAgent' version 5.816 > t/00-use.............................ok > t/00a-Term-Shell-catch-smry..........ok > t/01-fallback-Win32-OLE..............ok > t/02-fallback-HTML-TableExtract......ok > t/02-fallback-Pod-Constant...........ok > t/03-documentation...................ok > t/04-history-invariant...............ok > t/05-options.........................ok > t/06-valid-output....................ok > t/07-history-items...................ok > t/08-unknown-command.................ok > t/09-invalid-filename................ok > t/10-nonexistent-host................ok > t/11-browse-without-request..........ok > t/12-comments........................ok > t/13-command-au......................1/7 # get > http://foo:bar@lap.diff.org:1656/ > t/13-command-au......................2/7 Use of uninitialized value in > concatena > tion (.) or string at > /usr/pkg/lib/perl5/site_perl/5.8.0/LWP/Authen/Basic.pm lin > e 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > Use of uninitialized value in concatenation (.) or string at > /usr/pkg/lib/perl5/ > site_perl/5.8.0/LWP/Authen/Basic.pm line 8. > > # Failed test 'Request without credentials gives 401' > # at t/13-command-au.t line 53. > # got: '200' > # expected: '401' > > # Failed test 'Content requests authentication' > # at t/13-command-au.t line 54. > # 'user = 'foo' pass = 'bar'' > # doesn't match '/^auth required /' > Use of uninitialized value in pattern match (m//) at > /root/.cpan/build/WWW-Mecha > nize-Shell-0.47-ZnC8du/blib/lib/WWW/Mechanize/Shell.pm line 1366. > # LWP stored credentials: lap.diff.org:1656 testing realm > > # Failed test 'UA stored the authentification' > # at t/13-command-au.t line 65. > # Structures begin differing at: > # $got->[0] = 'lap.diff.org:1656' > # $expected->[0] = 'foo' > # WWW::Mechanize returned credentials: > *LWP::UserAgent::get_basic_credentials > # Shutting down test server at http://lap.diff.org:1656/ > # Looks like you failed 3 tests of 7. > t/13-command-au...................... Dubious, test returned 3 (wstat > 768, 0x300 > ) > Failed 3/7 subtests > (less 1 skipped subtest: 3 okay) > t/14-command-identity................1/353 # Loading HTTP::Daemon > # Spawning local test server > # on port 1667 > t/14-command-identity................ok > t/15-history-save....................ok > t/16-form-fillout....................ok > t/17-eval-multiline..................ok > t/18-browser-autosync................ok > t/19-value-multi.....................ok > t/20-restart-without-script..........ok > t/21-autofill-re.....................ok > t/22-complete-command................ok > t/23-check-dumpresponses.............ok > t/24-source-file.....................ok > t/25-save-file-nolink................ok > t/26-form-no-form....................ok > t/27-form_number.....................ok > t/28-cmd-title.......................ok > t/28-html-tableextract...............ok > t/29-launch-shell....................ok > t/98-bin.............................ok > t/99-manifest........................ok > t/99-pod.............................ok > t/99-todo............................ok > t/99-unix-text.......................ok > > Test Summary Report > ------------------- > t/13-command-au.t (Wstat: 768 Tests: 7 Failed: 3) > Failed tests: 4-6 > Non-zero exit status: 3 > Files=38, Tests=767, 82 wallclock secs ( 0.43 usr 0.03 sys + 50.53 cusr > 7.20 c > sys = 58.20 CPU) > Result: FAIL > Failed 1/38 test programs. 3/767 subtests failed. > *** Error code 255 > > Stop in /root/.cpan/build/WWW-Mechanize-Shell-0.47-ZnC8du. > CORION/WWW-Mechanize-Shell-0.47.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports CORION/WWW-Mechanize-Shell-0.47.tar.gz > Running make install > make test had returned bad status, won't install without force > Failed during this command: > CORION/WWW-Mechanize-Shell-0.47.tar.gz : make_test NO > > perl -lap# perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=dragonfly, osvers=1.11.0-development, > archname=i386-dragonfly-thread-multi > uname='dragonfly lap.diff.org 1.11.0-development dragonfly > 1.11.0-development #1: tue nov 6 06:24:45 cet 2007 > root@lap.diff.org:usrobjusrsrcsystoshiba i386 ' > config_args='-sde -Darchname=i386-dragonfly -Dcc=cc -Doptimize=-O2 > -pthread -I/usr/include -Duseshrplib -Ui_malloc -Uusemymalloc > -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Dprefix=/usr/pkg > -Dsiteprefix=/usr/pkg -Dvendorprefix=/usr/pkg > -Dscriptdir=/usr/pkg/lib/perl5/bin > -Dsitescript=/usr/pkg/lib/perl5/site_perl/bin > -Dvendorscript=/usr/pkg/lib/perl5/vendor_perl/bin > -Dsitebin=/usr/pkg/lib/perl5/site_perl/bin > -Dvendorbin=/usr/pkg/lib/perl5/vendor_perl/bin > -Dprivlib=/usr/pkg/lib/perl5/5.8.0 > -Dsitelib=/usr/pkg/lib/perl5/site_perl/5.8.0 > -Dvendorlib=/usr/pkg/lib/perl5/vendor_perl/5.8.0 > -Dsitelib_stem=/usr/pkg/lib/perl5/site_perl > -Dvendorlib_stem=/usr/pkg/lib/perl5/vendor_perl -Dman1ext=1 > -Dman1dir=/usr/pkg/lib/perl5/man/man1 > -Dsiteman1dir=/usr/pkg/lib/perl5/site_perl/man/man1 > -Dvendorman1dir=/usr/pkg/lib/perl5/vendor_perl/man/man1 -Dman3ext=3 > -Dman3dir=/usr/pkg/lib/perl5/man/man3 > -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 > -Dvendorman3dir=/usr/pkg/lib/perl5/vendor_perl/man/man3 > -Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/usr/bin/sed -Dsh=/bin/sh > -Dissymlink=test -h -Dperl5=/usr/bin/false -Duseithreads -Dlibswanted=m > crypt pthread' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/pkg/include', > optimize='-O2 -pthread -I/usr/include', > cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/pkg/include' > ccversion='', gccversion='4.1.2 (DragonFly)', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='cc', ldflags ='-Wl,-R/usr/pkg/lib -pthread -Wl,-E ' > libpth=/usr/lib /usr/local/lib > libs=-lm -lcrypt -lpthread > perllibs=-lm -lcrypt -lpthread > libc=, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' > -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-dragonfly-thread-multi/CORE' > cccdlflags='-DPIC -fPIC', lddlflags='-Wl,-R/usr/pkg/lib -shared ' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT > PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES > USE_PERLIO USE_REENTRANT_API > Built under dragonfly > Compiled at Nov 8 2007 16:34:34 > @INC: > /usr/pkg/lib/perl5/site_perl/5.8.0/i386-dragonfly-thread-multi > /usr/pkg/lib/perl5/site_perl/5.8.0 > /usr/pkg/lib/perl5/site_perl > /usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-dragonfly-thread-multi > /usr/pkg/lib/perl5/vendor_perl/5.8.0 > /usr/pkg/lib/perl5/vendor_perl > /usr/pkg/lib/perl5/5.8.0/i386-dragonfly-thread-multi > /usr/pkg/lib/perl5/5.8.0 > . > > lap# uname -a > DragonFly lap.diff.org 2.1.0-DEVELOPMENT DragonFly 2.1.0-DEVELOPMENT #3: > Mon Aug 4 16:43:04 CEST 2008 > ferz@lap.diff.org:/dati/obj/usr/src/sys/TOSHIBA i386 > >
Also see #40062 which is basically the same issue. WWW::Mechanize and LWP::UserAgent implement conflicting versions of the ->credentials method and except requiring the latest of the greatest WWW::Mechanize seems to be the only fix. I don't want to do that. -max