develooper Front page | perl.perl5.porters | Postings from November 2003

[perl #24473] LWP installation with perl-5.8.1 has problems

From:
perlbug-followup
Date:
November 11, 2003 22:20
Subject:
[perl #24473] LWP installation with perl-5.8.1 has problems
Message ID:
rt-24473-67340.14.0660056801024@rt.perl.org
# New Ticket Created by  warrend@tek.com 
# Please include the string:  [perl #24473]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24473 >



This is a bug report for perl from warrend@tek.com,
generated with the help of perlbug 1.34 running under perl v5.8.1.


-----------------------------------------------------------------
[Please enter your report here]

In building perl 5.8.1 I am installing the LWP module. Everything goes fine
until part way through the tests. Then there is a lot of "Use of
uninitialized value" messages and a number of tests that fail. I did not have
these kinds of problems with 5.8.0 a cuple months ago.

Below is the install process output minus all the file listings and file cp's

install LWP     
Running install for module LWP
Running make for G/GA/GAAS/libwww-perl-5.75.tar.gz
LWP not available
Fetching with Net::FTP:
  ftp://archive.progeny.com/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.75.tar.gz
Checksum for /proj/wdtold/warrend/cpan_perl-5.8.1_sun5.8/sources/authors/id/G/GA/GAAS/libwww-perl-5.75.tar.gz ok

Lots of files listed
...

  CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.75.tar.gz


You appear to be directly connected to the Internet.  I have some tests
that tries to access some sites on the net to verify that the new HTTP/1.1
support works as it should.

Do you want to enable these tests? [y] 

This package comes with some sample programs that I can try
to install in /proj/wdt/gnu_sun5.8/perl-5.8.1/bin.

   Note that you can avoid these questions by passing
   the '-n' option to 'Makefile.PL'.

Do you want to install lwp-request? [y] 
Do you want to install lwp-mirror? [y] 
Do you want to install lwp-rget? [y] 
Do you want to install lwp-download? [y] 

The lwp-request program will use the name it is invoked with to
determine what HTTP method to use.  I can set up alias for the most
common HTTP methods.  These alias are also installed in
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin.

Do you want to install the GET alias? [y] 
Do you want to install the HEAD alias? [y] 
Do you want to install the POST alias? [y] 

Checking for URI........... ok
Checking for HTML::Parser.. ok
Checking for MIME::Base64.. ok
Checking for Net::FTP...... ok
Checking for Digest::MD5 .. ok

Checking if your kit is complete...
Looks good
Writing Makefile for libwww-perl

Lots of files copied.
...

cp bin/HEAD blib/script/HEAD
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/HEAD
cp bin/GET blib/script/GET
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/GET
cp bin/lwp-rget blib/script/lwp-rget
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-rget
cp bin/POST blib/script/POST
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/POST
cp bin/lwp-request blib/script/lwp-request
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-request
cp bin/lwp-download blib/script/lwp-download
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-download
cp bin/lwp-mirror blib/script/lwp-mirror
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-mirror

Lots of man pages made
...

Running make test
cp bin/HEAD blib/script/HEAD
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/HEAD
cp bin/GET blib/script/GET
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/GET
cp bin/lwp-rget blib/script/lwp-rget
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-rget
cp bin/POST blib/script/POST
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/POST
cp bin/lwp-request blib/script/lwp-request
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-request
cp bin/lwp-download blib/script/lwp-download
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-download
cp bin/lwp-mirror blib/script/lwp-mirror
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-mirror
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl t/TEST 0
base/common-req........ok                                                    
base/cookies...........ok                                                    
base/date..............ok                                                    
base/headers-auth......ok                                                    
base/headers-etag......ok                                                    
base/headers-util......ok                                                    
base/headers...........ok                                                    
base/http..............ok                                                    
base/listing...........ok                                                    
base/mediatypes........
The MediaTypes test might fail because you have a private ~/.mime.types file
If you get a failed test, try to move it away while testing.
base/mediatypes........ok                                                    
base/message...........ok                                                    
base/negotiate.........ok                                                    
base/protocols.........ok                                                    
base/response..........ok                                                    
base/status............ok                                                    
base/ua................ok                                                    
html/form-param........ok                                                    
html/form..............ok                                                    
robot/rules-dbm........ok                                                    
robot/rules............ok                                                    
robot/ua-get...........ok                                                    
robot/ua...............ok                                                    
local/autoload-get.....ok                                                    
local/autoload.........ok                                                    
local/get..............ok                                                    
local/http-get.........ok                                                    
local/http.............ok                                                    
local/protosub.........ok                                                    
live/activestate.......dubious                                               
        Test returned status 0 (wstat 13, 0xd)
live/apache-listing....Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
Use of uninitialized value in hash element at ../blib/lib/LWP/Protocol.pm line 55.
Use of uninitialized value in pattern match (m//) at ../blib/lib/LWP/Protocol.pm line 58.
Use of uninitialized value in concatenation (.) or string at ../blib/lib/LWP/Protocol.pm line 38.
Use of uninitialized value in string eq at ../blib/lib/LWP/UserAgent.pm line 194.
Use of uninitialized value in pattern match (m//) at ../blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at ../blib/lib/File/Listing.pm line 91.
live/apache-listing....FAILED tests 1-8                                      
        Failed 8/8 tests, 0.00% okay
live/jigsaw-auth-b.....FAILED tests 1-3                                      
        Failed 3/3 tests, 0.00% okay
live/jigsaw-auth-d.....FAILED test 1                                         
        Failed 1/1 tests, 0.00% okay
live/jigsaw-chunk......Use of uninitialized value in string eq at live/jigsaw-chunk.t line 14.
Died at live/jigsaw-chunk.t line 19.
live/jigsaw-chunk......dubious                                               
        Test returned status 29 (wstat 7424, 0x1d00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
live/jigsaw-md5-get....Use of uninitialized value in string eq at live/jigsaw-md5-get.t line 14.
live/jigsaw-md5-get....FAILED tests 1-2                                      
        Failed 2/2 tests, 0.00% okay
live/jigsaw-md5........Use of uninitialized value in string eq at live/jigsaw-md5.t line 14.
live/jigsaw-md5........FAILED tests 1-2                                      
        Failed 2/2 tests, 0.00% okay
live/jigsaw-neg-get....FAILED test 1                                         
        Failed 1/1 tests, 0.00% okay
live/jigsaw-neg........FAILED test 1                                         
        Failed 1/1 tests, 0.00% okay
live/jigsaw-te.........ok                                                    
live/validator.........Can't call method "find_input" on an undefined value at live/validator.t line 32.
live/validator.........dubious                                               
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
Failed Test           Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
live/activestate.t       0    13    ??   ??       %  ??
live/apache-listing.t                8    8 100.00%  1-8
live/jigsaw-auth-b.t                 3    3 100.00%  1-3
live/jigsaw-auth-d.t                 1    1 100.00%  1
live/jigsaw-chunk.t     29  7424     5    8 160.00%  1-5
live/jigsaw-md5-get.t                2    2 100.00%  1-2
live/jigsaw-md5.t                    2    2 100.00%  1-2
live/jigsaw-neg-get.t                1    1 100.00%  1
live/jigsaw-neg.t                    1    1 100.00%  1
live/validator.t         2   512     2    4 200.00%  1-2
Failed 10/39 test scripts, 74.36% okay. 25/417 subtests failed, 94.00% okay.
make: *** [test] Error 2
  /proj/wdt/sun5.8/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=utilities
    severity=medium
---
Site configuration information for perl v5.8.1:

Configured by warrend at Tue Nov 11 11:06:44 PST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
    uname='sunos rosewood 5.8 generic_108528-18 sun4u sparc sunw,ultra-5_10 solaris '
    config_args=''
    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='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include'
    ccversion='', gccversion='3.2.3', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib /proj/wdt/sun5.8/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E  -z ignore -z lazyload -z combreloc -R /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -G  -z ignore -z lazyload -z combreloc'

Locally applied patches:
    

---
@INC for perl v5.8.1:
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl
    .

---
Environment for perl v5.8.1:
    HOME=/login/warrend
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/inca/lib:/proj/eda/ldv/ldv/cur/tools/lib
    LOGDIR (unset)
    PATH=/stdapps/lsf/5.8/sparcv9/bin:/stdapps/lsf/local/bin:.:/proj/wdt/gnu_sun5.8/perl-5.8.1/bin:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/proj/dpl/harry/bin:/tools/citrix6.0/wfica:/tools/eda/psd/15.0e/tools/pcb/bin:/tools/eda/psd/15.0e/tools/bin:/tools/eda/psd/15.0e/tools/dfII/bin:/tools/eda/psd/15.0e/tools/fet/bin:/tools/eda/psd/15.0e/tools/specctra/bin:/tools/eda/fetools/psd150/bin:/tools/eda/cadtools/psd150/bin:/tools/eda/ldv/LSF:/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/bin:/proj/eda/ldv/ldv/cur/tools/inca/bin:/proj/eda/ldv/lec/cur/bin:/proj/eda/ldv/debussy/cur/bin:/proj/eda/ldv/nLint/cur/bin:/proj/eda/common/vim/cur/bin:/stdapps/cms/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About