The package compiled successfuly but the emerge have failed then trying to merge with following message: * Detected file collision(s): * * /usr/lib * * Searching all installed packages for file collisions... As I can see in temporary image directory - there is a file /var/tmp/portage/dev-db/mongodb-2.4.3/image/usr/lib not adirectory(!). In the build.log I have found the reason: Install file: "build/linux2/cc_i686-pc-linux-gnu-gcc/cxx_i686-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8/client_build/libmongoclient.a" as "/var/tmp/portage/dev-db/mongodb-2.4.3/image/usr/lib Reproducible: Always Steps to Reproduce: $ emerge =dev-db/mongodb-2.4.3 Actual Results: Here is part of build.log: * checking 750 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). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/lib * * Searching all installed packages for file collisions... Same thing with 2.4.2, but 2.2.4 is ok.
Created attachment 349626 [details] emerge --info
Created attachment 349628 [details] Log from build dirrectory
Created attachment 349630 [details] build.log.gz
Install file: "build/linux2/cc_i686-pc-linux-gnu-gcc/cxx_i686-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snapp y/use-system-tcmalloc/use-system-v8/client_build/libmongoclient.a" as "/var/tmp/portage/dev-db/mongodb-2.4.3/image/usr/lib
Thanks arsenicum, the ebuild was indeed wrongly forcing the usage of installAs() for x86 systems. After testing without this bit on a x86 box it worked as intended for me. Should be fixed now. +*mongodb-2.4.4 (05 Jun 2013) + + 05 Jun 2013; Ultrabug <ultrabug@gentoo.org> -mongodb-2.4.2.ebuild, + -mongodb-2.4.3.ebuild, +mongodb-2.4.4.ebuild, + +files/mongodb-2.4.4-fix-sharedclient.patch, + -files/mongodb-2.4-fix-sharedclient.patch: + Version bump, drop old, fix #471784 +