Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372311 - dev-perl/DBI-1.616 doesn't compile
Summary: dev-perl/DBI-1.616 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-19 20:50 UTC by Henrique Dias
Modified: 2012-03-04 14:05 UTC (History)
2 users (show)

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 Henrique Dias 2011-06-19 20:50:14 UTC
dev-perl/DBI-1.616 don't compile after upgrade to perl-5.14.1.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-perl/DBI
2.
3.
Actual Results:  
Writing Makefile for DBI
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/DBI-1.616/work/DBI-1.616 ...
 * emake OTHERLDFLAGS=-Wl,--as-needed
make -j3 -j1 OTHERLDFLAGS=-Wl,--as-needed 
/usr/bin/perl5.14.1 -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp lib/DBD/File/HowTo.pod blib/lib/DBD/File/HowTo.pod
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/DBD/SqlEngine/HowTo.pod blib/lib/DBI/DBD/SqlEngine/HowTo.pod
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/corostream.pm blib/lib/DBD/Gofer/Transport/corostream.pm
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/DBD/SqlEngine/Developers.pod blib/lib/DBI/DBD/SqlEngine/Developers.pod
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/DBD/SqlEngine.pm blib/lib/DBI/DBD/SqlEngine.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl5.14.1 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl5.14.1 /usr/lib64/perl5/5.14.1/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.14.1/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
x86_64-pc-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe   -DVERSION=\"1.616\" -DXS_VERSION=\"1.616\" -fPIC "-I/usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/usr/bin/perl5.14.1 /usr/lib64/perl5/5.14.1/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.14.1/ExtUtils/typemap -typemap typemap  DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
make: *** No rule to make target `/usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi/CORE/cc_runtime.h', needed by `DBI.o'.  Stop.
emake failed
 * ERROR: dev-perl/DBI-1.616 failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2532:  Called perl-module_src_compile
 *   environment, line 2202:  Called die
 * The specific snippet of code:
 *               emake "$@" || die "Compilation failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-perl/DBI-1.616',
 * the complete build log and the output of 'emerge -pqv =dev-perl/DBI-1.616'.
 * The complete build log is located at '/var/tmp/portage/dev-perl/DBI-1.616/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/DBI-1.616/temp/environment'.
 * S: '/var/tmp/portage/dev-perl/DBI-1.616/work/DBI-1.616'

>>> Failed to emerge dev-perl/DBI-1.616, Log file:

>>>  '/var/tmp/portage/dev-perl/DBI-1.616/temp/build.log'

 * Messages for package dev-perl/DBI-1.616:

 * ERROR: dev-perl/DBI-1.616 failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2532:  Called perl-module_src_compile
 *   environment, line 2202:  Called die
 * The specific snippet of code:
 *               emake "$@" || die "Compilation failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-perl/DBI-1.616',
 * the complete build log and the output of 'emerge -pqv =dev-perl/DBI-1.616'.
 * The complete build log is located at '/var/tmp/portage/dev-perl/DBI-1.616/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/DBI-1.616/temp/environment'.
 * S: '/var/tmp/portage/dev-perl/DBI-1.616/work/DBI-1.616'
Comment 1 Henrique Dias 2011-06-20 16:04:42 UTC
After some investigation i found that cc_runtime.h file is missing

http://code.google.com/p/perl-compiler/source/browse/trunk/cc_runtime.h

Steps to restore the missing file:

$ wget http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-C-1.34.tar.gz
$ tar xvfz B-C-1.34.tar.gz
$ cd B-C-1.34
$ sudo cp cc_runtime.h /usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi/CORE/

