FS#23328 - [lm_sensors] make rrdtool dependency optional

Attached to Project: Arch Linux
Opened by Geert Hendrickx (ghen) - Friday, 18 March 2011, 15:40 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 05 May 2011, 07:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Since the sysstat 10.0.0-1 update, /usr/lib/sa/sadc is linked to libsensors.so.4, provided by the lm_sensors package, however that is listed only as an optional dependency for the sysstat package.

Because lm_sensors has heavy dependencies itself (rrdtool > pango > cairo > x11 libs), it is not really wanted on a server, where sysstat is often essential though.

Can this dependency be dropped again? Or somehow be made truly optional?

Additional info:
* package version(s)
* config and/or log files etc.
/etc/cron.hourly/sysstat mails the following output:
/usr/lib/sa/sadc: error while loading shared libraries: libsensors.so.4: cannot open shared object file: No such file or directory

Steps to reproduce:
Upgrade community/sysstat from 9.0.6.1-1 to 10.0.0-1.
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 05 May 2011, 07:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  lm_sensors-3.3.0-2
Comment by Sergej Pupykin (sergej) - Tuesday, 29 March 2011, 21:51 GMT
@Eric, what do you think about lm_sensors depending on rrdtools? How can we break "lm_sensors > rrdtool > pango > cairo > x11 libs"?
Comment by Sergej Pupykin (sergej) - Tuesday, 29 March 2011, 21:56 GMT
Split out lm_sensors-libs package from lm_sensors?
Comment by Sergej Pupykin (sergej) - Tuesday, 29 March 2011, 22:01 GMT
Or make rrdtool optdepend. Only /usr/sbin/sensord depends on it.
Comment by Geert Hendrickx (ghen) - Tuesday, 05 April 2011, 07:30 GMT
I'm fine with that.
Comment by Sergej Pupykin (sergej) - Thursday, 07 April 2011, 20:45 GMT
I moved lm_sensors to depends and pass this bug to Eric
Comment by Greg (dolby) - Sunday, 10 April 2011, 04:01 GMT
Please move this to project=1 (Arch Linux) before closing.
Comment by Kristoffer Tidemann (ktide) - Tuesday, 12 April 2011, 18:01 GMT
Please get this out already. Pulling in pango and friends via the rrdtool hard dependency for lm_sensors certainly doesn't feel or sound anywhere close to warranted.
Comment by JM (fijam) - Monday, 02 May 2011, 17:58 GMT
It has been three weeks since the bug was reassigned. Any update on this?

Loading...