public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] lm_sensors: dependency problem...
@ 2009-08-23  7:42 Jarry
  2009-08-23 11:32 ` Albert Hopkins
  0 siblings, 1 reply; 7+ messages in thread
From: Jarry @ 2009-08-23  7:42 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm trying to install lm_sensors using gentoo-wiki, but I came
accros some dependency problem:
____________________________

# emerge --pretend lm_sensors
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N    ] sys-fs/sysfsutils-2.1.0
[ebuild  N    ] x11-misc/read-edid-1.4.2
[ebuild  N    ] sys-apps/lm_sensors-2.10.7  USE="-sensord"
____________________________

What is that x11-misc/read-edid good for? I do not want to pull
the whole x11 stuff with it, as this is a server with no graphics.

Next, I want to use sensord for monitoring, so I modified
package.use and tried it once more:
____________________________

# echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
# emerge --pretend lm_sensors
These are the packages that would be merged, in order:
Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
">=x11-libs/cairo-1.4.6[svg]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.8.6-r1 (Change USE: +svg)
(dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild])
(dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild])
(dependency required by "lm_sensors" [argument])
____________________________

Now I do not understand it at all. Why rrdtool? All I want
to use sensord for is to have some status messages recorded
to syslog. Why should I install that x11-libs/cairo graphics
library and rrdtool stuff???

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23  7:42 [gentoo-user] lm_sensors: dependency problem Jarry
@ 2009-08-23 11:32 ` Albert Hopkins
  2009-08-23 12:45   ` Jarry
  0 siblings, 1 reply; 7+ messages in thread
From: Albert Hopkins @ 2009-08-23 11:32 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-08-23 at 09:42 +0200, Jarry wrote:
> Hi,
> 
> I'm trying to install lm_sensors using gentoo-wiki, but I came
> accros some dependency problem:
> ____________________________
> 
> # emerge --pretend lm_sensors
> These are the packages that would be merged, in order:
> Calculating dependencies... done!
> [ebuild  N    ] sys-fs/sysfsutils-2.1.0
> [ebuild  N    ] x11-misc/read-edid-1.4.2
> [ebuild  N    ] sys-apps/lm_sensors-2.10.7  USE="-sensord"
> ____________________________
> 
> What is that x11-misc/read-edid good for? I do not want to pull
> the whole x11 stuff with it, as this is a server with no graphics.
> 

http://bugs.gentoo.org/181029

> Next, I want to use sensord for monitoring, so I modified
> package.use and tried it once more:
> ____________________________
> 
> # echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
> # emerge --pretend lm_sensors
> These are the packages that would be merged, in order:
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds built with USE flags to satisfy 
> ">=x11-libs/cairo-1.4.6[svg]".
> !!! One of the following packages is required to complete your request:
> - x11-libs/cairo-1.8.6-r1 (Change USE: +svg)
> (dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild])
> (dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild])
> (dependency required by "lm_sensors" [argument])
> ____________________________
> 
> Now I do not understand it at all. Why rrdtool? All I want
> to use sensord for is to have some status messages recorded
> to syslog. Why should I install that x11-libs/cairo graphics
> library and rrdtool stuff???

Likely sensord does a lot more than recording to syslog.

rrdtools is used as a database but also used to build graphs from its
database, which probably explains cairo.  Cairo is a graphics library
that can render to multiple devices including X11.

If you want you can submit a patched ebuild for rrdtool that maybe uses
a cairo USE flag and clearly separates the graphics system from the
database system.  You'll probably need to work closely with upstream for
that.

If you want you can submit a patched ebuild for cairo that maybe uses an
X use flag that clearly separates the X11 rendering backend from the
others.  You'll probably need to work closely with upstream for that.

-a




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23 11:32 ` Albert Hopkins
@ 2009-08-23 12:45   ` Jarry
  2009-08-23 13:02     ` Albert Hopkins
  2009-08-23 14:33     ` Mike Edenfield
  0 siblings, 2 replies; 7+ messages in thread
From: Jarry @ 2009-08-23 12:45 UTC (permalink / raw
  To: gentoo-user

Albert Hopkins wrote:
> On Sun, 2009-08-23 at 09:42 +0200, Jarry wrote:
>> ____________________________
>>
>> # emerge --pretend lm_sensors
>> These are the packages that would be merged, in order:
>> Calculating dependencies... done!
>> [ebuild  N    ] sys-fs/sysfsutils-2.1.0
>> [ebuild  N    ] x11-misc/read-edid-1.4.2
>> [ebuild  N    ] sys-apps/lm_sensors-2.10.7  USE="-sensord"
>> ____________________________
>>
>> What is that x11-misc/read-edid good for? I do not want to pull
>> the whole x11 stuff with it, as this is a server with no graphics.
> 
> http://bugs.gentoo.org/181029

____

ChangeLog:
03 Jun 2007; Doug Goldstein <cardoe@gentoo.org> 
lm_sensors-2.10.3.ebuild: Add missing depend.
decode-edid.pl needs parse-edid from x11-misc/read-edid
____

I agree with the original poster of this "resolved" bug:
pulling in x11-stuff to server just to be able to monitor
its temperatures is simply dangerous and risky...

>> Next, I want to use sensord for monitoring, so I modified
>> package.use and tried it once more:
>> ____________________________
>>
>> # echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
>> # emerge --pretend lm_sensors
>> These are the packages that would be merged, in order:
>> Calculating dependencies... done!
>>
>> emerge: there are no ebuilds built with USE flags to satisfy 
>> ">=x11-libs/cairo-1.4.6[svg]".
>> !!! One of the following packages is required to complete your request:
>> - x11-libs/cairo-1.8.6-r1 (Change USE: +svg)
>> (dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild])
>> (dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild])
>> (dependency required by "lm_sensors" [argument])
>> ____________________________
>>
>> Now I do not understand it at all. Why rrdtool? All I want
>> to use sensord for is to have some status messages recorded
>> to syslog. Why should I install that x11-libs/cairo graphics
>> library and rrdtool stuff???
> 
> Likely sensord does a lot more than recording to syslog.

man sensord:

DESCRIPTION
Sensord is a daemon that can be used to periodically log
sensor readings from hardware health-monitoring chips to
syslog(3) ***OR*** a round-robin database (RRD) and to alert
when a sensor alarm is signalled; for example, if a fan fails,
a temperature limit is exceeded, etc.

You see that big fat ***OR*** there? syslog or RRD. And I think
even gentoo-user should have the right to choose what he wants
to do with those sensor-readings. Definitelly I'm against any
x11-libs on my server, be it x11-misc/read-edid or x11-libs/cairo.

BTW, sensord can write data to round-robin database even if no
rrd-tool is installed. There's no need to put net-analyzer/rrdtool
as a dependency...

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23 12:45   ` Jarry
@ 2009-08-23 13:02     ` Albert Hopkins
  2009-08-23 14:05       ` Stroller
  2009-08-23 14:33     ` Mike Edenfield
  1 sibling, 1 reply; 7+ messages in thread
From: Albert Hopkins @ 2009-08-23 13:02 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-08-23 at 14:45 +0200, Jarry wrote:
[...]
> man sensord:
> 
> DESCRIPTION
> Sensord is a daemon that can be used to periodically log
> sensor readings from hardware health-monitoring chips to
> syslog(3) ***OR*** a round-robin database (RRD) and to alert
> when a sensor alarm is signalled; for example, if a fan fails,
> a temperature limit is exceeded, etc.
> 
> You see that big fat ***OR*** there? syslog or RRD. And I think
> even gentoo-user should have the right to choose what he wants
> to do with those sensor-readings. Definitelly I'm against any
> x11-libs on my server, be it x11-misc/read-edid or x11-libs/cairo.
> 
> BTW, sensord can write data to round-robin database even if no
> rrd-tool is installed. There's no need to put net-analyzer/rrdtool
> as a dependency...

So if you believe there is a bug with the ebuild, you can submit a bug
report to bugs.gentoo.org.  As always, patches are welcomed.

-a




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23 13:02     ` Albert Hopkins
@ 2009-08-23 14:05       ` Stroller
  2009-08-23 14:21         ` Albert Hopkins
  0 siblings, 1 reply; 7+ messages in thread