Now dev-perl/DBI-1.616 emerge fine.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2011-07-09 19:00:17 UTC
Please add emerge --info and perl -V. I can't confirm this bug.
Comment 3 Henrique Dias 2011-07-09 19:07:17 UTC
Summary of my perl5 (revision 5 version 14 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=2.6.39-gentoo-r1, archname=x86_64-linux-thread-multi
    uname='linux patolino 2.6.39-gentoo-r1 #1 smp thu jun 9 21:00:53 west 2011 x86_64 intel(r) core(tm)2 duo cpu t7250 @ 2.00ghz genuineintel gnulinux '
    config_args='-des -Duseshrplib -Darchname=x86_64-linux-thread -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=nocona -O2 -pipe -Dldflags=-Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.14.1 -Darchlib=/usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi -Dsitelib=/usr/local/lib64/perl5/5.14.1 -Dsitearch=/usr/local/lib64/perl5/5.14.1/x86_64-linux-thread-multi -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.14.1 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.14.1/x86_64-linux-thread-multi -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.14.1 -Dlocincpth=  -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.14.0/x86_64-linux-thread-multi 5.14.0  -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=nocona -O2 -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.5.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,--as-needed'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so.5.14.1
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -march=nocona -O2 -pipe -Wl,--as-needed'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Locally applied patches:
	0001-gentoo_MakeMaker-RUNPATH.diff
	0002-gentoo_MakeMaker-delete_packlist.diff
	0003-gentoo_config_over.diff
	0004-gentoo_cpan_definstalldirs.diff
	0005-gentoo_cpanplus_definstalldirs.diff
	0006-gentoo_create-libperl-soname.diff
	0007-gentoo_drop-fstack-protector.diff
	0008-gentoo_enc2xs.diff
	0009-gentoo_mod-paths.diff
  Built under linux
  Compiled at Jun 20 2011 16:37:02
  @INC:
    /etc/perl
    /usr/local/lib64/perl5/5.14.1/x86_64-linux-thread-multi
    /usr/local/lib64/perl5/5.14.1
    /usr/lib64/perl5/vendor_perl/5.14.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.14.1
    /usr/local/lib64/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/5.14.1


Portage 2.1.10.4 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r3, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 08 Jul 2011 18:30:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r3
Repositories: gentoo x-local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://rsync.de.gentoo.org/ 		http://de-mirror.org/distro/gentoo/ 		http://gentoo.mirror.pw.edu.pl/ 		http://gentoo.tiscali.nl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en pt"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx db dbus dri dts dvd dvdr emboss encode exif fam firefox flac gdbm gdu gif gnome gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia%" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2011-07-09 21:39:18 UTC
Are you able to reproduce this?
Comment 5 Henrique Dias 2011-07-09 22:00:02 UTC
Yes.

# cd /usr/lib64/perl5/5.14.1/x86_64-linux-thread-multi/CORE
# mv cc_runtime.h cc_runtime.h.bak
# emerge dev-perl/DBI

But now the package seem to install without problems :-)
Comment 6 turtle 2011-07-24 00:56:31 UTC
What happens when you install perl-core/ExtUtils-MakeMaker-6.580.0?
Seems like the ebuild depend should be edited to look like:
RDEPEND=">=dev-perl/PlRPC-0.2
        >=virtual/perl-Sys-Syslog-0.17
        virtual/perl-File-Spec"
        >=perl-core/ExtUtils-MakeMaker-6.580.0

I only get this on:
perl -v
This is perl 5, version 14, subversion 1 (v5.14.1) built for i686-linux
Cheers
Turtle
Comment 7 Phill 2012-03-03 14:00:41 UTC
I had the same problem, obtaining a copy of the cc_runtime.h from another machine on my network solved it; if I can provide any other information to help let me know.

Differences from me to the original bug: I was on perl 5.14.2, not 5.14.1 and mine is a 32 bit system.

emerge --info:

Portage 2.1.10.44 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.13-r4, 3.2.6-gentoo i686)
=================================================================
System uname: Linux-3.2.6-gentoo-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Wed, 29 Feb 2012 22:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo zugaina x-wicd_overlay
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB es"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /usr/local/wicd_overlay"
SYNC="rsync://morrigan.rally-stuff.co.uk/gentoo-portage"
USE="X acl acpi aim all-options alsa aspell auth auto-completion autoipd automount avahi bash-completion berkdb binary-drivers bittorrent bonjour bzip2 case cdda cddb cdparanoia cdrkit cdrom cdrtools cg cgi chm cli clipboard colors config-log consolekit context cracklib crypt css cups curl curlwrappers cxx daemon dbus desktopglobe dga dhcp dhcpcd dirac directfb divx djvu dovecot-sasl dri dvd dvdarchive dvdchapjump dvdnav dvi emerald epiphany fat fbcon fbcondecor fbdev fbsplash firefox3 fortran fortune ftp fuse games gd gdbm gif gnome gpm grub gstreamer gtk hal hardened html http httpd iconv id3 id3tag imagemagick imap injection ipv6 jadetex java john jpeg lame laptop largefile latex libsexy libssh2 libwww lm_sensors logrotate maildir md5sum mdnsresponder-compat mixer mmx mode-force mode-owner mode-paranoid modperl modules mozilla mp3 mpe mpe-sdk mpeg mpu401 msn mudflap mysql mysqli nat ncurses net network networking nfs nls nmap nntp normalize nptl nptlonly nsplugin offensive ogg opengl openmp openssl opensslcrypt oscar pam passwd passwdqc pcre php pidgin pm-utils png pop3d pppd procmail ps quarantine quota quotas radius rar raytracerx rdesktop readline regex resolvconf rss rsync rtf samba sametime screen sendmail session sftp sms sound spam-auth-user sse sse2 ssl ssse3 stream symlink sysfs syslog tcpd transparency tremor truetype ui underscores unicode unzip video vim vorbis wad wav wavpack weather webinterface webmail wifi win32codecs winbind winetools wmf wps x264 x86 xfce xfs xhtml xml xorg xterm xterm-color xvmc zip 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

