Summary: | Hardware Sensors (lm sensors) broken in 3.5.9 | ||
---|---|---|---|
Product: | [Unmaintained] ksysguard | Reporter: | Markus Strobl <mstrobl2> |
Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrazer |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Markus Strobl
2008-02-27 01:49:41 UTC
I'm seeing the same problem on Debian unstable (x86_64): http://bugs.debian.org/469595 (includes strace) Doing some grepping during a build, I get the impression that this may be a configure issue. Comparing kdebase 3.5.8 and 3.5.9 I see for ksysguard/ksysguardd/Linux/lmsensors.c: -#ifdef HAVE_SENSORS_SENSORS_H +#ifdef HAVE_LMSENSORS But when I look for HAVE_LMSENSORS, it is nowhere to be found. But there is still in config.h.in: #undef HAVE_SENSORS_SENSORS_H And during the build I see in obj-x86_64-linux-gnu/config.h: #define HAVE_SENSORS_SENSORS_H 1 So it looks like maybe HAVE_LMSENSORS is just not getting set? That sounds very likely :) On 13 Mar 2008 20:13:56 -0000, Frans Pop <elendil@planet.nl> wrote: [bugs.kde.org quoted mail] I just modified that file before compiling in gentoo amd64, and it fixed the issue. Could you please post a patch for the file? On Sunday 25 May 2008, Surgeon wrote:
> Could you please post a patch for the file?
No, sorry, I can not.
Reason is that although I did have a change that as far as I could tell
should have worked, the compilation of the Debian package failed at some
point, so I never got a working build.
I'm afraid it is too long ago to remember the exact details.
Working patch is now available in Debian BTS: http://bugs.debian.org/469595 Note that message #22 has the bare patch to solve the regression, while message #27 has a slightly extended patch needed for the Debian package. Someone want to apply? :) I have no internet connection at the moment. 2008/6/10 Frans Pop <elendil@planet.nl>: [bugs.kde.org quoted mail] Confirmed again in openSUSE 11.0 w/KDE 3.5.9 and KDE 4.1 Confirmed on Ubuntu 8.04.1 (KDE 3.5.9). Regarding Comment 2, changing the "#ifdef HAVE_LMSENSORS" line back to "#ifdef HAVE_SENSORS_SENSORS_H" in ksysguard/ksysguardd/Linux/lmsensors.c and rebuilding fixed the issue for me. The patch to fix this was applied back in February. http://websvn.kde.org/branches/KDE/3.5/kdebase/ksysguard/ksysguardd/Linux/lmsensors.c?r1=771783&r2=779546 Please leave a message if I'm wrong.. Sorry, but not so in openSUSE 11.0. Using KDE 4.1.1 release 26.2 20080722. Ksysguard is in the kdebase4-workspace package. Also the case in KDE 3.5.9-65.2, in package kdebase3. I don't have visibility of the revision numbers on the patch page you link, but since that was Feb, I don't see how that would not have been included in openSUSE. |