From: Stroller @ 2009-08-23 14:05 UTC (permalink / raw
  To: gentoo-user


On 23 Aug 2009, at 14:02, Albert Hopkins wrote:
> ...
> So if you believe there is a bug with the ebuild, you can submit a bug
> report to bugs.gentoo.org.  As always, patches are welcomed.

I assume that the RDEPEND was added because decode-edid.pl was  
supplied by upstream (at least this is how I choose the interpret  
TFC). Therefore it is better to address with a bug or patch upstream,  
not on b.g.o

Stroller.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23 14:05       ` Stroller
@ 2009-08-23 14:21         ` Albert Hopkins
  0 siblings, 0 replies; 7+ messages in thread
From: Albert Hopkins @ 2009-08-23 14:21 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-08-23 at 15:05 +0100, Stroller wrote:
> On 23 Aug 2009, at 14:02, Albert Hopkins wrote:
> > ...
> > So if you believe there is a bug with the ebuild, you can submit a bug
> > report to bugs.gentoo.org.  As always, patches are welcomed.
> 
> I assume that the RDEPEND was added because decode-edid.pl was  
> supplied by upstream (at least this is how I choose the interpret  
> TFC). Therefore it is better to address with a bug or patch upstream,  
> not on b.g.o

Yeah I originally suggested working with upstream.  Gentoo would also be
involved if it were to be an optional (i.e. USE-flag kind of thing).

-a





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] lm_sensors: dependency problem...
  2009-08-23 12:45   ` Jarry
  2009-08-23 13:02     ` Albert Hopkins
