Hello. I have a good chunk of my applications non-functional due to what appears to be a file-collision. There are is one application that depends on emul-linux-x86-sdl, that is wine, and it's because I have a 64-bit system. That seems to be unavoidable. However emul-linux-x86-sdl installs the same files as openal, causing a file-collision to occur. In short, openal and emul-linux-x86-sdl cannot be installed simultaneously. What I find interesting is that wine depends on both openal and emul-linux-x86-sdl, making it impossible to upgrade.

Here is what I get when openal is installed and I try to install "emul-linux-x86-sdl":

Code:

* Messages for package app-emulation/emul-linux-x86-sdl-20120127:

* 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/lib32/libopenal.so.1.13.0
* /usr/lib32/libopenal.so.1
* /usr/lib32/libopenal.so
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* media-libs/openal-1.13
* /usr/lib32/libopenal.so
* /usr/lib32/libopenal.so.1
* /usr/lib32/libopenal.so.1.13.0
*
* Package 'app-emulation/emul-linux-x86-sdl-20120127' NOT merged due to
* file collisions. If necessary, refer to your elog messages for the
* whole content of the above message.

On a 64bit system media-libs/openal-1.13 should not install ANY files into /usr/lib32/
Please add ACCEPT_KEYWORDS="amd64" to /etc/make.conf, rebuild media-libs/openal and check if the problem persists._________________BTW, TWM FTW!

On a 64bit system media-libs/openal-1.13 should not install ANY files into /usr/lib32/
Please add ACCEPT_KEYWORDS="amd64" to /etc/make.conf, rebuild media-libs/openal and check if the problem persists.

After adding that line to make.conf, the problem still persists. Any ideas?

So now you should be fine, let wine pull media-libs/openal as a dependency and it should not conflict anymore.

I am wondering why it happened, though. Have you migrated to amd64 from a 32bit system maybe?

Nope. I'm still using a 64 bit system. It just happened one day. I don't think that'll fix the problem though. I've unmerged it before and let wine pull it and it did the same thing.
Aha. Did it again:

Code:

>>> Installing (2 of 3) app-emulation/emul-linux-x86-sdl-20120127
* 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/lib32/libopenal.so.1.13.0
* /usr/lib32/libopenal.so.1
* /usr/lib32/libopenal.so
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* media-libs/openal-1.13
* /usr/lib32/libopenal.so
* /usr/lib32/libopenal.so.1
* /usr/lib32/libopenal.so.1.13.0
*
* Package 'app-emulation/emul-linux-x86-sdl-20120127' NOT merged due to
* file collisions. If necessary, refer to your elog messages for the
* whole content of the above message.