www-apps/chromedriver-bin fails with file collision when chromium is installed because chomium already provides chromedriver: * 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 https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://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/bin/chromedriver * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * www-client/chromium-64.0.3282.186:0::gallifrey * /usr/bin/chromedriver * * Package 'www-apps/chromedriver-bin-2.35' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. $ ls -l /usr/bin/chromedriver lrwxrwxrwx 1 root root 40 Feb 1 11:06 /usr/bin/chromedriver -> /usr/lib64/chromium-browser/chromedriver Reproducible: Always
Created attachment 522510 [details, diff] chromedriver-bin-2.35-r1.ebuild.patch www-apps/chromedriver-bin-2.35-r1 patch with chromium block
Just a note gallifrey is my overlay but same problem there's with official chromium ebuild: src_install() { ... doexe out/Release/chromedriver ... dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver ... }
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157dc868a0b7a933626382701a0dba6e74000bde commit 157dc868a0b7a933626382701a0dba6e74000bde Author: Marco Genasci <fedeliallalinea@gmail.com> AuthorDate: 2018-06-27 00:08:40 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-06-27 00:11:46 +0000 www-apps/chromedriver-bin: block www-client/chromium (bug 649742) Both packages install /usr/bin/chromedriver. Closes: https://bugs.gentoo.org/649742 Package-Manager: Portage-2.3.40, Repoman-2.3.9 ...{chromedriver-bin-2.24.ebuild => chromedriver-bin-2.24-r1.ebuild} | 5 +++-- ...{chromedriver-bin-2.30.ebuild => chromedriver-bin-2.30-r1.ebuild} | 5 +++-- ...{chromedriver-bin-2.35.ebuild => chromedriver-bin-2.35-r1.ebuild} | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-)
Thanks for the report, I've also added the !www-client/chromium blocker in the 2.40 version bump: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab89dd6b521d3a6cb88342d2442aa529ca2bfac