Hi all, running 'perl-cleaner all' is not safe for the ph-files. Even the ph-files of the current perl get removed and are not replaced by new ones. After running perl-cleaner I have to run mkdir -p /usr/lib/perl5/site_perl/5.8.8/i686-linux/ cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* cd /usr/include/linux; h2ph * (that's taken from the perl ebuild. emerge perl-cleaner -pv && emerge info These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-admin/perl-cleaner-1.04 0 kB Total size of downloads: 0 kB Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16.19 i686) ================================================================= System uname: 2.6.16.19 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/data/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/data/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="x86 3dnow 3dnowext X alsa crypt cups dvdr foomaticdb gif gnutls ithreads jpeg kde kdeenablefinal logrotate mmx mmxext ncurses nls nodrm nptl nptlonly png pop ppds qt readline sasl sse ssl truetype truetype-fonts userlocales xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Or (maybe) perl-cleaner tries to use h2ph but h2ph fails because the directory /usr/lib/perl5/site_perl/<perl version>/<arch> doesn't exist. It seems h2ph doesn't create the dir itself and errors out. See the perl-cleaner log at https://forums.gentoo.org/viewtopic-p-3351143.html
(In reply to comment #1) > Or (maybe) perl-cleaner tries to use h2ph but h2ph fails because the directory > /usr/lib/perl5/site_perl/<perl version>/<arch> doesn't exist. It seems h2ph > doesn't create the dir itself and errors out. > > See the perl-cleaner log at https://forums.gentoo.org/viewtopic-p-3351143.html > Unfortunately my german is beyond rusty :) please provide the output of perl -V, and attach /var/db/pkg/dev-lang/perl*/CONTENTS to this bug. perl-cleaner removes h2ph files from *older* versions of perl based on the output of perl -V:version
confirmed. run perl-cleaner phupdate for now, i'm patching and posting the new version of perl-cleaner in a minute or so.
:) Thanks. I appreciate it. S.
Just a me-too. I've run perl-cleaner-1.0.4 on three machines so far, and this bug bit the third one. The first two seemed fine, though I have no idea why.
this was fixed in subsequent versions, closing out :)