Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90700 - GET from dev-perl/libwww-perl does not find HTML/Parse.pm
Summary: GET from dev-perl/libwww-perl does not find HTML/Parse.pm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 90910
Blocks:
  Show dependency tree
 
Reported: 2005-04-28 04:21 UTC by steveb
Modified: 2005-06-03 22:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
perl-cleaner.log (perl-cleaner.log.20050428193005.XXXXm76OU7,65.33 KB, text/plain)
2005-04-28 10:39 UTC, steveb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2005-04-28 04:21:19 UTC
When I use GET from the libwww-perl package, then I get the following error:
gentoo / # GET -o link http://www.ibm.com
Can't locate HTML/Parse.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .) at /usr/bin/GET line 444.
gentoo / #

I have this issue on all my systems, no matter what CPU or what Perl version I am using. Rebuilding all Perl packages did not solved that issue.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, 
glibc-2.3.4.20041102-r1, 2.6.12-rc3 i686) 
================================================================= 
System uname: 2.6.12-rc3 i686 AMD Athlon(TM) XP 2400+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.2.3-r6,dev-lang/python-2.3.5 [2.3.5 (#1, 
Apr 28 2005, 03:18:13)] 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [disabled] 
dev-lang/python:     2.2.3-r6, 2.3.5 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.11 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /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 /var/spool/fax/etc" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg distlocks sandbox sfperms strict 
userpriv" 
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ 
http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j16" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/mnt/gentoo.overlay" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowex GAPING_SECURITY_HOLE X aac aalib accessibility acl acpi 
alsa apm arts artswrappersuid artworkextra audiofile avi berkdb bitmap-fonts 
bonobo c++ cdparanoia cdr clamav crypt cups curl dga directfb divx4linux djbfft 
dmx dv dvd emboss encode erandom esd fam faxonly fbcon flac foomaticdb fortran 
gd gdbm ggi gif gimp gimpprint gnokii gnome gphoto2 gpm gstreamer gtk gtk2 
gtkhtml guile icc icc-pgo ieee1394 imagemagick imlib inkjar ipv6 irda jack java 
jikes jpeg jpeg2k junit kde kdeenablefinal kerberos krb4 lcms ldap libg++ 
libwww live lm_sensors logitech-mouse lzo mad maildir md5sum mikmod mmx mng 
motif mozilla mp3 mpeg nas ncurses nls nntp nptl nvidia oav ogg oggvorbis 
openexr opengl oss pam pda pdflib perl pic plugin png ppds python qt quicktime 
rdesktop readline real rtc ruby samba scanner sdl skey slang slp sms snmp 
socks5 speex spell sqlite sqlite3 sse ssl svg svga svgz symlink sysfs t1lib 
tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts unicode 
usb vidix vorbis wmf xanim xface xine xml xml2 xmms xpm xprint xrandr 
xscreensaver xv xvid xvmc zeroconf zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-04-28 06:11:10 UTC
I see you've installed multiple versions of perl over time - have you ever run (the now deprecated) libperl_rebuilder or (newer and supported) perl-cleaner? If not, I don't blame you - the message is usually burried during an upgrade and hard to find otherwise (just because it scrolls past as you move on to the next emerge in your sequence). I'm going to take a stab and say HTML-Parse was installed prior to your last perl upgrade and has been "lost" in your @INC - portage thinks its there, and doesn't reinstall it, but perl doesn't see it around.
~cut~
OK, so I wrote the above (keeping to show that I still need coffee after reading your post three times - so the following is suspect as well). What version of libwww-perl are you using? Html-Parse used to be pulled in with HTML-Tree, but upstream has since readjusted those deps. If you don't mind, emerge sync in a few hours and emerge libwww-perl from scratch, and let me know if you still have issues.
Comment 2 steveb 2005-04-28 10:35:57 UTC
Hallo Michael,

yes. I have shure installed over time serval versions of Perl. I just right now synched my portage and installed the newest available libwww-perl version (5.800). This did not solved the issue.

I know that I have runed libperl_rebuilder on that and on the other systems. I can't find that tool anymore. However... I used the /usr/portage/dev-lang/perl/files/perl-cleaner tool with the option all to rebuild all Perl modules. Yesterday this did not help to solve the issue. Right now I am runing it again and will tell you ifthis will fix the problem. Yesterday it did not rebuild any module. Today it does rebuild some stuff.

Give me some minutes and I will report back if it works or not.

