'emerge -uvDN world' wants to upgrade perl-gcpan/Math-GSL to version 0.27. Math-GSL tries then to install several other perl-gcpan packages, which are already installed as dev-perl packages: root@condor:/usr/local/portage/media-tv(136)# emerge -pvuNDt world These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] dev-perl/Test-Exception-0.310.0 [ebuild N ] dev-perl/Sub-Uplevel-0.240.0 0 kB [ebuild U ] net-print/gtklp-1.2.9 [1.2.8a] USE="nls ssl" 0 kB [ebuild U ] perl-gcpan/Test-File-1.34::x-cpan [1.33::x-cpan] 0 kB [ebuild U ] perl-gcpan/Math-GSL-0.27::x-cpan [0.26::x-cpan] 3,357 kB [ebuild N ] perl-gcpan/Test-Class-0.37::x-cpan 0 kB [ebuild N ] perl-gcpan/MRO-Compat-0.11::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Most-0.25::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Warn-0.24::x-cpan 0 kB [ebuild N ] perl-gcpan/Tree-DAG_Node-1.06::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Differences-0.61::x-cpan 0 kB [ebuild N ] perl-gcpan/Text-Diff-1.41::x-cpan 0 kB [ebuild N ] perl-gcpan/Algorithm-Diff-1.1902::x-cpan 0 kB [ebuild N ] perl-gcpan/Exception-Class-1.32::x-cpan 0 kB [ebuild N ] perl-gcpan/Devel-StackTrace-1.27::x-cpan 0 kB [ebuild N ] perl-gcpan/Class-Data-Inheritable-0.08::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Deep-0.110::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-NoWarnings-1.04::x-cpan 0 kB [nomerge ] perl-gcpan/Test-File-1.34::x-cpan [1.33::x-cpan] [ebuild N ] perl-gcpan/Test-Manifest-1.23::x-cpan 0 kB [nomerge ] perl-gcpan/Test-Deep-0.110::x-cpan [ebuild N ] perl-gcpan/Test-Tester-0.108::x-cpan 0 kB [nomerge ] perl-gcpan/Test-Most-0.25::x-cpan [ebuild N ] perl-gcpan/Test-Exception-0.31::x-cpan 0 kB root@condor:/usr/local/portage/media-tv(137)# qlist -Iv Test-Tester dev-perl/Test-Tester-0.108.0 root@condor:/usr/local/portage/media-tv(138)# qlist -Iv Test-Deep dev-perl/Test-Deep-0.110.0 root@condor:/usr/local/portage/media-tv(139)# qlist -Iv Test-Manifest dev-perl/Test-Manifest-1.230.0 root@condor:/usr/local/portage/media-tv(141)# qlist -Iv Class-Data-Inheritable dev-perl/Class-Data-Inheritable-0.80.0 root@condor:/usr/local/portage/media-tv(142)# qlist -Iv Algorithm-Diff dev-perl/Algorithm-Diff-1.190.200 root@condor:/usr/local/portage/media-tv(143)# qlist -Iv Tree-DAG_Node dev-perl/Tree-DAG_Node-1.60.0 root@condor:/usr/local/portage/media-tv(144)# qlist -Iv MRO-Compat dev-perl/MRO-Compat-0.110.0 root@condor:/usr/local/portage/media-tv(145)# qlist -Iv Devel-StackTrace dev-perl/Devel-StackTrace-1.270.0 On my other systems the update to perl-gcpan/Math-GSL-0.27 works without problems. Any idea, what could be the reason of this strange behaviour? And how can I circumvent it? I can deinstall perl-gcpan/Math-GSL, then 'emerge -uvDN world' works again witout problems. But the next 'emerge -vuND Math-GSL' fails again, because it tries again these perl-gcpan packages: root@condor:/usr/local/portage/sys-power/apcupsd(195)# emerge -pvuND Math-GSL These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/Sub-Uplevel-0.24::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Tester-0.108::x-cpan 0 kB [ebuild N ] perl-gcpan/Class-Data-Inheritable-0.08::x-cpan 0 kB [ebuild N ] perl-gcpan/Devel-StackTrace-1.27::x-cpan 0 kB [ebuild N ] perl-gcpan/Algorithm-Diff-1.1902::x-cpan 0 kB [ebuild N ] perl-gcpan/Tree-DAG_Node-1.06::x-cpan 0 kB [ebuild N ] perl-gcpan/MRO-Compat-0.11::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Exception-0.31::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Warn-0.24::x-cpan 0 kB [ebuild N ] perl-gcpan/Exception-Class-1.32::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-NoWarnings-1.04::x-cpan 0 kB [ebuild N ] perl-gcpan/Text-Diff-1.41::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Class-0.37::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Differences-0.61::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Deep-0.110::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Most-0.25::x-cpan 0 kB [ebuild N ] perl-gcpan/Math-GSL-0.27::x-cpan 0 kB
At systems where Math-GSL-0.27 is installed the dependency generated by g-cpan is: DEPEND=">=dev-perl/Test-Exception-0.310.0 >=dev-perl/Test-Class-0.360.0 dev-perl/Test-Most dev-perl/extutils-pkgconfig dev-lang/perl" and at the systems, where the installation fails, it is: DEPEND=">=perl-gcpan/Test-Exception-0.31 >=perl-gcpan/Test-Class-0.37 perl-gcpan/Test-Most dev-perl/extutils-pkgconfig dev-lang/perl"
If I delete the /var/lib/cpan/perl-gcpan/Math-GSL directory at the affected system and recreate it with g-cpan -i Math-GSL, then the created Math-GSL-0.27.ebuild has again: DEPEND=">=perl-gcpan/Test-Exception-0.31 >=perl-gcpan/Test-Class-0.37 perl-gcpan/Test-Most dev-perl/extutils-pkgconfig dev-lang/perl"
I also tried a complete new installation of Math-GSL on a system where Math-GSL was never installed. Again /var/lib/cpan/perl-gcpan/Math-GSL/Math-GSL-0.27.ebuild contains: DEPEND=">=perl-gcpan/Test-Exception-0.31 >=perl-gcpan/Test-Class-0.37 perl-gcpan/Test-Most dev-perl/extutils-pkgconfig dev-lang/perl" and 'g-cpan -i Math-GSL' fails with: >>> Creating Manifest for /var/lib/cpan/perl-gcpan/Math-GSL Calculating dependencies \ [ Results for search key : Test-Differences ] [ Applications found : 2 ] * dev-perl/Test-Differences Latest version available: 0.610.0 Latest version installed: [ Not Installed ] Size of files: 13 kB Homepage: http://search.cpan.org/dist/Test-Differences/ Description: Test strings and data structures and show differences if not ok License: || ( Artistic GPL-1 GPL-2 GPL-3 ) * perl-gcpan/Test-Differences Latest version available: 0.61 Latest version installed: [ Not Installed ] Size of files: 13 kB Homepage: http://search.cpan.org/dist/Test-Differences/ Description: Test strings and data structures and show differences if not ok License: || ( Artistic GPL-1 GPL-2 GPL-3 ) !!! The short ebuild name "Test-Differences" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. ... done!
I found the same error on two further systems. It looks for me if g-cpan with perl-5.16.1 does not recognize that there are dev-perl packages and that's why generate ebuild with dependencies on perl-gcpan packages: root@orca:/root(1)# emerge -pvD Math-GSL These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] perl-gcpan/Sub-Uplevel-0.24::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Tester-0.108::x-cpan 0 kB [ebuild N ] perl-gcpan/Class-Data-Inheritable-0.08::x-cpan 0 kB [ebuild N ] perl-gcpan/Devel-StackTrace-1.27::x-cpan 0 kB [ebuild N ] perl-gcpan/Algorithm-Diff-1.1902::x-cpan 0 kB [ebuild N ] perl-gcpan/Tree-DAG_Node-1.06::x-cpan 0 kB [ebuild N ] perl-gcpan/MRO-Compat-0.11::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Exception-0.31::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Warn-0.24::x-cpan 0 kB [ebuild N ] perl-gcpan/Exception-Class-1.32::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-NoWarnings-1.04::x-cpan 0 kB [ebuild N ] perl-gcpan/Text-Diff-1.41::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Class-0.37::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Differences-0.61::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Deep-0.110::x-cpan 0 kB [ebuild N ] perl-gcpan/Test-Most-0.25::x-cpan 0 kB [ebuild N ] perl-gcpan/Math-GSL-0.27::x-cpan 0 kB Total: 17 packages (17 new), Size of downloads: 0 kB root@orca:/root(2)# qlist -Iv Sub-Uplevel dev-perl/Sub-Uplevel-0.240.0 root@orca:/root(3)# qlist -Iv Test-Tester root@orca:/root(4)# qlist -Iv Algorithm-Diff dev-perl/Algorithm-Diff-1.190.200 root@orca:/root(5)# qlist -Iv Class-Data-Inheritable dev-perl/Class-Data-Inheritable-0.80.0
Almost three weeks later. Any news?
Six month later, any news?
On an other system 'g-cpan -i Math-GSL' fails with: ... >>> Configuring source in /var/tmp/portage/perl-gcpan/Math-GSL-0.27/work/Math-GSL-0.27 ... * Using Module::Build * QA Notice: The ebuild uses Module::Build but doesn't depend on it. * Add virtual/perl-Module-Build to DEPEND! * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/perl-gcpan/Math-GSL-0.27/image/ --create_packlist=0 Checking for GSL.. Found GSL 1.15 (via gsl-config) installed in /usr, CFLAGS=-I/usr/include, -L/usr/lib64 -lgsl -lgslcblas -lm Asking ExtUtils::PkgConfig with ENV{PKG_CONFIG_PATH}=/usr/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/pkgconfig:/usr/libdata/pkgconfig:/usr/local/libdata/pkgconfig:/opt/pkgconfig: /usr/lib64/pkgconfig *** can't find cflags for "gsl" *** is it properly installed and available in PKG_CONFIG_PATH? at Build.PL line 156. * ERROR: perl-gcpan/Math-GSL-0.27 failed (configure phase): * Unable to build!
root@impala:/usr/local/portage/sci-electronics/gnetman(431)# emerge --info '=perl-gcpan/Math-GSL-0.27' Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.16.0, 3.8.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.8.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2 KiB Mem: 8165732 total, 547364 free KiB Swap: 50347696 total, 50064228 free Timestamp of tree: Sun, 24 Feb 2013 14:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p42 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo x11 science sage-on-gentoo sunrise lisp lordvan sabayon x-portage x-cpan g-octave ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-10.3 AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/sage-on-gentoo /var/lib/layman/sunrise /var/lib/layman/lisp /var/lib/layman/lordvan /var/lib/layman/sabayon /usr/local/portage /var/lib/cpan /var/lib/g-octave" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 ao apache2 apng applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boo boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli consolekit corba cracklib crypt css cuda cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fts3 fuse g3dvl gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile harness hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3 id3tag ide imagemagick imap inotify introspection ipod ipv6 ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kqemu kvm ladspa lame lapack latex lcms ldap lensfun libffi libkms libnotify libsamplerate live lm_sensors lua lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nntp nptl nsplugin ntfs ntp numpy nvidia obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp overview pam pcre pda pdf perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rhythmbox rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse4a ssl stlport subtitles subversion sudo suexec svg svm swig szip t1lib tcl tcpd tex tex4ht texmacs tgif theora thesaurus threads thunderbird tidy tiff tk tools truetype udev udisks unicode usb userlocales utempter v4l vaapi vala vdpau video virt-network virtualbox visio vorbis vpx wav webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xemacs xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" 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" 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 auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="caps lvm mdraid 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, USE_PYTHON ================================================================= Package Settings ================================================================= perl-gcpan/Math-GSL-0.27 was built with the following: USE="(multilib)"
I have seen similar things with other packages, the most recent being perl-gcpan/IPC-Run-0.92 and dev-perl/IPC-Run-0.920.0. Others were of the Test-XXX family, sorry I forgot which ones. The perl-gcpan variants were all pulled in as dependencies while the dev-perl ones were already installed. I could guess perl-gcpan fails to recognise them because of different version strings? Anyways, this is pretty annoying.