Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543140 - dev-perl/MP3-Info-1.240.0-r1 :CPAN::Meta::YAML 0.011 is not available
Summary: dev-perl/MP3-Info-1.240.0-r1 :CPAN::Meta::YAML 0.011 is not available
Status: RESOLVED DUPLICATE of bug 542116
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 11:54 UTC by Toralf Förster
Modified: 2015-03-14 10:25 UTC (History)
0 users

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


Attachments
emerge log (dev-perl-MP3-Info-1.240.0-r1-20150313-085719.log,2.03 KB, text/plain)
2015-03-13 11:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-03-13 11:54:40 UTC
Created attachment 398796 [details]
emerge log

I do wonder, if this bug differs from the usual perl issue I have at the tinderbox b/c of not running (automaticlly) perl-cleaner --all in the past.

There's really just 1 perl version installed:

$>ls amd64-hardened_20150309/usr/lib64/perl5/
5.20.1  vendor_perl

(and not the unstable ~5.20.2 too with left over files and so on)

and I get :


These are the packages that would be merged, in reverse order:

Calculating dependencies  .. ..... done!
[ebuild  N     ] app-pda/gnupod-0.99.8-r1  USE="ffmpeg ogg -aac -flac -mp3" 
[ebuild  N     ]  dev-perl/Unicode-String-2.90.0-r1 
[ebuild  N     ]  dev-perl/MP3-Info-1.240.0-r1 

>>> Verifying ebuild manifests
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 5.22, 5.37, 5.52
>>> Emerging (1 of 3) dev-perl/MP3-Info-1.240.0-r1::gentoo
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 5.22, 5.37, 5.52
>>> Failed to emerge dev-perl/MP3-Info-1.240.0-r1, Log file:
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 5.22, 5.37, 5.52
>>>  '/var/log/portage/dev-perl:MP3-Info-1.240.0-r1:20150313-085719.log'
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 5.22, 5.37, 5.52
>>> Jobs: 0 of 3 complete, 1 running, 1 failed      Load avg: 5.22, 5.37, 5.52
>>> Jobs: 0 of 3 complete, 1 failed                 Load avg: 5.22, 5.37, 5.52

 * Package:    dev-perl/MP3-Info-1.240.0-r1
 * Repository: gentoo
 * Maintainer: perl@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking MP3-Info-1.24.tar.gz to /var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work/MP3-Info-1.24 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work/MP3-Info-1.24 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for MP3::Info
CPAN::Meta::YAML 0.011 is not available
 at /usr/lib64/perl5/5.20.1/CPAN/Meta.pm line 613.
 * ERROR: dev-perl/MP3-Info-1.240.0-r1::gentoo failed (configure phase):
 *   Unable to build!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2405:  Called perl-module_src_configure
 *   environment, line 2031:  Called die
 * The specific snippet of code:
 *               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/MP3-Info-1.240.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/MP3-Info-1.240.0-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-perl:MP3-Info-1.240.0-r1:20150313-085719.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work/MP3-Info-1.24'
 * S: '/var/tmp/portage/dev-perl/MP3-Info-1.240.0-r1/work/MP3-Info-1.24'


This is an amd64 hardened chroot image at a hardened host acting as a tinderbox.
The log is stored in amd64-hardened_20150309//var/log/portage/_emerge_20150313-095721.log
quick search: https://bugs.gentoo.org/buglist.cgi?quicksearch=dev-perl%2FMP3-Info


Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.18.9-hardened x86_64)
=================================================================
System uname: Linux-3.18.9-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164808 total,   1072600 free
KiB Swap:   16777212 total,  16758636 free
Timestamp of tree: Thu, 12 Mar 2015 20:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cairo cli corefonts cracklib crypt cups cxx dbus dnssec dot dri drmkms dvd ecc extraengine ffmpeg fontconfig fortran fpm gd gdbm gif gtk gudev gui hardened iconv icu isag jadetex jpeg justify lapack libav libkms libvirtd logrotate macvtap mbox minizip mmx modules multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pax_kernel pcre pcre16 plasma png policykit python qemu qt3support readline sdl session spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 svg tcpd theora thinkpad threads tk tls truetype uml unicode urandom usb usbredir uxa v4l v4l2 video vorbis xa xattr xkb xmp xscreensaver xslt xtpax xvfb xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console  presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-13 22:33:14 UTC
Every time you get "CPAN::Meta::YAML 0.011 is not available  at /usr/lib64/perl5/5.20.1/CPAN/Meta.pm line 613."