btw: This are all the packages I have installed which have perl in their name:
sys-devel/libperl-5.8.5
dev-perl/PodParser-1.28
dev-perl/Archive-Zip-1.14
dev-perl/Audio-Wav-0.02
dev-perl/Convert-ASN1-0.18
dev-perl/XML-RegExp-0.03-r1
dev-perl/XML-Writer-0.510
dev-perl/libwww-perl-5.800
dev-perl/Digest-MD4-1.3
dev-perl/ExtUtils-F77-1.14-r1
dev-perl/SGMLSpm-1.03-r5
dev-perl/Time-Local-1.10
dev-perl/URI-1.35
dev-perl/libvorbis-perl-0.04
dev-perl/libxml-perl-0.07-r2
dev-perl/perl-ldap-0.31
dev-perl/Locale-gettext-1.01-r1
dev-perl/DB_File-1.811
dev-perl/Time-Duration-1.02
dev-perl/Inline-0.44-r1
dev-perl/TermReadKey-2.21
dev-perl/DateManip-5.42a-r1
dev-perl/Text-Balanced-1.95
dev-perl/Test-Harness-2.42
dev-perl/digest-base-1.05
dev-perl/Crypt-SmbHash-0.02
dev-perl/HTML-Parser-3.45
dev-perl/HTML-Tagset-3.03-r2
dev-perl/MP3-Info-1.02-r1
dev-perl/String-ShellQuote-1.00-r1
dev-perl/Test-Simple-0.47-r1
dev-perl/yaml-0.35
dev-perl/Compress-Zlib-1.33
dev-perl/Getopt-Long-2.34
dev-perl/IO-Zlib-1.01
dev-perl/Net-DNS-0.40
dev-perl/PDL-2.4.2
dev-perl/libnet-1.19
dev-perl/Audio-Tools-0.01
dev-perl/XML-DOM-1.43
dev-perl/Digest-HMAC-1.01-r1
dev-perl/XML-Parser-2.34
dev-perl/gtk-perl-0.7008-r11
dev-perl/Filter-1.29
dev-perl/IO-Socket-SSL-0.96
dev-perl/IO-String-1.05
dev-perl/Time-HiRes-1.66
dev-perl/Digest-MD5-2.33
dev-perl/Digest-SHA1-2.07
dev-perl/MIME-Base64-3.05
dev-perl/XML-XSLT-0.45
dev-perl/module-build-0.25
dev-perl/perl-tk-804.027
dev-perl/ExtUtils-MakeMaker-6.20
dev-perl/Parse-RecDescent-1.94
dev-perl/Safe-2.11
dev-perl/Term-ReadLine-Perl-1.0203
dev-perl/File-Spec-0.84-r1
dev-perl/Net-SSLeay-1.25
dev-perl/Archive-Tar-1.23-r1
dev-perl/Crypt-SSLeay-0.49
dev-lang/perl-5.8.5-r5


cheers

SteveB
Comment 3 steveb 2005-04-28 10:39:36 UTC
Created attachment 57490 [details]
perl-cleaner.log

Okay... this is the log of the perl-cleaner after updating libwww-perl. The
problem still is not fixed.

Do you have any other tasks, I could do to help to fix that problem?

cheers

Steve
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-04-29 14:43:53 UTC
line 444:             require HTML::Parse;\

those cheeky upstream...ok, will fix the ebuild to include html-tree
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-04-29 15:37:56 UTC
In the short term (till we get the arch's to bump HTML-Tree so repoman doesn't complain about the new dep in libwww-perl) emerge HTML-Tree and you will get things like:

LINK    http://purl.org/DC/elements/1.0/
LINK    http://www.ibm.com/favicon.ico
LINK    http://www.ibm.com/common/v14/hp/hp_s.css
LINK    http://www.ibm.com/common/v14/main.css
LINK    http://www.ibm.com/common/v14/screen.css
LINK    http://www.ibm.com/common/v14/print.css
SCRIPT  http://www.ibm.com/common/v14/detection.js
SCRIPT  http://www.ibm.com/common/lenovo/link.js
A       http://www.ibm.com/us/
IMG     http://www.ibm.com/i/v14/t/ibm-logo.gif
A       http://www.ibm.com/us/#main

from your command. btw, links, not link ;)
Comment 6 Gregg Casillo 2005-06-01 03:57:49 UTC
Not sure about the status of this, but libwww-perl doesn't install the GET or 
POST aliases for me. Using the 5.803 ebuild. 
 
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 
/usr/bin. 
 
Do you want to install the GET alias? [n] Do you want to install the HEAD 
alias? [n] Do you want to install the POST alias? [n] 
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... 
 
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2005-06-03 22:42:31 UTC
The providing PUT/GET/HEAD is fixed in 803-r1.  
  
HTML-Tree is now in the deps for 803-r1