The following files are not installed in /usr/lib/perl5/5.8.8/i686-linux/CORE/ when doing emerge perl EXTERN.h INTERN.h XSUB.h av.h cc_runtime.h config.h cop.h cv.h dosish.h embed.h embedvar.h fakesdio.h fakethr.h form.h gv.h handy.h hv.h intrpvar.h iperlsys.h keywords.h libperl.a malloc_ctl.h mg.h nostdio.h op.h opcode.h opnames.h pad.h patchlevel.h perl.h perlapi.h perlio.h perliol.h perlsdio.h perlsfio.h perlvars.h perly.h pp.h pp_proto.h proto.h reentr.h reentr.inc regcomp.h regexp.h regnodes.h scope.h sv.h thrdvar.h thread.h uconfig.h unixish.h utf8.h utfebcdic.h util.h warnings.h I have unmerged and then emerged perl a number of times, but these files do not get installed. I originally stumbled across this issue a while ago, though I did not recognize what the actual problem was, when I was trying to install Bugzilla. And then today I was trying OpenLDAP and with some help from the Gentoo IRC we discovered that these critical files did not exist on my machine even after re-emerge-ing Perl. In the end I copied over the contents of CORE from a friend's computer and I am able to emerge openldap. It's probably pretty obvious that I have not created a bug entry before, so I apologize if I'm not giving any useful information. I also did attempt a search for this issue before creating this bug. Reproducible: Always Steps to Reproduce: 1.emerge perl 2.ls -lah /usr/lib/perl5/5.8.8/i686-linux/CORE/ Actual Results: lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so -> ../../../../../lib/libperl.so.1.5.8 lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so.1 -> ../../../../../lib/libperl.so.1.5.8 lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so.1.5.8 -> ../../../../../lib/libperl.so.1.5.8 Expected Results: total 3.0M drwxr-xr-x 2 root root 1.7K Oct 29 18:47 . drwxr-xr-x 9 root root 808 Oct 29 17:42 .. -r--r--r-- 1 root root 1.8K Oct 29 18:47 EXTERN.h -r--r--r-- 1 root root 1.4K Oct 29 18:47 INTERN.h -r--r--r-- 1 root root 19K Oct 29 18:47 XSUB.h -r--r--r-- 1 root root 3.0K Oct 29 18:47 av.h -r--r--r-- 1 root root 2.2K Oct 29 18:47 cc_runtime.h -r--r--r-- 1 root root 134K Oct 29 18:47 config.h -r--r--r-- 1 root root 18K Oct 29 18:47 cop.h -r--r--r-- 1 root root 7.9K Oct 29 18:47 cv.h -r--r--r-- 1 root root 5.6K Oct 29 18:47 dosish.h -r--r--r-- 1 root root 147K Oct 29 18:47 embed.h -r--r--r-- 1 root root 61K Oct 29 18:47 embedvar.h -r--r--r-- 1 root root 3.2K Oct 29 18:47 fakesdio.h -r--r--r-- 1 root root 1.8K Oct 29 18:47 fakethr.h -r--r--r-- 1 root root 723 Oct 29 18:47 form.h -r--r--r-- 1 root root 5.4K Oct 29 18:47 gv.h -r--r--r-- 1 root root 25K Oct 29 18:47 handy.h -r--r--r-- 1 root root 14K Oct 29 18:47 hv.h -r--r--r-- 1 root root 21K Oct 29 18:47 intrpvar.h -r--r--r-- 1 root root 48K Oct 29 18:47 iperlsys.h -r--r--r-- 1 root root 6.2K Oct 29 18:47 keywords.h -r--r--r-- 1 root root 1.5M Oct 29 18:47 libperl.a lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so -> ../../../../../lib/libperl.so.1.5.8 lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so.1 -> ../../../../../lib/libperl.so.1.5.8 lrwxrwxrwx 1 root root 35 Oct 29 17:42 libperl.so.1.5.8 -> ../../../../../lib/libperl.so.1.5.8 -r--r--r-- 1 root root 1.5K Oct 29 18:47 malloc_ctl.h -r--r--r-- 1 root root 2.1K Oct 29 18:47 mg.h -r--r--r-- 1 root root 3.3K Oct 29 18:47 nostdio.h -r--r--r-- 1 root root 16K Oct 29 18:47 op.h -r--r--r-- 1 root root 46K Oct 29 18:47 opcode.h -r--r--r-- 1 root root 9.2K Oct 29 18:47 opnames.h -r--r--r-- 1 root root 8.7K Oct 29 18:47 pad.h -r--r--r-- 1 root root 4.7K Oct 29 18:47 patchlevel.h -r--r--r-- 1 root root 139K Oct 29 18:47 perl.h -r--r--r-- 1 root root 37K Oct 29 18:47 perlapi.h -r--r--r-- 1 root root 11K Oct 29 18:47 perlio.h -r--r--r-- 1 root root 14K Oct 29 18:47 perliol.h -r--r--r-- 1 root root 4.8K Oct 29 18:47 perlsdio.h -r--r--r-- 1 root root 2.5K Oct 29 18:47 perlsfio.h -r--r--r-- 1 root root 2.4K Oct 29 18:47 perlvars.h -r--r--r-- 1 root root 1.3K Oct 29 18:47 perly.h -r--r--r-- 1 root root 18K Oct 29 18:47 pp.h -r--r--r-- 1 root root 11K Oct 29 18:47 pp_proto.h -r--r--r-- 1 root root 93K Oct 29 18:47 proto.h -r--r--r-- 1 root root 26K Oct 29 18:47 reentr.h -r--r--r-- 1 root root 124K Oct 29 18:47 reentr.inc -r--r--r-- 1 root root 14K Oct 29 18:47 regcomp.h -r--r--r-- 1 root root 4.6K Oct 29 18:47 regexp.h -r--r--r-- 1 root root 9.6K Oct 29 18:47 regnodes.h -r--r--r-- 1 root root 13K Oct 29 18:47 scope.h -r--r--r-- 1 root root 48K Oct 29 18:47 sv.h -r--r--r-- 1 root root 11K Oct 29 18:47 thrdvar.h -r--r--r-- 1 root root 15K Oct 29 18:47 thread.h -r--r--r-- 1 root root 133K Oct 29 18:47 uconfig.h -r--r--r-- 1 root root 4.2K Oct 29 18:47 unixish.h -r--r--r-- 1 root root 13K Oct 29 18:47 utf8.h -r--r--r-- 1 root root 27K Oct 29 18:47 utfebcdic.h -r--r--r-- 1 root root 1.5K Oct 29 18:47 util.h -r--r--r-- 1 root root 3.8K Oct 29 18:47 warnings.h Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686) ================================================================= System uname: 2.6.24-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 2.40GHz Timestamp of tree: Sun, 19 Oct 2008 01:45:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" 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/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer sandbox sfperms unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 arts berkdb build bzip2 cdr cli cracklib crypt cups dri dts dvd dvdread fortran gdbm gpm gtk iconv ipod ipv6 isdnlog javascript jpeg kde live matroska midi mmx mudflap mysql mysqli ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl php png pppd python qt3support qt4 rdesktop readline reflection samba server session spl sse ssl sysfs tcpd theora tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please paste `emerge -pv perl libperl` too.
guybrush ~ # emerge -pv perl libperl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/libperl-5.8.8-r2 [5.8.8-r1] USE="berkdb gdbm -debug -ithreads" 0 kB [ebuild R ] dev-lang/perl-5.8.8-r5 USE="berkdb build gdbm -debug -doc -ithreads -perlsuid" 0 kB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB So it looks like libperl wants to be upgraded. I did an emerge --search on libperl and it shows that currently I have 5.8.8-r1 installed.
Michael, It seems like you have the build USE flag set (check /etc/make.conf?). Try `USE="-build" emerge perl` and let us know if it works...
(In reply to comment #3) > Michael, > It seems like you have the build USE flag set (check /etc/make.conf?). > Try `USE="-build" emerge perl` and let us know if it works... > Odd, I did have build in my /etc/make.conf. Which is weird because the use flag list specifically says don't use it and I'm generally not one to go against docs when I have no idea what I'm doing. :) Alright now I have -build and I have unmerged dev-lang/perl and am going to remerge it. These are the packages it says it will install. guybrush ~ # emerge -av perl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lang/perl-5.8.8-r5 USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid" 0 kB [ebuild N ] perl-core/PodParser-1.35 96 kB [ebuild N ] perl-core/Test-Harness-3.10 173 kB And after it finished with dev-lang/perl I have the required files! Excellent. My apologies for filing a bug for a user error.
So let's close this bug. Thanks