perl-core/Module-Build-0.380.0 build failed with error : version version 0.87 required--this is only version 0.82 at /usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm line 19. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm line 19. Reproducible: Always
log: >>> Configuring source in /var/tmp/portage/perl-core/Module-Build-0.380.0/work/Module-Build-0.3800 ... * Using Module::Build * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/perl-core/Module-Build-0.380.0/image/ --create_packlist=0 *** BOOTSTRAPPING version *** Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Module-Build' version '0.3800' These additional prerequisites must be installed: requires: ! version (we need version 0.87) >>> Source configured. >>> Compiling source in /var/tmp/portage/perl-core/Module-Build-0.380.0/work/Module-Build-0.3800 ... version version 0.87 required--this is only version 0.82 at /usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm line 19. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm line 19. Compilation failed in require at lib/Module/Build/ModuleInfo.pm line 10. Compilation failed in require at lib/Module/Build/Base.pm line 23. BEGIN failed--compilation aborted at lib/Module/Build/Base.pm line 23. Compilation failed in require at lib/Module/Build.pm line 15. BEGIN failed--compilation aborted at lib/Module/Build.pm line 15. Compilation failed in require at ./Build line 42. BEGIN failed--compilation aborted at ./Build line 42. * ERROR: perl-core/Module-Build-0.380.0 failed (compile phase): * Compilation failed *
emerge -pqv =perl-core/Module-Build-0.380.0 [ebuild U ] perl-core/Module-Build-0.380.0 [0.362.400] qfile /usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm perl-core/Module-Metadata (/usr/lib64/perl5/vendor_perl/5.12.3/Module/Metadata.pm) nout slep # eix perl-core/Module-Metadata [I] perl-core/Module-Metadata Available versions: (~)1.0.3 (~)1.0.4 Installed versions: 1.0.4(02:04:45 28.03.2011) Homepage: http://search.cpan.org/dist/Module-Metadata/ Description: Gather package and POD information from perl module files nout slep #
emerge --info =perl-core/Module-Build-0.380.0 Portage 2.2.0_alpha31 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1-1.04 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-gentoo-r1-1.04-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.2 Timestamp of tree: Sun, 08 May 2011 10:30:01 +0000 app-shells/bash: 4.2_p8-r1 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 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 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 Repositories: gentoo sunrise alexxy my-dev rion Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://gentoo.tups.lv/source" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common" LINGUAS="ru" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-9" 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/sunrise /var/lib/layman/alexxy /home/slep/slep/portage /home/slep/rion" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi addressbook alsa amd64 apng assistant avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr chm cli consolekit cracklib crypt cups cvs cxx dbus declarative device-mapper djvu dri dts dvd dvdr ebook emboss encode exif extras fam fax fbcon festival ffmpeg firefox flac fontconfig fortran fuse gdbm gdu gif gnome-keyring gphoto2 gpm gstreamer gtk hpijs iconv icu idn inotify ipv6 javascript jpeg kde kipi lame laptop lcms ldap libmpeg2 libnl libnotify lm_sensors lxc lzma lzo mad mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib multimedia mysql natspec ncurses network nfs nls nptl nptlonly nsplugin ofx ogg opengl openmp pam pango pch pcre pdf perl phonon plugins pmu png policykit ppds pppd python qt3support qt4 readline reports ris rle samba sasl scanner sdl semantic-desktop servletapi session spell sql sqlite sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd threads thunar tiff truetype udev unicode usb v4l2 vim-syntax vnc vorbis vpx webkit wicd x264 xattr xcb xcomposite xml xmlpatterns xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel-hda" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LINGUAS="ru" NETBEANS_MODULES="cnd ergonomics apisupport dlight enterprise ide php harness java profiler websvccommon" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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_RSYNC_EXTRA_OPTS
Please add - perl -V - qlist -e perl-core/version`
slep@nout ~ $ perl -V Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=linux, osvers=2.6.38-gentoo-r1-1.04, archname=x86_64-linux uname='linux nout 2.6.38-gentoo-r1-1.04 #1 smp preempt tue apr 12 10:50:48 eest 2011 x86_64 intel(r) core(tm)2 duo cpu t7100 @ 1.80ghz genuineintel gnulinux ' config_args='-des -Duseshrplib -Darchname=x86_64-linux -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-O2 -pipe -mtune=native -Dldflags=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.12.3 -Darchlib=/usr/lib64/perl5/5.12.3/x86_64-linux -Dsitelib=/usr/lib64/perl5/site_perl/5.12.3 -Dsitearch=/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.12.3 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.12.3/x86_64-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.12.3 -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.12.2/x86_64-linux 5.12.2 5.12.1/x86_64-linux 5.12.1 5.12.0/x86_64-linux 5.12.0 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef 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 ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -pipe -mtune=native', cppflags='-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,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common' libpth=/usr/local/lib64 /lib64 /usr/lib64 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.12.3 gnulibc_version='2.13' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -mtune=native -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Locally applied patches: 0001-gentoo_MakeMaker-RUNPATH.diff 0002-gentoo_config_over.diff 0003-gentoo_cpan_definstalldirs.diff 0004-gentoo_cpanplus_definstalldirs.diff 0005-gentoo_create-libperl-soname.diff 0006-gentoo_MakeMaker-delete_packlist.diff 0007-fixes_8d66b3f9_h2hp_fix.diff 0008-fixes_f178b03b_h2ph_using_deprecated_goto.diff 0009-gentoo_mod-paths.diff 0010-gentoo_enc2xs.diff 0011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress-Zlib.diff 0012-gentoo_drop-fstack-protector.diff 0013-fixes_539689e74a_unwarrantedly_laundering_tainted_data.diff Built under linux Compiled at May 7 2011 11:37:07 @INC: /etc/perl /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux /usr/lib64/perl5/site_perl/5.12.3 /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.3 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.3/x86_64-linux /usr/lib64/perl5/5.12.3 /usr/local/lib/site_perl .
qlist -e perl-core/version /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/auto/version/vxs/vxs.so /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version.pod /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version/Internals.pod /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version/vxs.pm /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version.pm /usr/share/doc/version-0.880/Changes.lzma /usr/share/doc/version-0.880/README.lzma
Hm, perl-core/* installed in 5.12.2 version. It's my mistake. I did not properly use the perl-cleaner.
after perl-cleaner build fine
Updating from perl-5.12.2 to perl-5.12.3 should work without using perl-cleaner... The old vendor_perl dirs should be in @INC if they exist like this: (In reply to comment #5) > @INC: > /etc/perl > /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux > /usr/lib64/perl5/site_perl/5.12.3 > /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux > /usr/lib64/perl5/vendor_perl/5.12.3 > /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/vendor_perl/5.12.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.1 > /usr/lib64/perl5/vendor_perl > /usr/lib64/perl5/5.12.3/x86_64-linux > /usr/lib64/perl5/5.12.3 > /usr/local/lib/site_perl > . I don't know why it didn't work for you.
(In reply to comment #6) > qlist -e perl-core/version > /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/auto/version/vxs/vxs.so > /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version.pod > /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version/Internals.pod > /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version/vxs.pm > /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux/version.pm > /usr/share/doc/version-0.880/Changes.lzma > /usr/share/doc/version-0.880/README.lzma Did the files exist on your system or did you `rm -r /usr/lib64/perl5/vendor_perl/5.12.2`?