Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49541 - perl-5.8.2-r1 pkg_postinstall() failed due to h2ph problems
Summary: perl-5.8.2-r1 pkg_postinstall() failed due to h2ph problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 15:12 UTC by Juan Daniel López
Modified: 2005-01-26 07:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Daniel López 2004-04-30 15:12:02 UTC
I've tried to build perl with success until reaching this block in perl-5.8.2-r1.ebuild:
------------
	if [ "${ROOT}" = "/" ]
	then
		ebegin "Converting C header files to the corresponding Perl format"
		cd /usr/include; find ./ -name "*.h" -type f -exec h2ph {} \;
	fi
-----------
Same results in 5.8.3 ebuild. The output is repeated lots of time:
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 23.
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 300.
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 620.
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 623.
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 623.
Global symbol "%Config" requires explicit package name at /usr/bin/h2ph line 680.
Execution of /usr/bin/h2ph aborted due to compilation errors.


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

Actual Results:  
Almost all perl scripts fail to execute. This evening for example I've tried
with emerge -k latex2html with following output during configure:

Subroutine new redefined at /usr/lib/perl5/site_perl/Config.pm line 33.
Subroutine readfile redefined at /usr/lib/perl5/site_perl/Config.pm line 42.
Subroutine _initialize redefined at /usr/lib/perl5/site_perl/Config.pm line 57.
Subroutine allvariables redefined at /usr/lib/perl5/site_perl/Config.pm line 100.
Subroutine variable redefined at /usr/lib/perl5/site_perl/Config.pm line 107.
Subroutine vardefault redefined at /usr/lib/perl5/site_perl/Config.pm line 116.
Subroutine vardescription redefined at /usr/lib/perl5/site_perl/Config.pm line 124.
Subroutine varrange redefined at /usr/lib/perl5/site_perl/Config.pm line 133.
Subroutine varexpand redefined at /usr/lib/perl5/site_perl/Config.pm line 144.
Subroutine value redefined at /usr/lib/perl5/site_perl/Config.pm line 152.
Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Config.pm line 174.
Subroutine mappath redefined at /usr/lib/perl5/site_perl/Config.pm line 189.
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.2/i686-linux/lib.pm line 10.
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.2/i686-linux/lib.pm line 11.
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.2/i686-linux/lib.pm line 12.



Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://sunsite.rediris.es/mirror/gentoo
ftp://sunsite.rediris.es/mirror/gentoo ftp://gentoo.irisa.fr/pub/gentoo-sources/
http://ftp.gentoo.skynet.be/pub/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/
http://ftp.caliu.info/pub/gentoo/ ftp://ftp.caliu.info/pub/gentoo/
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://gentoo.mirror.sdv.fr
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww
mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline scanner sdl slang spell ssl svga tcltk
tcpd tetex truetype video_cards_rage128 x86 xml2 xmms xv zlib"
Comment 1 Eric Sammer (RETIRED) gentoo-dev 2004-05-01 08:15:09 UTC
Juan:

Can you try this on the command line:
perl -e 'use Config; print scalar keys %Config, "\n";'

Which version of perl is currently installed? Did the perl tests for Config pass when installing it? This is an odd problem and I certainly don't know the answer off hand. I'm going to check around upstream.
Comment 2 Juan Daniel López 2004-05-01 10:45:14 UTC
Thanks for your response, Eric.
I've got perl-5.8.2-r1 and libperl-5.8.2 installed.
    The result of that command is simply 0, and I haven't see any error during ebuild until reaching pkg_postinstall(). Anyway, I'll try to reemerge it and take down every significant warning.
    
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-09-21 13:29:15 UTC
Juan,

Did the reinstall help??
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-01-26 07:51:17 UTC
3+ months and no response, closing