Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666466 - sys-apps/sg3_utils-1.44 has file collision with sys-apps/rescan-scsi-bus-1.57-r1
Summary: sys-apps/sg3_utils-1.44 has file collision with sys-apps/rescan-scsi-bus-1.57-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 09:12 UTC by Dennis Schridde
Modified: 2021-04-19 08:37 UTC (History)
0 users

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


Attachments
build.log (build.log,76.99 KB, text/x-log)
2018-09-18 09:12 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2018-09-18 09:12:33 UTC
Created attachment 547148 [details]
build.log

* Detected file collision(s):
 * 
 *      /usr/bin/rescan-scsi-bus.sh
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-apps/rescan-scsi-bus-1.57-r1:0::gentoo
 *      /usr/sbin/rescan-scsi-bus.sh
 * 
 * Package 'sys-apps/sg3_utils-1.44' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Dennis Schridde 2018-09-18 09:18:38 UTC
Funny part is this in sg3_utils:
PDEPEND=">=sys-apps/rescan-scsi-bus-1.24"

But then:
# q list sg3_utils | grep rescan-scsi-bus
/usr/bin/rescan-scsi-bus.sh
/usr/share/man/man8/rescan-scsi-bus.sh.8.bz2

No idea how this could slip through testing...?
Comment 2 Larry the Git Cow gentoo-dev 2018-09-18 10:23:53 UTC
The bug has been closed via the following commit(s):

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

commit 2fc120ddfc3a495f4c53d2d7354ecb1adfbe79d5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-09-18 10:23:30 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-09-18 10:23:46 +0000

    sys-apps/sg3_utils: Block sys-apps/rescan-scsi-bus package.
    
    Closes: https://bugs.gentoo.org/666466
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-apps/sg3_utils/sg3_utils-1.44.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

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

commit af71222e3bf1bf623dcf128b1b0f6a7beb8d8741
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-09-18 10:21:27 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-09-18 10:23:44 +0000

    sys-apps/rescan-scsi-bus: Block newer sys-apps/sg3_utils releases
    
    as these ship rescan-scsi-bus.sh script.
    
    Bug: https://bugs.gentoo.org/666466
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.57-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-18 10:25:47 UTC
(In reply to Dennis Schridde from comment #1)
>
> No idea how this could slip through testing...?

Because sys-apps/rescan-scsi-bus package installes the script into /usr/sbin and sys-apps/sg3_utils installs it into /usr/bin
Comment 4 Dennis Schridde 2018-09-18 14:53:28 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #3)
> (In reply to Dennis Schridde from comment #1)
> >
> > No idea how this could slip through testing...?
> 
> Because sys-apps/rescan-scsi-bus package installes the script into /usr/sbin
> and sys-apps/sg3_utils installs it into /usr/bin

Ah, so this is only an issue with USE=-split-usr.  Thanks for the clarification!