Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71097 - lm-sensors requiring unneeded dependencies for 2.6 kernels
Summary: lm-sensors requiring unneeded dependencies for 2.6 kernels
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 15:19 UTC by cazzantonio
Modified: 2005-01-08 06:58 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 cazzantonio 2004-11-13 15:19:17 UTC
The ebuild of lm-sensord, version >= 2.8.7 has this line
DEPEND=">=sys-apps/i2c-${PV}
The package "i2c" is surely important for a 2.4 kernel, but a 2.6 kernel does not need it (as said also on the official page of lm-sensors) becouse it is supported inside
I have a 2.6.9-gentoo-r4 kernel...
Is it a bug?

Reproducible: Always
Steps to Reproduce:
1.emerge lm-sensors
2.
3.

Actual Results:  
emerge tries to install i2c that is not needed for a 2.6 kenrnel (i currently
have 2.6.9-gentoo-r4)

Expected Results:  
Not install i2c if a 2.6 kernel is present

I don't know if it's really a bug becouse it could be for back-compatibility
with 2.4 kernels.
I don't know if it's safe to install i2c even if i run a 2.6 kernel with i2c
compiled inside, but i think that the user should have the choice to install i2c
only if he(she) really need it. Older versions of lm-sensors (<=2.8.6) seemed
only to have a warning for it, suggesting to install i2c if using a 2.4 kernel
(or a 2.6 one without i2c support...)
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-11-15 08:27:43 UTC
If you merge i2c, you'll see that it does absolutely nothing on a 2.6 kernel. It's a dummy package. Not a bug.
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2005-01-08 06:58:58 UTC
it'd be nicer to have virtual/i2c provided by kernel-2.6 (just like virtual/alsa). these two are very similar, but they're installed in diffrent way