Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27680 - lm-sensors will not compile because sys/io.h does not exist in the newer versions of glibc
Summary: lm-sensors will not compile because sys/io.h does not exist in the newer vers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-31 20:11 UTC by Mitchell
Modified: 2006-02-04 06:03 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 Mitchell 2003-08-31 20:11:37 UTC
When I try to emerge lm-sensors, I always get the following error message.

make: *** No rule to make target `sys/io.h', needed by `prog/dump/isadump.rd'. 
Stop.

!!! ERROR: sys-apps/lm-sensors-2.6.5 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! lm_sensors requires the source of a compatible kernel\nversion installed in
/usr/src/linux and i2c support built as a modules

This is occuring because sys/io.h is no longer included in the latest glibc for
the ppc.

Reproducible: Always
Steps to Reproduce:
1. emerge glibc-2.3.2-r1
2. emerge i2c
3. emerge lm-sensors
FAILS!

Actual Results:  
make: *** No rule to make target `sys/io.h', needed by `prog/dump/isadump.rd'. 
Stop.

!!! ERROR: sys-apps/lm-sensors-2.6.5 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! lm_sensors requires the source of a compatible kernel\nversion installed in
/usr/src/linux and i2c support built as a modules


Expected Results:  
Installed lm-sensors

bash-2.05b# emerge info
Portage 2.0.49-r2 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-ppc-r2)
=================================================================
System uname: 2.4.21-ppc-r2 ppc 
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple -mstring"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple -mstring
"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/d
istributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="oss dvd xv libwww jpeg nls mitshm gif gnome qt kde motif png truetype ppc f
oomaticdb gnome-libs gdbm berkdb slang readline aalib guile X sdl gpm tcpd pam s
sl perl python esd imlib oggvorbis gtk opengl mozilla pic java cups spell rage12
8 usb"
Comment 1 Luca Barbato gentoo-dev 2003-09-02 03:14:39 UTC
somewhat fixed, wait, sync and emerge it again