Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692328 - sys-apps/kmod[tools] has internal collisions
Summary: sys-apps/kmod[tools] has internal collisions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-17 06:08 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-08-18 16:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (kmod.patch,2.34 KB, patch)
2019-08-17 06:18 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-08-17 06:08:17 UTC
sys-apps/kmod[tools] has internal collisions.
(Detection of internal collisions is implemented in Portage >=2.3.72.)

Example steps to reproduce:
# mkdir /tmp/root
# mkdir /tmp/root/bin
# mkdir /tmp/root/usr
# ln -s bin /tmp/root/sbin
# ln -s ../bin /tmp/root/usr/bin
# ln -s ../bin /tmp/root/usr/sbin
# ROOT="/tmp/root" ebuild kmod-26-r1.ebuild merge
...
 * checking 31 files for package collisions
 * Package 'sys-apps/kmod-26-r1' has internal collisions between non-
 * identical files (located in separate directories in the installation
 * image (${D}) corresponding to merged directories in the target
 * filesystem (${ROOT})):
 * 
 *      /tmp/root/bin/lsmod
 *              /tmp/root/bin/lsmod
 *              /tmp/root/sbin/lsmod
 *                      Differences: size, content
 * 
 *      /tmp/root/bin/modinfo
 *              /tmp/root/bin/modinfo
 *              /tmp/root/sbin/modinfo
 *                      Differences: size, content
 * 
 * Package 'sys-apps/kmod-26-r1' NOT merged due to internal collisions
 * between non-identical files. If necessary, refer to your elog messages
 * for the whole content of the above message.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-08-17 06:18:17 UTC
Created attachment 587088 [details, diff]
Patch
Comment 2 Larry the Git Cow gentoo-dev 2019-08-18 16:25:47 UTC
The bug has been closed via the following commit(s):

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

commit 26f3758bf8f9d38e0961c94797b601307a54c5e7
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-08-18 16:24:08 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-18 16:25:40 +0000

    sys-apps/kmod: drop duplicate symlinks for lsmod, modinfo
    
    Closes: https://bugs.gentoo.org/692328
    Package-Manager: Portage-2.3.71_p6, Repoman-2.3.17_p5
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/kmod/{kmod-26-r1.ebuild => kmod-26-r2.ebuild} | 10 +++++-----
 sys-apps/kmod/kmod-9999.ebuild                         | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)