Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525886 - lxqt-base/lxqt-powermanagement-0.7.0 draws in sys-power/upower when trying to rebuild
Summary: lxqt-base/lxqt-powermanagement-0.7.0 draws in sys-power/upower when trying to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jauhien Piatlicki (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-19 17:57 UTC by J.O. Aho
Modified: 2014-10-19 20:38 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 J.O. Aho 2014-10-19 17:57:43 UTC
A system where sys-power/upower has been masked and lxqt-powermanagement-0.7.0 been built with the original ebuild, then the ebuild tries to pull in upower and causes a chainreaction of other packages to want to be rebuilt due of the change of sys-power/upower-pm-utils to sys-power/upower

This caused of a bad editing of the lxqt-base/lxqt-powermanagement-0.7.0 ebuild to have

RDEPEND="${CDEPEND}
    sys-power/upower"

that one should really have been:

RDEPEND="${CDEPEND}
    upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 18:08:38 UTC
  17 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org>
  lxqt-powermanagement-0.7.0.ebuild:
  add sys-power/upower to RDEPEND, fix bug 524620, thanks to  Priit Laes (IRC:
  plaes)

*** This bug has been marked as a duplicate of bug 524620 ***
Comment 2 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-10-19 20:29:28 UTC
Yes, this broken upower stuff with two packages in the tree. I will fix it, you are right.
Comment 3 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-10-19 20:30:34 UTC
The one thing: upower dependency should be non-conditional. Just "|| ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils )".
Comment 4 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-10-19 20:38:03 UTC
>  19 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org>
>  lxqt-powermanagement-0.7.0.ebuild:
>  add sys-power/upower-pm-utils as possible RDEPEND together with sys-
>  power/upower, bug 525886, thanks to J.O. Aho

Should be better now. I see no reason to use lxqt-base/lxqt-powermanagement without upower at all. If you have one, please, comment here, we will think about optional dependency.