Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 44259

Summary: libwww-perl fails in tests with undefined symbol in zlib
Product: Gentoo Linux Reporter: Tom Wigington <gentoo>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Wigington 2004-03-10 09:21:47 UTC
When I try to emerge libwww-perl, a number of tests fail with:

/usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so: undefined symbol: perl_get_sv

Reproducible: Always
Steps to Reproduce:
1. emerge -u libwww-perl

Actual Results:  
/usr/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.......ok
base/message..........ok
base/negotiate........ok
base/response.........ok
base/status...........ok
base/ua...............ok
html/form.............ok
robot/rules-dbm.......ok
robot/rules...........ok
robot/ua-get........../usr/bin/perl: relocation error:
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so: undefined
symbol: perl_get_sv
robot/ua-get..........dubious
        Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
robot/ua............../usr/bin/perl: relocation error:
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so: undefined
symbol: perl_get_sv
robot/ua..............dubious
        Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
local/autoload-get....ok
local/autoload........ok
local/get.............HTTP Server terminated
local/get.............ok
local/http-get........HTTP Server terminated
/usr/bin/perl: relocation error:
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so: undefined
symbol: perl_get_sv
local/http-get........dubious
        Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
local/http............/usr/bin/perl: relocation error:
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so: undefined
symbol: perl_get_sv
local/http............dubious
        Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-18
        Failed 18/18 tests, 0.00% okay
local/protosub........ok
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
local/http-get.t  127 32512    19   38 200.00%  1-19
local/http.t      127 32512    18   36 200.00%  1-18
robot/ua-get.t    127 32512     7   14 200.00%  1-7
robot/ua.t        127 32512     7   14 200.00%  1-7
Failed 4/26 test scripts, 84.62% okay. 51/343 subtests failed, 85.13% okay.
make: *** [test] Error 29

!!! ERROR: dev-perl/libwww-perl-5.69-r2 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)

Expected Results:  
Passing the tests. :)

What stikes me as strange is that it is using
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Compress/Zlib/Zlib.so when my
perl version is 5.8.2. I have tried re-emerging all my perl packages reported by
'qpkg -I -nc dev-perl'.

bluegill root # emerge info
Portage 2.0.50-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow apache2 apm avi berkdb cdr crypt cups encode gb gdbm gif gpm guile
innodb java jpeg libg++ libgda libwww maildir mikmod mmx motif mpeg mysql
ncurses nls odbc oggvorbis opengl pam pdflib perl png python quicktime readline
samba scanner sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml xml2
xmms xv zlib"

bluegill root # perl --version

This is perl, v5.8.2 built for i686-linux

bluegill root # qpkg -I -nc dev-perl
dev-perl/Audio-Tools
dev-perl/Audio-Wav
dev-perl/Compress-Zlib
dev-perl/Crypt-SSLeay
dev-perl/DBD-mysql
dev-perl/DBI
dev-perl/DB_File
dev-perl/Data-Dumper
dev-perl/Digest-MD5
dev-perl/File-Spec
dev-perl/HTML-Parser
dev-perl/HTML-Tagset
dev-perl/Inline
dev-perl/MIME-Base64
dev-perl/MP3-Info
dev-perl/Net-Daemon
dev-perl/Parse-RecDescent
dev-perl/PlRPC
dev-perl/SGMLSpm
dev-perl/Safe
dev-perl/Storable
dev-perl/Test-Harness
dev-perl/Test-Simple
dev-perl/Text-Balanced
dev-perl/URI
dev-perl/XML-Parser
dev-perl/XML-RegExp
dev-perl/digest-base
dev-perl/libnet
dev-perl/libvorbis-perl
dev-perl/libwww-perl
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-03-14 03:48:37 UTC
The zlib failure is actually due to it not being able to get a stream to test the compression on, not on the compression functionality itself. Marking as a dup of bug 36341 where the problem really lies.

*** This bug has been marked as a duplicate of 36341 ***