Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46983 - For kernel 2.6.3 (and higher) i2c-2.7.0 does not compile
Summary: For kernel 2.6.3 (and higher) i2c-2.7.0 does not compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 11:15 UTC by Christopher Rinderspacher
Modified: 2004-04-06 14:53 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 Christopher Rinderspacher 2004-04-06 11:15:59 UTC
See the output below. i2c is compiled into the kernel. The example is with 2.6.5 but also happened with 2.6.3 on an Athlon64 system.

Low-Key i2c-2.7.0 # emerge  i2c
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/i2c-2.7.0 to /
>>> md5 src_uri ;-) i2c-2.7.0.tar.gz
>>> Unpacking source...
>>> Unpacking i2c-2.7.0.tar.gz to /var/tmp/portage/i2c-2.7.0/work
>>> Source unpacked.
Makefile:188: kernel/i2c-elv.d: No such file or directory
Makefile:188: kernel/i2c-velleman.d: No such file or directory
Makefile:188: kernel/i2c-elektor.d: No such file or directory
Makefile:188: kernel/i2c-proc.d: No such file or directory
Makefile:188: kernel/i2c-pport.d: No such file or directory
Makefile:188: kernel/i2c-pcf-epp.d: No such file or directory
make: *** No rule to make target `/lib/modules/2.6.5/build/include/linux/modversions.h', needed by `kernel/i2c-pcf-epp.d'.  Stop.
/usr/sbin/ebuild.sh: line 21: [: too many arguments

>>> Install i2c-2.7.0 into /var/tmp/portage/i2c-2.7.0/image/ category sys-apps
make: *** No rule to make target `/lib/modules/2.6.5/build/include/linux/modversions.h', needed by `kernel/i2c-pcf-epp.d'.  Stop.

Despite its complaining I did find the 'non-existent' files in the workdirectory.
For kernels 2.6.x modversions is in build/include/config


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

Actual Results:  
see details

Expected Results:  
installed without complaining

Portage 2.0.50-r3 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5)
=================================================================
System uname: 2.6.5 x86_64 4
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm arts atlas avi berkdb bonobo crypt dvb dvd dvdr
encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg kde
libg++ libwww mikmod motif mpeg ncurses nls nogcj offensive oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tetex
truetype xml2 xmms xv zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-04-06 14:53:01 UTC
the i2c package is for 2.4 kernels only. in 2.6, i2c has been included in-kernel.