Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885459 - net-wireless/bluez and net-wireless/bluez-hcidump are incompatible with a merged-usr system
Summary: net-wireless/bluez and net-wireless/bluez-hcidump are incompatible with a mer...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2022-12-11 15:06 UTC by Adrian Bassett
Modified: 2023-01-19 14:00 UTC (History)
1 user (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 Adrian Bassett 2022-12-11 15:06:37 UTC
Each of the packages in the summary install an hcidump binary, the former to /usr/bin and the latter to /usr/sbin.  As such, having both packages installed on a system blocks transition to a merger-usr system/profile.

Perhaps they should block each other?

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2022-12-13 19:54:00 UTC
That is not a collision, merge-usr is not merging bin and sbin... All the other distros still providing that obsolete tools are providing them in that way too without problems
Comment 2 Adrian Bassett 2022-12-13 20:22:48 UTC
(In reply to Pacho Ramos from comment #1)
> merge-usr is not merging bin and sbin... 

Doesn't look like that to me;  post merge-usr transition layout:

# ls /{s,}bin 
lrwxrwxrwx 1 root root 7 Dec 11 11:08 /bin -> usr/bin
lrwxrwxrwx 1 root root 7 Dec 11 11:08 /sbin -> usr/bin

# ls -d /usr/{s,}bin
drwxr-xr-x 4 root root 131072 Dec 13 09:54 /usr/bin
lrwxrwxrwx 1 root root      3 Dec 11 11:08 /usr/sbin -> bin


Also, emerging bluez-hcidump after the merge-usr transition fails with:

 * Detected file collision(s):
 * 
 * 	/usr/sbin/hcidump
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-wireless/bluez-5.66:0::gentoo
 * 	/usr/bin/hcidump
 * 
 * Package 'net-wireless/bluez-hcidump-2.5' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 3 Pacho Ramos gentoo-dev 2022-12-13 22:40:33 UTC
You are right

In that case I would simply mask net-wireless/bluez-hcidump for removal in favor of bluez[deprecated]. It even being "deprecated" is still more maintained that net-wireless/bluez-hcidump is dead for ages
Comment 4 Adrian Bassett 2022-12-14 10:07:50 UTC
(In reply to Pacho Ramos from comment #3)
> You are right
> 
> In that case I would simply mask net-wireless/bluez-hcidump for removal in
> favor of bluez[deprecated]. It even being "deprecated" is still more
> maintained that net-wireless/bluez-hcidump is dead for ages
Thanks for the comment.

Yes, I'd unmerged bluez-hcidump to enable the merge-usr transition.  (Actually I don't recall ever having used it...)
Comment 5 Mike Gilbert gentoo-dev 2023-01-03 18:30:27 UTC
# Pacho Ramos <pacho@gentoo.org> (2022-12-18)
# Dead for ages, still included and barely maintained in bluez[deprecated].
# See bug #885459
# Removal: 2023-01-17.  Bug #885459.
net-wireless/bluez-hcidump
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-03 23:55:15 UTC
We should add a blocker in bluez anyway to help people upgrading (e.g. even if they deselect it, the emerge would currently fail right now).
Comment 7 Larry the Git Cow gentoo-dev 2023-01-14 20:08:38 UTC
The bug has been referenced in the following commit(s):

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

commit 73b72443e97ff78a91c1bbdd26f0433e1b28c463
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-14 20:07:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-14 20:07:56 +0000

    net-wireless/bluez: add blocker on net-wireless/bluez-hcidump
    
    Bug: https://bugs.gentoo.org/885459
    Signed-off-by: Sam James <sam@gentoo.org>

 net-wireless/bluez/{bluez-5.65.ebuild => bluez-5.65-r1.ebuild} | 1 +
 net-wireless/bluez/{bluez-5.66.ebuild => bluez-5.66-r1.ebuild} | 1 +
 2 files changed, 2 insertions(+)
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-19 14:00:30 UTC
Package removed.