Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834984 - games-emulation/melonds-0.9.4_p1: file colision with dev-libs/teakra from overlay
Summary: games-emulation/melonds-0.9.4_p1: file colision with dev-libs/teakra from ove...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-12 07:14 UTC by Andrew Udvare
Modified: 2022-03-13 01:10 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 Andrew Udvare 2022-03-12 07:14:27 UTC
My overlay and others have a separate library ebuild for teakra which conflicts with a new file installed with the latest MelonDS version ebuild.

Can you do one of the following?

- provide a dev-libs/teakra ebuild and link to that (I will remove the one from my overlay in that case)
- link teakra in statically?
- put libteakra.so in somewhere like /usr/lib64/melonds and set the rpath?

Teakra ebuilds in overlays: https://gpo.zugaina.org/dev-libs/teakra

Reproducible: Always

Steps to Reproduce:
1. eselect repository enable Tatsh-overlay
2. emerge -1 dev-libs/libteakra
3. emerge melonds
Actual Results:  
File /usr/lib64/libteakra.so collides.

Expected Results:  
File /usr/lib64/libteakra.so should not collide.

 * checking 13 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 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/lib/debug/usr/lib64/libteakra.so.debug
 *      /usr/lib64/libteakra.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-libs/teakra-20220224:0::tatsh-overlay
 *      /usr/lib/debug/usr/lib64/libteakra.so.debug
 *      /usr/lib64/libteakra.so
 *
 * Package 'games-emulation/melonds-0.9.4_p1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 1 Alexander Weber 2022-03-12 12:55:53 UTC
Same issue here.

teakra is library that is used by melonds (DS), and citra (3DS) emulators. Citra is not in portage yet. (Related to https://bugs.gentoo.org/779442)

I think the right way is to add teakra ebuild into portage and remove the lib from melonds, like already done in tatch overlay.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-13 01:10:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a2748cc895020a5d5582192c69874b7fde795d

commit a5a2748cc895020a5d5582192c69874b7fde795d
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-03-13 01:00:52 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-03-13 01:04:56 +0000

    games-emulation/melonds: use system teakra
    
    Closes: https://bugs.gentoo.org/834984
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../melonds/files/melonds-system-teakra.patch      | 23 ++++++++++++++++++++++
 ...nds-0.9.3-r1.ebuild => melonds-0.9.3-r2.ebuild} | 13 +++++-------
 ...-0.9.4_p1.ebuild => melonds-0.9.4_p1-r1.ebuild} | 13 +++++-------
 games-emulation/melonds/melonds-9999.ebuild        | 13 +++++-------
 4 files changed, 38 insertions(+), 24 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b2659dc8373c714989795015a5b47f2f592bf5

commit b2b2659dc8373c714989795015a5b47f2f592bf5
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-03-13 00:29:18 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-03-13 01:04:42 +0000

    dev-libs/teakra: new package; add 20220224
    
    2022.02.24 snapshot
    
    Bug: https://bugs.gentoo.org/834984
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-libs/teakra/Manifest               |  1 +
 dev-libs/teakra/metadata.xml           | 13 +++++++++++++
 dev-libs/teakra/teakra-20220224.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)