Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541544 - perl-core/ExtUtils-Manifest-1.630.0-r1: file collisions... perl-core/ExtUtils-MakeMaker-7.40.0:0::gentoo
Summary: perl-core/ExtUtils-Manifest-1.630.0-r1: file collisions... perl-core/ExtUtil...
Status: RESOLVED FIXED
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:
: 541630 (view as bug list)
Depends on: 539996
Blocks:
  Show dependency tree
 
Reported: 2015-02-27 17:43 UTC by Toralf Förster
Modified: 2015-02-28 19:28 UTC (History)
3 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 Toralf Förster gentoo-dev 2015-02-27 17:43:30 UTC
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) perl-core/ExtUtils-Manifest-1.630.0-r1::gentoo
>>> Installing (1 of 1) perl-core/ExtUtils-Manifest-1.630.0-r1::gentoo
>>> Failed to install perl-core/ExtUtils-Manifest-1.630.0-r1, Log file:
>>>  '/var/log/portage/perl-core:ExtUtils-Manifest-1.630.0-r1:20150227-163452.log'
 * Package:    perl-core/ExtUtils-Manifest-1.630.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 ExtUtils-Manifest-1.63.tar.gz to /var/tmp/portage/perl-core/ExtUtils-Manifest-1.630.0-r1/work
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/perl-core/ExtUtils-Manifest-1.630.0-r1/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::Manifest
Writing MYMETA.yml and MYMETA.json
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
cp lib/ExtUtils/MANIFEST.SKIP blib/lib/ExtUtils/MANIFEST.SKIP
cp lib/ExtUtils/Manifest.pm blib/lib/ExtUtils/Manifest.pm
Installing /var/tmp/portage/perl-core/ExtUtils-Manifest-1.630.0-r1/image/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
Installing /var/tmp/portage/perl-core/ExtUtils-Manifest-1.630.0-r1/image/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
 * This package will overwrite one or more files that may belong to other
 * packages (see list below).
 * 
 * Detected file collision(s):
 * 
 * 	/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
 * 	/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * perl-core/ExtUtils-MakeMaker-7.40.0:0::gentoo
 * 	/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
 * 	/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
 * 
 * Package 'perl-core/ExtUtils-Manifest-1.630.0-r1' NOT merged due to
 * file collisions. If necessary, refer to your elog messages for the
 * whole content of the above message.

!!! existing preserved libs found


        This is a amd64 hardened-unstable chroot image named amd64-hardened-unstable at a hardened stable host acting as a build bot.
        quick search: https://bugs.gentoo.org/buglist.cgi?quicksearch=perl-core%2FExtUtils-Manifest

        
Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.9.2, glibc-2.19-r1, 3.18.7-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164808 total,   1657516 free
KiB Swap:   16777212 total,  16749884 free
Timestamp of tree: Fri, 27 Feb 2015 13:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r2, 3.3.5-r1
dev-util/ccache:          3.2.1-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.10.3-r1, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3, 4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~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/easy-rsa /usr/share/qpsmtpd/plugins"
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/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --quiet  --deep --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean 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"
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=""
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cli corefonts cracklib crypt cups cxx dbus dnssec dri drmkms dvd ecc extraengine ffmpeg fontconfig fortran fpm gdbm gtk gudev gui hardened iconv isag jpeg justify libav libvirtd logrotate macvtap mbox minizip mmx modules multilib mysql ncurses nls nptl ogg opengl openmp pam pax_kernel pcre plasma png policykit qemu qt3support qt4 readline session spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 tcpd theora thinkpad threads tk tls truetype uml unicode urandom usb usbredir uxa v4l v4l2 video vorbis xa xattr xmp xscreensaver 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" 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, SYNC, USE_PYTHON
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-27 17:52:54 UTC
Ah. I was wondering when bug #539996 would become an actual problem =)

ExtUtils::Manifest is one of EUMMs "Bundled" libraries which normally gets installed in bootstrap environments ( CPAN ).

Gentoo presently foolishly fix "The bundled libraries" like this:

# remove all the bundled distributions
pushd "${D}"
find ".${VENDOR_LIB}" -mindepth 1 -maxdepth 1 -not -name "ExtUtils" -exec rm -rfv {} \+


