Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111453 - lm_sensors does not build due to CONFIG_I2C_SENSOR not present in the kernel
Summary: lm_sensors does not build due to CONFIG_I2C_SENSOR not present in the kernel
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 02:29 UTC by Haim Ashkenazi
Modified: 2005-11-04 03:32 UTC (History)
0 users

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 Haim Ashkenazi 2005-11-04 02:29:54 UTC
Hi

although I found many related bugs, they all marked as fixed but the problem
still exist.

just installed new gentoo with stable gentoo-sources (2.6.13-gentoo-r5), and I
enabled all the i2c options in the kernel (btw, when searching for CONFIG_I2C in
menuconfig, I found nothing), but I still get this error when trying to emerge
lm_sensors:

coltrane linux # emerge lm_sensors
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/lm_sensors-2.9.2 to /
>>> md5 files   ;-) lm_sensors-2.9.2.ebuild
>>> md5 files   ;-) lm_sensors-2.9.1-r1.ebuild
>>> md5 files   ;-) files/rc
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensord-conf.d
>>> md5 files   ;-) files/lm_sensors-2.9.1-sensors-detect-gentoo.patch
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensord-init.d
>>> md5 files   ;-) files/lm_sensors-2.9.1-sensord-conf.d
>>> md5 files   ;-) files/lm_sensors-2.9.1-lm_sensors-init.d
>>> md5 files   ;-) files/lm_sensors-2.9.1-sensord-init.d
>>> md5 files   ;-) files/lm_sensors-2.9.1-pwmconfig.patch
>>> md5 files   ;-) files/digest-lm_sensors-2.9.1-r1
>>> md5 files   ;-) files/digest-lm_sensors-2.9.2
>>> md5 files   ;-) files/lm_sensors-2.9.2-lm_sensors-init.d
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensors-detect-gentoo.patch
>>> md5 src_uri ;-) lm_sensors-2.9.2.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo-r5
 *
 * lm_sensors-2.9.2 requires CONFIG_I2C_SENSOR to be enabled for non-2.4.x kernels.
 *

!!! ERROR: sys-apps/lm_sensors-2.9.2 failed.
!!! Function pkg_setup, Line 45, Exitcode 0
!!! CONFIG_I2C_SENSOR not detected
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge lm_sensors
2.
3.

Actual Results:  
build fails

Expected Results:  
build

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://195.56.77.10/
http://194.149.10.102/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups eds emboss
encode foomaticdb fortran gdbm gif gstreamer gtk2 imlib innodb jpeg kde libg++
libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss
pam pdflib perl png postgresql python quicktime readline sdl spamassassin spell
ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-04 02:41:35 UTC
CONFIG_I2C_SENSOR still exists in gentoo-sources-2.6.13-r5, it's been changed to
CONFIG_HWMON in 2.6.14+, so the check is correct and this bug INVALID.

If you don't have I2C at all, then start with fresh config (not make oldconfig)
and be sure to enable all prerequisities. 
Comment 2 Haim Ashkenazi 2005-11-04 03:32:22 UTC
(In reply to comment #1)
> CONFIG_I2C_SENSOR still exists in gentoo-sources-2.6.13-r5, it's been changed to
> CONFIG_HWMON in 2.6.14+, so the check is correct and this bug INVALID.
> 
> If you don't have I2C at all, then start with fresh config (not make oldconfig)
> and be sure to enable all prerequisities. 

Ok, sorry, it was my mistake. I have all the I2C optons enabled, but I didn't
have the Hardware monitoring modules. (found out after going to the lm_sensors
website).

sorry again and thanks for the help.