Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99610 - Something is trying to pull in lm_sensors but the emerge fails because of no kernel support
Summary: Something is trying to pull in lm_sensors but the emerge fails because of no ...
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-07-19 19:20 UTC by pinihadad
Modified: 2005-07-19 20:20 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 pinihadad 2005-07-19 19:20:12 UTC
Did an emerge sync around 10:00 pm EST on 2005-07-19 and tried to do an emerge
-uDav world and something is trying install lm_sensors (2.9.1) which I don't
have installed. But the emerge fails with:
 * lm_sensors-2.9.1 requires CONFIG_I2C_CHARDEV to be enabled for non-2.4.x kernels.

In my kernel config I've got I2C set up to be compiled as a module but
I2C_CHARDEV disabled.

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




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-ck3 i686)
=================================================================
System uname: 2.6.12-ck3 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks maketest sandbox sfperms strict test"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acl acpi alsa apache2 apm arts avi bash-completion
berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dga directfb divx4linux
dvd dvdr dvdread emboss encode fam fbcon ffmpeg flac foomaticdb gd gif glut gpg
gpm gstreamer gtk2 i8x0 imagemagick imlib jabber jpeg junit kde libwww
lm_sensors mad mbox mime mmx mozsvg mp3 mpeg mplayer mysql ncurses nptl nptlonly
offensive ogg oggvorbis opengl pam pda pdflib php png postgres ppds python qt
quicktime rdesktop readline real samba scanner sdl sftplogging skey slang snmp
spell sse ssl stream subversion svg svga sysfs tcltk tcpd tga theora tiff
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 videos vorbis xine
xinerama xml xml2 xmms xosd xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Joshua Jackson (RETIRED) gentoo-dev 2005-07-19 19:23:02 UTC
What does emerge -avt world give you that's pulling lm_sensors in. Also you can
use --skipfirst
Comment 2 pinihadad 2005-07-19 19:42:33 UTC
(In reply to comment #1)
> What does emerge -avt world give you that's pulling lm_sensors in. Also you can
> use --skipfirst

# emerge -avt world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[ebuild  NS   ] dev-php/mod_php-4.4.0  +X +apache2 +berkdb +crypt +curl -debug
-doc -fdftk -firebird -flash -freetds +gd -gd-external -gdbm -gmp -hardenedphp
-imap -informix -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql
-nls -oci8 -odbc +pam +png +postgres +snmp +spell +ssl +tiff +truetype +xml2
-yaz 0 kB
[ebuild    FU ] app-emulation/point2play-2.0.2 [2.0.1] 1,244 kB

Both of those packages have been waiting around to be updated for a while. That
version of point2play has definatly been there. I'm not sure if it was that
version or a different one of mod_php- some version though has been there.
lm_sensors obviously isn't there. Should I be running with -uD also? The emerge
manpage says -t "is only really useful in combination with --emptytree or
--update and --deep."
Btw, thanks for the uberfast response :-)
Comment 3 Joshua Jackson (RETIRED) gentoo-dev 2005-07-19 19:56:48 UTC
No problem. Lets try it with D.  Something in your Deep dependencies updates are
pulling it in. Whatever is above it is pulling it in and should give you a clue
as to why. It could be a new dependency or a use flag pulling it in.
Comment 4 pinihadad 2005-07-19 20:06:23 UTC
(In reply to comment #3)
> No problem. Lets try it with D.  Something in your Deep dependencies updates are
> pulling it in. Whatever is above it is pulling it in and should give you a clue
> as to why. It could be a new dependency or a use flag pulling it in.

I assume you mean u and D. It's a big mess with v so I'll paste it first without
so you can easily see what's pulling what in and then with in case you need to
check use flags:
# emerge -uDta world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[nomerge      ] media-plugins/gst-plugins-oss-0.8.8
[ebuild     UD]  media-libs/gst-plugins-0.8.8-r2 [0.8.10]
[ebuild    FU ] app-emulation/point2play-2.0.2 [2.0.1]
[nomerge      ] dev-util/subversion-1.1.3
[nomerge      ]  dev-lang/swig-1.3.21
[nomerge      ]   dev-php/php-4.4.0
[nomerge      ]    net-analyzer/net-snmp-5.2.1-r1
[ebuild  NS   ]     sys-apps/lm_sensors-2.9.1

# emerge -uDtav world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[nomerge      ] media-plugins/gst-plugins-oss-0.8.8
[ebuild     UD]  media-libs/gst-plugins-0.8.8-r2 [0.8.10] +alsa -debug -doc -esd
-oss 0 kB
[ebuild    FU ] app-emulation/point2play-2.0.2 [2.0.1] 1,244 kB
[nomerge      ] dev-util/subversion-1.1.3  +apache2 +bash-completion +berkdb
-emacs -java -nls -perl +python +ssl
[nomerge      ]  dev-lang/swig-1.3.21  +X -guile -java -perl* +php* +python
-ruby +tcltk
[nomerge      ]   dev-php/php-4.4.0  +X +berkdb +crypt +curl -debug -doc -fdftk
-firebird -flash -freetds +gd -gd-external -gdbm -gmp -hardenedphp -imap
-informix -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql
+ncurses -nls -oci8 -odbc +pam +png +postgres +readline +snmp +spell +ssl +tiff
+truetype +xml2 -yaz
[nomerge      ]    net-analyzer/net-snmp-5.2.1-r1  +X -doc -elf -ipv6
+lm_sensors -minimal -perl -rpm (-selinux) -smux +ssl +tcpd
[ebuild  NS   ]     sys-apps/lm_sensors-2.9.1  -sensord 0 kB
Comment 5 Joshua Jackson (RETIRED) gentoo-dev 2005-07-19 20:08:48 UTC
net-analyzer/net-snmp-5.2.1-r1  +X -doc -elf -ipv6
+lm_sensors -minimal -perl -rpm (-selinux) -smux +ssl +tcpd

is pulling it in because of the +lm_sensors flag...do the following

echo "net-analyser/net-snmp -lm_sensors" >> /etc/portage/package.use

that should clear up the lm_sensors depend for you.
Comment 6 pinihadad 2005-07-19 20:20:41 UTC
(In reply to comment #5)
> net-analyzer/net-snmp-5.2.1-r1  +X -doc -elf -ipv6
> +lm_sensors -minimal -perl -rpm (-selinux) -smux +ssl +tcpd
> 
> is pulling it in because of the +lm_sensors flag...do the following
> 
> echo "net-analyser/net-snmp -lm_sensors" >> /etc/portage/package.use
> 
> that should clear up the lm_sensors depend for you.

Whoops. I just put changed lm_sensors to -... in make.conf and all's well.
Thanks a lot for your help. Do you think there should be a note in make.conf or
somewhere else saying that enabling that use flag requires CONFIG_I2C_CHARDEV to
be enabled in the kernel?