specific perl emerge / make error:

Make: *** No rule to make target `/usr/lib/perl5/5.14.2/i686-linux/CORE/cc_runtime.h', needed by `DBI.o'.  Stop.
emake failed
 * ERROR: dev-perl/DBI-1.615 failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2430:  Called perl-module_src_compile
 *   environment, line 2102:  Called die
 * The specific snippet of code:
 *               emake "$@" || die "Compilation failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-perl/DBI-1.615',
 * the complete build log and the output of 'emerge -pqv =dev-perl/DBI-1.615'.
 * The complete build log is located at '/var/tmp/portage/dev-perl/DBI-1.615/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/DBI-1.615/temp/environment'.
 * S: '/var/tmp/portage/dev-perl/DBI-1.615/work/DBI-1.615'

Perl -V

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=3.2.6-gentoo, archname=i686-linux
    uname='linux adiona 3.2.6-gentoo #2 smp thu mar 1 12:27:25 utc 2012 i686 intel(r) core(tm)2 cpu t5500 @ 1.66ghz genuineintel gnulinux '
    config_args='-des -Duseshrplib -Darchname=i686-linux -Dcc=i686-pc-linux-gnu-gcc -Doptimize=-O2 -march=pentium-m -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib/perl5/5.14.2 -Darchlib=/usr/lib/perl5/5.14.2/i686-linux -Dsitelib=/usr/local/lib/perl5/5.14.2 -Dsitearch=/usr/local/lib/perl5/5.14.2/i686-linux -Dvendorlib=/usr/lib/perl5/vendor_perl/5.14.2 -Dvendorarch=/usr/lib/perl5/vendor_perl/5.14.2/i686-linux -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.14.2 -Dlocincpth=  -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.14.0/i686-linux 5.14.0 5.14.1/i686-linux 5.14.1 '
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='i686-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -march=pentium-m -pipe',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.4.5', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so.5.14.2
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -march=pentium-m -pipe -L/usr/local/lib -Wl,-O1 -Wl,--as-needed'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV USE_LARGE_FILES USE_PERLIO
                        USE_PERL_ATOF
  Locally applied patches:
	0001-gentoo_MakeMaker-RUNPATH.diff
	0002-gentoo_MakeMaker-delete_packlist.diff
	0003-gentoo_config_over.diff
	0004-gentoo_cpan_definstalldirs.diff
	0005-gentoo_cpanplus_definstalldirs.diff
	0006-gentoo_create-libperl-soname.diff
	0007-gentoo_drop-fstack-protector.diff
	0008-gentoo_enc2xs.diff
	0009-gentoo_mod-paths.diff
  Built under linux
  Compiled at Mar  3 2012 13:23:18
  @INC:
    /etc/perl
    /usr/local/lib/perl5/5.14.2/i686-linux
    /usr/local/lib/perl5/5.14.2
    /usr/lib/perl5/vendor_perl/5.14.2/i686-linux
    /usr/lib/perl5/vendor_perl/5.14.2
    /usr/local/lib/perl5
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.14.2/i686-linux
    /usr/lib/perl5/5.14.2
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2012-03-04 14:05:32 UTC
(In reply to comment #6)
> What happens when you install perl-core/ExtUtils-MakeMaker-6.580.0?
> Seems like the ebuild depend should be edited to look like:
> RDEPEND=">=dev-perl/PlRPC-0.2
>         >=virtual/perl-Sys-Syslog-0.17
>         virtual/perl-File-Spec"
>         >=perl-core/ExtUtils-MakeMaker-6.580.0
> 
> I only get this on:
> perl -v
> This is perl 5, version 14, subversion 1 (v5.14.1) built for i686-linux
> Cheers
> Turtle

In the perl-core/ category are distributions with dual-life modules. The modules from perl-core packages are preferred by perl's @INC order.

The problem is: The perl-core/ modules shouldn't be older than perl's.
You shouldn't mix a testing (unstable) keyworded dev-lang/perl and stable perl-core/ packages.

Solution: Install >=virtual/perl-ExtUtils-MakeMaker-6.580.0 for perl-5.14.