Summary: | libwww-perl-5.69-r2 fails during compile test sequence | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | teidakankan |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | vapier, wschlich |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
teidakankan
2003-12-23 18:52:22 UTC
Sorry about the title typo. Should be: libwww-perl-5.69-r2 fails during compile test sequence Same problem with version 5.76. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- local/http-get.t 113 28928 19 30 157.89% 1-19 local/http.t 113 28928 18 28 155.56% 1-18 robot/ua-get.t 8 5 62.50% 1-3 5 7 robot/ua.t 7 5 71.43% 1-3 5 7 Failed 4/39 test scripts, 89.74% okay. 47/419 subtests failed, 88.78% okay. make: *** [test] Error 255 !!! ERROR: dev-perl/libwww-perl-5.76 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0) ================================================================= System uname: 2.6.0 i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ ftp://mirror.iawnet.sandia.gov/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dga dvb dvd encode foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg nas ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype v4l x86 xinerama xml xml2 xmms xv zlib zvbi" I also have encountered this problem. Error message: 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) HTTP Server terminated HTTP Server terminated HTTP Server terminated HTTP Server terminated (It spits out those last 4 lines after emerge has died.) A similar behavior occurs with version 5.76 as well. Here's my emerge info: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0) ================================================================= System uname: 2.6.0 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-fomit-frame-pointer -funroll-loops -march=athlon-xp -mmmx -msse -m3dnow -Os -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/usr/X11R6/bin/startx /etc/gconf /etc/env.d" CXXFLAGS="-fomit-frame-pointer -funroll-loops -march=athlon-xp -mmmx -msse -m3dnow -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss crypt encode foomaticdb jpeg libg++ mad mpeg ncurses pdflib png xml2 xv zlib gdbm berkdb slang readline tetex aalib bonobo svga ggi tcltk java X tcpd pam libwww ssl perl python imlib oggvorbis gtk cdr -gnome -kde -qt -nls -motif -mikmod -arts -apm -gpm -esd acpi dvd alsa mmx 3dnow cups fbcon gif gtk2 joystick opengl quicktime xmms xinerama usb truetype sse spell sdl avi" This is a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=36341. This bug is *not* a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=36341 . This is caused by not being able to resolve the hostname of the machine - 36341 is caused by something different. I tested libwww-perl-5.76, as packaged in the distfile, with TEST_VERBOSE=1 in the Makefile and editing t/robots/ua-get to uncomment all of the various things it prints. My machine is named mesh - it is trying to connect to http://mesh:37935/ (or some similar high port). mesh cannot be resolved, as is made obvious by the verbose error output, and can also be tested with other tools. It's certainly a bug in libwww-perl for it not to at the very leat provide useful output when this occurs - I'm not sure whether not being able to resolve the hostname of a machine should be considered a bug in that machine's setup or not. If not, then libwww-perl should be able to build without using the hostname. Using localhost (which is a required hostname, and also exists by default in gentoo, unlike the machine hostname) seems like a reasonable solution. Yep - agree with that as well. I went back and emerge'd all perl packages: qpkg -I -nc dev-perl > plist emerge `cat plist` (probably only needed a few, but it's Sunday and plenty of horsepower today) - noticed an issue with libnet, as in there's two different ones - got rid of net-libs/libnet-1.1.1 (probably not important). Now all the /usr/lib/perl5 directories are clean, and emerge libwww-perl works fine. I thought there was a perl update script that you ran after upgrading a perl release that identified the affected perl ebuilds that needed re-run, but maybe that was only for a "major" release level (5.6->5.8). Anywho, it only took me about a half-hour to get all the perl pm's updated, so give it a try. I notice that your primary req'd modules are detected: Checking for URI........... ok Checking for HTML::Parser.. ok Checking for MIME::Base64.. ok Checking for Net::FTP...... ok Checking for Digest::MD5 .. ok You might want to try re-doing those first, maybe they're detected in the prior perl release libs and that's throwing it off. Also try dev-perl/libnet, it may be what's throwing off the perl hostname detection stuff. Regards, Gio had this same problem too. turned out i had the wrong ip in /etc/hosts Thanks j! That was my problem also. I had "the wrong ip in /etc/hosts". Once I fixed that it compiled with no test errors. Same problem. Same "wrong ip in /etc/hosts". Second the suggestion that the it should be using "localhost" instead. i'll be the fourth guy to weigh in on this ... i too had stale ip's in /etc/hosts (just moved my box from college to home) and was experiencing the same bugs fixing the ip allowed the package to merge correctly btw, it also fails when you've got iptables blocking all incoming connections to all ports excluding ones explicitly listed. probably gentoo should have a patch for libwww to use localhost instead of `hostname`, or something. |