Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537986 - dev-db/mariadb-10.0.15-r1 with app-emulation/emul-linux-x86-db-20140508-r1 - file collision in usr/lib32/libmysqlclient_r.so /usr/lib32/libmysqlclient.so
Summary: dev-db/mariadb-10.0.15-r1 with app-emulation/emul-linux-x86-db-20140508-r1 - ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Multilib team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 15:12 UTC by Justin Rittenhouse
Modified: 2015-06-02 08:33 UTC (History)
0 users

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 Justin Rittenhouse 2015-01-27 15:12:15 UTC
emerge world pulls in mariadb-10.0.15-r1, which fails due to a collision with emul-linux-x86-db-20140508-r1. emul-linux-x86-db-20140508-r2 is supposed to support multilib mariadb, which I'm guessing should fix this, but attempting to upgrade emul-linux-x86-db (actually pulling in -r3) pulls mariadb in first, which fails because of the collision.

*emul-linux-x86-db-20140508-r2 (19 Aug 2014)

  19 Aug 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
  +emul-linux-x86-db-20140508-r2.ebuild, +files/remove-native-20140508-r2:
  Support multilib mariadb.  When other mysql providers become multilib aware,
  no additional file exclusions will be necessary but the ebuild will probably
  still need to be revbumped

emerge -va1u app-emulation/emul-linux-x86-db                                                              

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

Calculating dependencies... done!
[ebuild     U  ] dev-db/mariadb-10.0.15-r1 [5.5.41] USE="community extraengine* pam perl ssl xml%* -cluster -debug -embedded -jemalloc -latin1 -max-idx-128 -minimal -odbc% -oqgraph -profiling (-selinux) -sphinx -static -static-libs -syste
mtap -tcmalloc {-test} -tokudb (-bindist%)" ABI_X86="32%* (64%*) (-x32)" 0 KiB
[ebuild     U  ] virtual/mysql-5.6-r2:0/18 [5.5:0/0] USE="-embedded -minimal -static -static-libs" ABI_X86="32%* (64%*) (-x32)" 0 KiB
[ebuild     U ~] app-emulation/emul-linux-x86-db-20140508-r3 [20140508-r1] USE="development" ABI_X86="32" 0 KiB

Total: 3 packages (3 upgrades), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 3) dev-db/mariadb-10.0.15-r1::gentoo
>>> Installing (1 of 3) dev-db/mariadb-10.0.15-r1::gentoo
>>> Failed to install dev-db/mariadb-10.0.15-r1

 * Detected file collision(s):
 * 
 *      /usr/lib32/libmysqlclient_r.so
 *      /usr/lib32/libmysqlclient.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-emulation/emul-linux-x86-db-20140508-r1:0::gentoo
 *      /usr/lib32/libmysqlclient.so
 *      /usr/lib32/libmysqlclient_r.so
 * 
 * Package 'dev-db/mariadb-10.0.15-r1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.


Reproducible: Always

Steps to Reproduce:
1. emerge world or emerge >app-emulation/emul-linux-x86-db-20140508-r1
2. emerge pulls in mariadb-10.0.15-r1
3. mariadb-10.0.15-r1 fails due to file collision
Actual Results:  
mariadb fails to install due to file collision

Expected Results:  
emul-linux-x86-db should emerge first

Removing emul-linux-x86-db and then emerging mariadb and emul-linux-x86-db avoids the conflict.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-02 08:33:39 UTC
The emul-linux-x86 packages have been removed.