When installing dev-php/PEAR-Mail_mimeDecode-1.5.5, the following files are also installed that should not have been installed: /.depdb /.depdblock I think other PEAR packages might also install the same files which causes a file collision. Reproducible: Always
Can't repeat: eldest ~ # emerge -1a PEAR-Mail_mimeDecode These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-php/PEAR-Mail_Mime-1.8.8 [ebuild N ] dev-php/PEAR-Mail_mimeDecode-1.5.5 Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 2) dev-php/PEAR-Mail_Mime-1.8.8::gentoo >>> Installing (1 of 2) dev-php/PEAR-Mail_Mime-1.8.8::gentoo >>> Emerging (2 of 2) dev-php/PEAR-Mail_mimeDecode-1.5.5::gentoo >>> Installing (2 of 2) dev-php/PEAR-Mail_mimeDecode-1.5.5::gentoo >>> Jobs: 2 of 2 complete Load avg: 1.28, 6.08, 5.29 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. eldest ~ # ls -a / . .lesshst boot fcron.log lxc root usr .. .links crossdev home media run var .bash_history Local_Ebuilds data lib mnt sbin .cache Recycled dev lib32 opt slim.png .catalyst_lock a4f80886ff489cf19ce6de6488 eldest-bin lib64 proc sys .dbus bin etc lost+found release tmp ldest ~ # emerge -pvO dev-php/pear dev-php/PEAR-PEAR These are the packages that would be merged, in order: [ebuild R ] dev-php/pear-1.9.4::gentoo 0 KiB [ebuild R ] dev-php/PEAR-PEAR-1.9.4::gentoo 0 KiB
I have seen this before, but I was never able to reproduce it. Something weird in the eclass. You see stuff like this: cd "${S}" ... rm -Rf "${D}/usr/share/php/.channels" \ "${D}/usr/share/php/.depdblock" \ "${D}/usr/share/php/.depdb" \ "${D}/usr/share/php/.filemap" \ "${D}/usr/share/php/.lock" \ "${D}/usr/share/php/.registry" with no die statements.
router ~ # emerge -1v PEAR-Mail_mimeDecode|tee pear_debug.txt These are the packages that would be merged, in order: Calculating dependencies ..... done! [ebuild N ] dev-php/PEAR-Mail_mimeDecode-1.5.5::gentoo 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-php/PEAR-Mail_mimeDecode-1.5.5::gentoo * Mail_mimeDecode-1.5.5.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Mail_mimeDecode-1.5.5.tgz to /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/work >>> Source unpacked in /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/work >>> Preparing source in /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/work/Mail_mimeDecode-1.5.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/work/Mail_mimeDecode-1.5.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/work/Mail_mimeDecode-1.5.5 ... >>> Source compiled. >>> Test phase [not enabled]: dev-php/PEAR-Mail_mimeDecode-1.5.5 >>> Install PEAR-Mail_mimeDecode-1.5.5 into /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/image/ category dev-php warning: pear/Mail_mimeDecode requires package "pear/Mail_Mime" (version >= 1.4.0, excluded versions: 1.4.0) install ok: channel://pear.php.net/Mail_mimeDecode-1.5.5 >>> Completed installing PEAR-Mail_mimeDecode-1.5.5 into /var/tmp/portage/dev-php/PEAR-Mail_mimeDecode-1.5.5/image/ >>> Installing (1 of 1) dev-php/PEAR-Mail_mimeDecode-1.5.5::gentoo * checking 5 files for package collisions >>> Merging dev-php/PEAR-Mail_mimeDecode-1.5.5 to / --- /usr/ --- /usr/share/ --- /usr/share/php/ --- /usr/share/php/tests/ >>> /usr/share/php/tests/Mail_mimeDecode/ >>> /usr/share/php/tests/Mail_mimeDecode/tests/ >>> /usr/share/php/tests/Mail_mimeDecode/tests/parse_header_value.phpt >>> /usr/share/php/tests/Mail_mimeDecode/tests/semicolon_content_type_bug1724.phpt --- /usr/share/php/Mail/ >>> /usr/share/php/Mail/mimeDecode.php >>> /.depdblock >>> /.depdb >>> dev-php/PEAR-Mail_mimeDecode-1.5.5 merged. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
router ~ # emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64) ================================================================= System uname: Linux-4.3.0-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.2 KiB Mem: 16004484 total, 4380120 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 09 Dec 2015 14:45:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.11::gentoo, 3.4.3-r2::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.69-r1::gentoo sys-devel/automake: 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=btver1 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=btver1 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs 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://distfiles.gentoo.org" 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" USE="acl amd64 bzip2 caps cli cracklib crypt cups cxx dri gdbm gnutls iconv idn iproute2 ipv6 lzma maildir mmx mmxext modules ncurses nls nptl offensive opengl pam pcre png popcnt readline seccomp session speex spice sse sse2 sse3 sse4a ssl ssse3 syslog tcpd udev unicode usb vhosts vorbis xattr 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="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="pc" 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 de_DE en en_GB en_US zh zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" 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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Confirmed with PEAR-1.10.1 on an ~amd64 machine
php-pear-r1.eclass, php-pear-lib-r1.eclass: Apply metadata_path wrt bug 567894 The metadata_path is new with dev-php/PEAR-PEAR-1.10. The dependency files are created there instead of a previous location. We don't need the files, so we set this up to where it used to be and remove them later. Signed-off-by: Brian Evans <grknight@gentoo.org>