Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223867 - kdebase-3.5.9-r3 builds ksysguard without lm_sensor support
Summary: kdebase-3.5.9-r3 builds ksysguard without lm_sensor support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 17:19 UTC by Johannes Niess
Modified: 2008-06-11 20:03 UTC (History)
1 user (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 Johannes Niess 2008-05-27 17:19:00 UTC
After upgrading from KDE 3.5.8 to KDE 3.5.9 the ksysguard application sensor browser does no longer contain the temperature and voltage monitors of my motherboard. lm_sensors is working fine.

bugs.kde.org has no relevant entry.

Reproducible: Always

Steps to Reproduce:
1) make sure lm_sensors 2.10.4 ebuild is installed and working:
stingray log # sensors #also works as user
it87-isa-0290
Adapter: ISA adapter
VCore 1:   +1.44 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:   +1.55 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:     +3.30 V  (min =  +0.00 V, max =  +4.08 V)
+5V:       +5.13 V  (min =  +0.00 V, max =  +6.85 V)
+12V:     +11.97 V  (min =  +0.00 V, max = +16.32 V)
-12V:     -20.00 V  (min = -27.36 V, max =  +3.93 V)
-5V:       -5.81 V  (min = -13.64 V, max =  +4.03 V)
Stdby:     +5.03 V  (min =  +0.00 V, max =  +6.85 V)
VBat:      +3.12 V
fan1:        0 RPM  (min =    0 RPM, div = 8)
fan2:        0 RPM  (min =    0 RPM, div = 8)
fan3:        0 RPM  (min =    0 RPM, div = 8)
M/B Temp:    +35 C  (low  =    -1 C, high =  +127 C)   sensor = thermistor
CPU Temp:    +46 C  (low  =    -1 C, high =  +127 C)   sensor = diode
Temp3:       +34 C  (low  =    -1 C, high =  +127 C)   sensor = thermistor


2) stingray log # emerge -av kdebase

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdebase-3.5.9-r3  USE="cups hal ieee1394 java joystick kdeenablefinal lm_sensors logitech-mouse opengl pam xcomposite -arts -branding -debug -kdehiddenvisibility -ldap -openexr -samba -xinerama -xscreensaver" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

2. compile, reboot and log in
3. open ksysguard, try to locate lm_sensor entries -> missing

Actual Results:  
Entries missing in sensor browser. Existing sensor sheets display thunderbolt icon and no sensor reading.

Expected Results:  
Entries for temperatures and voltages in ksysguard sensor browser as in kdebase 3.5.8-rX.

niess@stingray /tmp $ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Sat, 24 May 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://213.186.33.38/gentoo-distfiles/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="#emacs #mikmod #offensive X acpi alsa bash-completion berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt cups dba dbm dbus dga dio dri dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox foomaticdb ftp gd gdbm gif gimp gnutls gphoto2 gpm graphviz gstreamer hal iconv idn ieee1394 imagemagick imap imlib ipv6 isdnlog jbig joystick jpeg jpeg2k kde kdeenablefinal libwww lirc lm_sensors logrotate mad maildir mbox midi mikmod mime mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp oss pam pcre pda pdf perl png posix ppds pppd python qt3 qt3support readline recode reflection scanner session sharedmem sockets sox spell spl sqlite3 sse2 ssl svg tcpd tetex threads tiff truetype unicode usb v4l vorbis win32codecs x86 xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="panasonic ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonathan Stringer 2008-06-02 03:11:24 UTC
As seen at http://bugs.kde.org/show_bug.cgi?id=158487 and my own observations, it appears that the config.h.in file (and therefore config.h file) is generated wrong, but I can't figure out how config.h.in is generated.

Frans Pop noticed that the differences of 3.5.8->9 ksysguard/ksysguardd/Linux/lmsensors.c is the following: 
 -#ifdef HAVE_SENSORS_SENSORS_H 
 +#ifdef HAVE_LMSENSORS 

When you look in work/ksysguard-3.5.9/config.h.in file during compilation, there is:
#undef HAVE_SENSORS_SENSORS_H

Which I fixed by just editing mid-compilation and changing to:
#define HAVE_LMSENSORS 1 

Naturally, a hackjob like that isn't very satisfactory as a fix, but if someone could either fix this or let me know how automake works so I could have a crack at it, that would be choice.
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2008-06-10 22:56:11 UTC
Fixed in CVS in kdebase-3.5.9-r4 and ksysguard-3.5.9-r1, thanks for reporting.
Comment 3 Johannes Niess 2008-06-11 20:03:51 UTC
kdebase-3.5.9-r4 fixes it for me. Thank you very much.

Creating new lmsensor plots is required. Existing lmsensor plots still display thunderbolt icon and no sensor reading. Cause could be a name change on sensors.