@ 2009-08-23 14:33     ` Mike Edenfield
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Edenfield @ 2009-08-23 14:33 UTC (permalink / raw
  To: gentoo-user

On 8/23/2009 8:45 AM, Jarry wrote:
> Albert Hopkins wrote:
>> On Sun, 2009-08-23 at 09:42 +0200, Jarry wrote:
>>> ____________________________
>>>
>>> # emerge --pretend lm_sensors
>>> These are the packages that would be merged, in order:
>>> Calculating dependencies... done!
>>> [ebuild N ] sys-fs/sysfsutils-2.1.0
>>> [ebuild N ] x11-misc/read-edid-1.4.2
>>> [ebuild N ] sys-apps/lm_sensors-2.10.7 USE="-sensord"
>>> ____________________________
>>>
>>> What is that x11-misc/read-edid good for? I do not want to pull
>>> the whole x11 stuff with it, as this is a server with no graphics.

> I agree with the original poster of this "resolved" bug:
> pulling in x11-stuff to server just to be able to monitor
> its temperatures is simply dangerous and risky...

read-edid is only tangentially related to X.  It doesn't use 
any X libraries, or even require X to be installed to run. 
It perhaps shouldn't even be in the x11-misc category, but 
that's entirely cosmetic.

Also, I noted that lm_sensors-3.0 doesn't have this 
dependency anymore, so it looks like it was handled upstream.

>>> Next, I want to use sensord for monitoring, so I modified
>>> package.use and tried it once more:
>>> ____________________________
>>>
>>> # echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
>>> # emerge --pretend lm_sensors
>>> These are the packages that would be merged, in order:
>>> Calculating dependencies... done!
>>>
>>> emerge: there are no ebuilds built with USE flags to satisfy
>>> ">=x11-libs/cairo-1.4.6[svg]".
>>> !!! One of the following packages is required to complete your request:
>>> - x11-libs/cairo-1.8.6-r1 (Change USE: +svg)
>>> (dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild])
>>> (dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild])
>>> (dependency required by "lm_sensors" [argument])
>>> ____________________________
>>>
>>> Now I do not understand it at all. Why rrdtool? All I want
>>> to use sensord for is to have some status messages recorded
>>> to syslog. Why should I install that x11-libs/cairo graphics
>>> library and rrdtool stuff???
>>
>> Likely sensord does a lot more than recording to syslog.
>
> man sensord:
>
> DESCRIPTION
> Sensord is a daemon that can be used to periodically log
> sensor readings from hardware health-monitoring chips to
> syslog(3) ***OR*** a round-robin database (RRD) and to alert
> when a sensor alarm is signalled; for example, if a fan fails,
> a temperature limit is exceeded, etc.
>
> You see that big fat ***OR*** there? syslog or RRD. And I think
> even gentoo-user should have the right to choose what he wants
> to do with those sensor-readings. Definitelly I'm against any
> x11-libs on my server, be it x11-misc/read-edid or x11-libs/cairo.
>
> BTW, sensord can write data to round-robin database even if no
> rrd-tool is installed. There's no need to put net-analyzer/rrdtool
> as a dependency...

Tell that to the upstream:

make: *** No rule to make target `rrd.h', needed by 
`prog/sensord/rrd.rd'.  Stop.

--Mike



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-08-23 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-23  7:42 [gentoo-user] lm_sensors: dependency problem Jarry
2009-08-23 11:32 ` Albert Hopkins
2009-08-23 12:45   ` Jarry
2009-08-23 13:02     ` Albert Hopkins
2009-08-23 14:05       ` Stroller
2009-08-23 14:21         ` Albert Hopkins
2009-08-23 14:33     ` Mike Edenfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox