Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26198 - lm-sensors 2.7.0-r1 has invalid dependency
Summary: lm-sensors 2.7.0-r1 has invalid dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 05:31 UTC by Daniel Karlsson
Modified: 2003-11-21 08:57 UTC (History)
2 users (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 Daniel Karlsson 2003-08-08 05:31:04 UTC
The dependency of lm-sensors look like this: 
 
DEPEND="|| ( 
             >=sys-apps/i2c-2.7.0 
             >=sys-kernel/gentoo-sources-2.4.20-r1 
             >=sys-kernel/lolo-sources-2.4.20.1 
             >=sys-kernel/xfs-sources-2.4.20_pre4 
           )" 
The || sign at the beginning is not doing what you expect. You want portage to accept 
that dependency if ANY of the packages is installed. Actually it always want to install 
the first in the list, in this case i2c. 
I don't want that package installed because you describe yourself that it is already 
patched into the gentoo-sources I have and because lm-sensors seem to have big 
troubles with the latest i2c package. It doesn't compile (but that is covered in another 
bug report).... 
Where did you get this syntax from? Is this a new feature in future portage versions? 
It has never worked for me. 
 
PS This syntax was used in gimp-print-cups and forced everyone to install X and Gimp 
if they had the CUPS use flag set. 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-21 08:57:11 UTC
in cvs