Which would make perfect sense as long as ExtUtils::Manifest was not a bundled library :p
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2015-02-27 23:46:34 UTC
  27 Feb 2015; Andreas K. Huettel <dilfridge@gentoo.org>
  +ExtUtils-MakeMaker-7.40.0-r1.ebuild:
  Fix bug 539996 and bug 541544
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-28 16:20:39 UTC
*** Bug 541630 has been marked as a duplicate of this bug. ***
Comment 4 Ben Kohler gentoo-dev 2015-02-28 16:38:02 UTC
This fix isn't great, if I try to upgrade to ExtUtils-MakeMaker-7.40.0-r1 to get the fix, it pulls ExtUtils-Manifest-1.700.0 as a dep which collides with the currently installed ExtUtils-MakeMaker-7.40.0.

# emerge -1av perl-core/ExtUtils-MakeMaker

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

Calculating dependencies... done!
[ebuild  N     ] perl-core/ExtUtils-Manifest-1.700.0::gentoo  0 KiB
[ebuild     U  ] virtual/perl-ExtUtils-Manifest-1.700.0::gentoo [1.630.0-r1::gentoo] 0 KiB
[blocks b      ] >perl-core/ExtUtils-Manifest-1.630.0-r999 (">perl-core/ExtUtils-Manifest-1.630.0-r999" is blocking virtual/perl-ExtUtils-Manifest-1.630.0-r1)
[ebuild     U  ] perl-core/ExtUtils-MakeMaker-7.40.0-r1::gentoo [7.40.0::gentoo] 0 KiB
[ebuild  N     ] perl-core/CPAN-Meta-2.143.240::gentoo  USE="{-test}" 0 KiB
[ebuild     U  ] virtual/perl-CPAN-Meta-2.143.240::gentoo [2.140.640::gentoo] 0 KiB
[blocks b      ] >perl-core/CPAN-Meta-2.140.640-r999 (">perl-core/CPAN-Meta-2.140.640-r999" is blocking virtual/perl-CPAN-Meta-2.140.640)

Total: 5 packages (3 upgrades, 2 new), Size of downloads: 0 KiB
Conflict: 2 blocks

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 5) perl-core/ExtUtils-Manifest-1.700.0::gentoo
>>> Installing (1 of 5) perl-core/ExtUtils-Manifest-1.700.0::gentoo
>>> Failed to install perl-core/ExtUtils-Manifest-1.700.0, Log file:
>>>  '/mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/temp/build.log'
>>> Jobs: 0 of 5 complete, 1 failed                 Load avg: 0.14, 0.14, 0.10
 * Package:    perl-core/ExtUtils-Manifest-1.700.0
 * 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 ExtUtils-Manifest-1.70.tar.gz to /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/work
>>> Source unpacked in /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/work
>>> Preparing source in /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/work/ExtUtils-Manifest-1.70 ...
>>> Source prepared.
>>> Configuring source in /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/work/ExtUtils-Manifest-1.70 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::Manifest
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/work/ExtUtils-Manifest-1.70 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j5 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 
cp lib/ExtUtils/Manifest.pm blib/lib/ExtUtils/Manifest.pm
cp lib/ExtUtils/MANIFEST.SKIP blib/lib/ExtUtils/MANIFEST.SKIP
>>> Source compiled.
>>> Test phase [not enabled]: perl-core/ExtUtils-Manifest-1.700.0

>>> Install ExtUtils-Manifest-1.700.0 into /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/image/ category perl-core
make -j5 pure_install 
Installing /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/image/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
Installing /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/image/usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
>>> Completed installing ExtUtils-Manifest-1.700.0 into /mnt/btr/var-tmp/portage/perl-core/ExtUtils-Manifest-1.700.0/image/

ecompressdir: bzip2 -9 /usr/share/doc
 * checking 4 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
 *      /usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * perl-core/ExtUtils-MakeMaker-7.40.0:0::gentoo
 *      /usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/MANIFEST.SKIP
 *      /usr/lib64/perl5/vendor_perl/5.20.2/ExtUtils/Manifest.pm
 * 
 * Package 'perl-core/ExtUtils-Manifest-1.700.0' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

 * GNU info directory index is up-to-date.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2015-02-28 19:20:00 UTC
I agree with Ben, this isn't fixed. Users have to manually unmerge "perl-core/ExtUtils-MakeMaker" to solve the blocking/file collision problem.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2015-02-28 19:28:26 UTC
OK I've additionally added a blocker on perl-core/ExtUtils-MakeMaker in 7.40.0

This should give Portage enough information to sort out the update sequence.