Using gentoo-sources-2.4.22-r2 causes a version mismatch with i2c and lm-sensors when using the x86 branch. The gentoo-sources-2.4.22-r2 package appears to include i2c version 2.8.1 (based on what patches.txt says), while lm-sensors is still at version 2.7.0. As a result, lm-sensors does not work for me when running 2.4.22-gentoo-r2 - it either segfaults or hangs. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -u gentoo-sources 3. Reboot 4. emerge -u sys-apps/lm-sensors (which requires sys-apps/i2c-2.7.0) 5. Reboot 6. sensors Actual Results: The sensors binary either segfaults or hangs. Expected Results: The configured sensor readings should have been printed. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache userpriv" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 oss apm crypt foomaticdb gtk2 libg++ libwww mad mikmod nls quicktime spell xmms zlib gdbm berkdb slang svga guile sdl gpm tcpd pam esd qt kde motif mozilla 3dnow mmx aalib cdr cups fbcon maildir ncurses pda readline sasl ssl perl python postgresql xml xml2 X xv gtk gtkhtml gnome -arts truetype gif imlib jpeg pdflib png tiff avi dvd encode mpeg opengl oggvorbis"
gentoo-sources-2.4.22 has lm_sensors inside the kernel, so you don't need to emerge it seperately.
If I'm not to emerge lm-sensors, where should I get the userspace tools?
I fail to understand how this is not an issue. I understand that gentoo-sources-2.4.22-r2 includes i2c-2.8.1 and the _kernel drivers_ for lm-sensors-2.8.1. However, if I want the userspace lm-sensors tools (e.g. sensors), I will need to emerge sys-apps/lm-sensors. In the stable branch, the current version of this package is 2.7.0-r1, which has the following dependencies: DEPEND="~sys-apps/i2c-2.7.0" This obviously leads to problems with some of the lm-sensors modules not being the right version, which explains the segfaults I experienced after installing this package. Again - I don't see any way to get the lm-sensors userspace tools from gentoo-sources-2.4.22-r2. If I try to get them by installing sys-apps/lm-sensors, bad things happen. Judging by the addition of CCs to this bug, others are having this problem. I'm going to repoen it pending further clarification.
Fixed - lm-sensors-2.8.1 is now stable on 'x86' and will also accept gentoo-sources-2.4.22 as a dependency instead of i2c-2.8.1.
Unless I'm missing something, lm-sensors is still uninstallable with gentoo-sources-2.4.22-r2. It's still marked ~x86: http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/lm-sensors/lm-sensors-2.8.1.ebuild?rev=HEAD&content-type=text/vnd.viewcvs-markup Additionally, both i2c and lm-sensors appear in /usr/portage/profiles/package.mask: # John Mylchreest <johnm@gentoo.org> (14 August 2003) # Headers have changed and break support with many video drivers such as # bttv or zoran. Kernel patch is being worked on bt lm_sensor people afaik >=sys-apps/lm-sensors-2.8 >=sys-apps/i2c-2.8
Fixed - lm-sensors-2.8.1 is now stabilized on 'x86' and I've updated packages.mask from 2.8 to 2.8.2.