That's a problem with CPAN/Meta deps.

Because it says "CPAN::Meta cant be used" -> CPAN meta is broken somehow -> I'm pretty sure its the same bug.

As to *why* its happening, we still haven't been able to sit down and dedicate time to working out what is going on here.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-13 22:42:50 UTC
Here's the exact context that error is comming from: 

https://metacpan.org/source/DAGOLDEN/Parse-CPAN-Meta-1.4414/lib/Parse/CPAN/Meta.pm#L57

So at best, if this is not a dup of the other one for cause, then what you'd be looking for is whatever version of Parse-CPAN-Meta you have installed not depending on >=virtual/perl-CPAN-Meta-YAML-0.11.0
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-13 22:54:33 UTC
Further digging:

We have no version of perl-core/Parse-CPAN-Meta which would ship code that would say ""CPAN::Meta::YAML 0.011 is not available".

Which means you must have the Parse/CPAN/Meta.pm that shipped with perl 5.20.*

And then for your failure conditions to occur, you must also have installed perl-core/CPAN-Meta-YAML-0.8.0

( this would be acceptable if you had a perl-core/* version of Parse-CPAN-Meta , but you do not, thus, having perl-core/CPAN-Meta-YAML installed at all is a bug )

And for this to be true, you must also have virtual/perl-CPAN-Meta-YAML-0.8.0 installed,  as all other versions of that virtual indicate to remove perl-core/CPAN-Meta-YAML



However, there is no path from MP3-Info to that virtual.

So, to repro:

1. Install perl 5.20.*
2. Somehow install perl-core/CPAN-Meta-YAML directly (This is wrong)
3. Install dev-perl/MP3-Info

#3 has no dependency chain that guarantees its safe installation.

MP3-Info *could* depend on virtual/perl-ExtUtils-MakeMaker

And virtual/perl-ExtUtils-MakeMaker *could* depend on virtual/perl-CPAN-Meta 

And that would in turn make sure you had the right version of CPAN::Meta::YAML

( But frankly, I'm up to my tits in these virtual shenanigans and I want to kill them -_- )
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-03-14 09:07:12 UTC

*** This bug has been marked as a duplicate of bug 542116 ***
Comment 5 Toralf Förster gentoo-dev 2015-03-14 10:11:21 UTC
(In reply to Kent Fredric from comment #3)
ok, so as a step toward should I mask "perl-core/CPAN-Meta-YAML" at my tinderbox to avoid such issues ?
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-14 10:25:05 UTC
That may help you in future.

I would do:

<perl-core/CPAN-Meta-YAML-0.12.0
<virtual/perl-CPAN-Meta-YAML-0.12.0

However, whether or not portage will automatically *do* anything about this mask when it needs to is a different question.

Because portage may very well simply not ever see that module being masked in the process of resolving the dependency tree for a package ( such as MP3-Info ).

Because as far as portage is concerned ( at least, based on how it is behaving in your case ), perl-core/ is not in the dependency tree, so its not considering whether or not it should be removed.


( And that leaves us back at the same problem. ) 

I would simply make a habit of  (appropos of) `emerge -C perl-core/*` stuff at some early stage in tinderbox generation, and then keep a very careful eye on any perl-core/* that get installed afterwards, and track *what* is installing them.