Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590124 - x11-libs/wxGTK-3.0.2.0-r301 - file collision with app-eselect/eselect-wxwidgets-20140423
Summary: x11-libs/wxGTK-3.0.2.0-r301 - file collision with app-eselect/eselect-wxwidge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 812050
Blocks:
  Show dependency tree
 
Reported: 2016-07-31 11:53 UTC by Martin Mokrejš
Modified: 2021-09-07 21:01 UTC (History)
2 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 Martin Mokrejš 2016-07-31 11:53:36 UTC
First of all, this message is a bit confusing. On Gentoo:RAP installation all paths reported should contain my EPREFIX, which is /scratch/mmokrejs/gentoo_rap.

The output referring to files owned by app-eselect/eselect-wxwidgets-20140423 needs to include $EPREFIX.


>>> Installing (4 of 6) x11-libs/wxGTK-3.0.2.0-r301::gentoo
 * 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):
 * 
 *      /scratch/mmokrejs/gentoo_rap/usr/bin/wx-config
 *      /scratch/mmokrejs/gentoo_rap/usr/bin/wxrc
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-eselect/eselect-wxwidgets-20140423:0::gentoo
 *      /usr/bin/wx-config
 *      /usr/bin/wxrc
 * 
 * Package 'x11-libs/wxGTK-3.0.2.0-r301' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


The files are really not in the '/', which is correct:

$ ls -latr /usr/bin/wx-config
ls: cannot access '/usr/bin/wx-config': No such file or directory
$ ls -latr  /usr/bin/wxrc
ls: cannot access '/usr/bin/wxrc': No such file or directory
$ 


So, some class outputiing the file collision needs to include EPREFIX in  the message output.
Comment 1 Sammy Pfeiffer 2019-12-04 05:36:17 UTC
I found myself with the same file collision error.

Now it's x11-libs/wxGTK-3.0.4-r302::gentoo

With app-eselect/eselect-wxwidgets-20180529:0::gentoo

The error message still reports the paths as hanging from / not from my EPREFIX. But the problem is actually (correctly) in my EPREFIX.
Comment 2 Rabbe Fogelholm 2020-01-07 14:44:09 UTC
Same problem seen in Gentoo Prefix with the most recent package versions:

 * Detected file collision(s):
 * 
 *      /local/repo/zfograb/g2/usr/bin/wxrc
 *      /local/repo/zfograb/g2/usr/bin/wx-config
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-eselect/eselect-wxwidgets-20180529:0::gentoo
 *      /usr/bin/wx-config
 *      /usr/bin/wxrc
 * 
 * Package 'x11-libs/wxGTK-3.0.4-r302' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 3 Rabbe Fogelholm 2020-01-07 14:59:50 UTC
Oops, I see now that Comment 1 already confirms the issue with the same versions that I tried. Sorry for the noise...
Comment 4 Rabbe Fogelholm 2020-05-19 08:03:55 UTC
Workaround in case you want to emerge 'filezilla': Start with

emerge filezilla

which fails near the end because of the conflict. Then do

emerge --unmerge eselect-wxwidgets
emerge --nodeps wxGTK
emerge --nodeps filezilla
Comment 5 Fabian Groffen gentoo-dev 2021-01-06 13:08:24 UTC
I wonder if this still is the case, it may have had an overlaid version at the time of this bug
Comment 6 Alexey 2021-09-07 19:31:34 UTC
Yes, still happens.

x11-libs/wxGTK-3.0.4-r302

 * Detected file collision(s):
 * 
 *      /home/user/gentoo/usr/bin/wx-config
 *      /home/user/gentoo/usr/bin/wxrc
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-eselect/eselect-wxwidgets-20180529:0::gentoo
 *      /usr/bin/wx-config
 *      /usr/bin/wxrc
 * 
 * Package 'x11-libs/wxGTK-3.0.4-r302' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 7 Alexey 2021-09-07 20:38:08 UTC
This happens at the end of src_install phase:

rm: cannot remove '/home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/image//usr/bin/wx-config': No such file or directory      
rm: cannot remove '/home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/image//usr/bin/wxrc': No such file or directory
/home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/temp/environment: line 1536: pushd: /home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/image/usr/share/bakefile/presets/: No such file or directory
mv: cannot stat 'wx*': No such file or directory               
/home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/temp/environment: line 1541: popd: directory stack empty
>>> Completed installing x11-libs/wxGTK-3.0.4-r302 into /home/user/gentoo/var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/image/

Note that EPREFIX is missing...

Nvm, this is fixed already in -r303, which rm's from ${ED} instead of ${D}. Just need to stabilize -r303