ksysguard fails to build with lm_sensors on core i7 Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge ksysguard 3. Actual Results: [ 57%] Built target kdeinit_ksysguard_automoc Linking CXX shared module ../../../lib/ksysguardlsofwidgets.so [ 57%] Built target ksysguardlsofwidgets /var/tmp/portage/kde-base/ksysguard-4.2.3/work/ksysguard-4.2.3/libs/ksysguard/processui/ProcessModel.cc: In memb er function 'void ProcessModelPrivate::windowRemoved(WId)': /var/tmp/portage/kde-base/ksysguard-4.2.3/work/ksysguard-4.2.3/libs/ksysguard/processui/ProcessModel.cc:112: war ning: unused variable 'count' Linking CXX shared library ../../../lib/libprocessui.so [ 57%] Built target processui make: *** [all] Error 2 * * ERROR: kde-base/ksysguard-4.2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3859: Called kde4-meta_src_compile * environment, line 2971: Called kde4-base_src_compile * environment, line 2688: Called cmake-utils_src_compile * environment, line 979: Called cmake-utils_src_make * environment, line 1058: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/ksysguard-4.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksysguard-4.2.3/temp/environme nt'. saturn java # emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 02 Jun 2009 22:00:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 1.3.7-r1, 2.1.8 dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -march=native -msse4 -pipe" CHOST="x86_64-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 /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-Os -march=native -msse4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv4 ipv6 isdnlog java jpeg kde ldap libnotify lm_sensors mad midi mikmod mmx mng mozilla mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session snmp sockets spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vesa vga vorbis webkit x xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
[ 50%] Built target ksgrd Generating DancingBars.moc ../../lib/liblibksysguardd.a(lmsensors.o): In function `printLmSensor': lmsensors.c:(.text+0x157): undefined reference to `sensors_get_value' ../../lib/liblibksysguardd.a(lmsensors.o): In function `initLmSensors': lmsensors.c:(.text+0x213): undefined reference to `sensors_get_subfeature' lmsensors.c:(.text+0x316): undefined reference to `sensors_get_features' collect2: ld returned 1 exit status make[2]: *** [ksysguard/ksysguardd/ksysguardd] Error 1 make[1]: *** [ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 51%] [ 53%] [ 54%] [ 55%] [ 56%] [ 57%] Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/processui_automoc.o Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ksysguardprocesslist.o Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessModel.o Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessFilter.o Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/KTextEditVT.o Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ReniceDlg.o Generating SignalPlotter.moc [ 57%] Built target kdeinit_ksysguard_automoc Linking CXX shared module ../../../lib/ksysguardlsofwidgets.so [ 57%] Built target ksysguardlsofwidgets /var/tmp/portage/kde-base/ksysguard-4.2.3/work/ksysguard-4.2.3/libs/ksysguard/processui/ProcessModel.cc: In member function 'void ProcessModelPrivate::windowRemoved(WId)': /var/tmp/portage/kde-base/ksysguard-4.2.3/work/ksysguard-4.2.3/libs/ksysguard/processui/ProcessModel.cc:112: warning: unused variable 'count' Linking CXX shared library ../../../lib/libprocessui.so [ 57%] Built target processui make: *** [all] Error 2 * * ERROR: kde-base/ksysguard-4.2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3859: Called kde4-meta_src_compile * environment, line 2971: Called kde4-base_src_compile * environment, line 2688: Called cmake-utils_src_compile * environment, line 979: Called cmake-utils_src_make * environment, line 1058: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/ksysguard-4.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksysguard-4.2.3/temp/environment'. * >>> Failed to emerge kde-base/ksysguard-4.2.3, Log file:
which version of lm_sensors are you using?
i don't remember to be honest... it was the latest in emerge.. then i tried the latest from their website.
it was the latest from emerge.. i don't remember to be honest.. I reused that box for something else, so i can't reproduce..
4.2.x has also been removed from tree, reopen if you still have issues with 4.3.x.