Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68808

Summary: lm-sensors-2.8.8 doesn't compile
Product: Gentoo Linux Reporter: Arnaud Boudou <skuldeuh>
Component: New packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arnaud Boudou 2004-10-25 04:26:39 UTC
While trying to emerge lm-sensors-2.8.8, I get the following errors :

make: I. : commande introuvable
make: [lib/conf-lex.ao] Erreur 127 (ignor
Comment 1 Arnaud Boudou 2004-10-25 04:26:39 UTC
While trying to emerge lm-sensors-2.8.8, I get the following errors :

make: I. : commande introuvable
make: [lib/conf-lex.ao] Erreur 127 (ignorée)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.8/work/i2c-headers  -fpic-Wall -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -fno-stack-protector -Wno-unused -c lib/conf-lex.c -o lib/conf-lex.lo
make: I. : commande introuvable
make: [lib/conf-lex.lo] Erreur 127 (ignorée)
rm -f lib/libsensors.a
shared -Wl,-soname,libsensors.so.3 -o lib/libsensors.so.3.0.6 lib/data.lo lib/general.lo lib/error.lo lib/chips.lo lib/proc.lo lib/access.lo lib/init.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm
make: shared : commande introuvable
make: [lib/libsensors.so.3.0.6] Erreur 127 (ignorée)
rm -f lib/libsensors.so.3
ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao lib/chips.ao lib/proc.ao lib/access.ao lib/init.ao lib/conf-parse.ao lib/conf-lex.ao
ln -sf libsensors.so.3.0.6 lib/libsensors.so.3
ar: lib/data.ao: Aucun fichier ou répertoire de ce type
rm -f lib/libsensors.so
make: *** [lib/libsensors.a] Erreur 1
make: *** Attente des tâches non terminées....
ln -sf libsensors.so.3.0.6 lib/libsensors.so
make: *** Attente des tâches non terminées....

!!! ERROR: sys-apps/lm-sensors-2.8.8 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! Could not compile user-mode utilities!
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge lm-sensors-2.8.8
2.
3.

Actual Results:  
lm-sensors-2.8.8 doesn't compile

Expected Results:  
lm-sensors-2.8.8 should compile

emerge --info

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9
i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/
http://gentoo.mirror.icd.hu/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr cups dvd dvdr encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde ldap libg++
libwww mad mikmod mmx mmx2 motif mpeg ncurses nls nojoystick nptl nvidia
offensive oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime
readline rtcsamba sdl slang spell sse sse2 ssl svga tcltk tcpd truetype usb x86
xinerama xml2 xprint xv xvmc zlib"
Comment 2 Lars T. Mikkelsen 2004-10-25 09:07:18 UTC
The issue is the same as in bug 68382. The ebuild incorretly uses ${CC} instead of $(tc-getCC). A workaround is:
CC=gcc emerge lm-sensors
Comment 3 Arnaud Boudou 2004-10-25 09:24:14 UTC
Thanks, I could emerge lm-sensors with your workaround.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-10-25 11:48:52 UTC

*** This bug has been marked as a duplicate of 68382 ***