Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504094 - app-laptop/laptop-mode-tools should not depend on net-wireless/bluez:0/0=
Summary: app-laptop/laptop-mode-tools should not depend on net-wireless/bluez:0/0=
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 15:08 UTC by Matthew Schultz
Modified: 2014-03-10 15:55 UTC (History)
0 users

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 Matthew Schultz 2014-03-10 15:08:39 UTC
I'm not sure if this is a portage bug or a problem with laptop-mode-tools, but when you have laptop-mode-tools 1.63-r2 installed with bluez-5.15 and you try to emerge net-libs/libbluedevil-2.0_rc1, you get a slot conflict because laptop-mode-tools tries to pull in bluez-4.101-r8 and libbluedevil won't allow it.

Reproducible: Always

Steps to Reproduce:
1. emerge laptop-mode-tools libbluedevil
Actual Results:  
This is when trying to do a world update:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-wireless/bluez:0

  (net-wireless/bluez-4.101-r8::gentoo, ebuild scheduled for merge) pulled in by
    net-wireless/bluez:0/0= required by (app-laptop/laptop-mode-tools-1.63-r2::gentoo, installed)

  (net-wireless/bluez-5.15::gentoo, installed) pulled in by
    >=net-wireless/bluez-5 required by (net-libs/libbluedevil-2.0_rc1::gentoo, ebuild scheduled for merge)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 15:23:11 UTC
You are reading the Portage output wrong.

$ grep bluez *.ebuild
laptop-mode-tools-1.63-r2.ebuild: bluetooth? ( net-wireless/bluez:= )
laptop-mode-tools-1.63-r3.ebuild: bluetooth? ( net-wireless/bluez:= )
laptop-mode-tools-1.64.ebuild:    bluetooth? ( net-wireless/bluez:= )

There is no '0/0=' dependency, but instead any version is allowed by laptop-mode-tools.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 15:25:07 UTC
(In reply to Matthew Schultz from comment #0)
> This is when trying to do a world update:

Right, you possibly have to recompile packages you have installed using bluez. 
This bug is likely an case of "unclear" Portage output which caused misunderstanding of it.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 15:47:35 UTC
Possible you want bug 500836
Comment 4 Matthew Schultz 2014-03-10 15:55:08 UTC
(In reply to Samuli Suominen from comment #3)
> Possible you want bug 500836

Thanks for the help.  I was able to fix it by unmerging laptop-mode-tools, upgrading libbluedevil and then reemerging laptop-mode-tools.