The emerge stops with the following error: include/linux/seq_file.h:43: warning: `printk' is an unrecognized format function type /var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.15-gentoo-r5-MP/osi_module.c: In function `afs_ioctl': /var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.15-gentoo-r5-MP/osi_module.c:294: error: `TIF_32BIT' undeclared (first use in this function) /var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.15-gentoo-r5-MP/osi_module.c:294: error: (Each undeclared identifier is reported only once /var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.15-gentoo-r5-MP/osi_module.c:294: error: for each function it appears in.) make[6]: *** [/var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.15-gentoo-r5-MP/osi_module.o] Error 1 emerge --info Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.2.3, 2.3.4-r1, 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.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acl alsa avi berkdb bitmap-fonts bzip2 cdb crypt cups curl eds emboss encode expat f77 foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap lzw lzw-tiff mhash motif mp3 mpeg mysql ncurses nls opengl pam pcre pdflib perl php png python qt quicktime readline sdl slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Note to readers: this ebuild is not yet in portage Please state the version of the kernel to which /usr/src/linux is pointing. 2.6.15-gentoo-r2 works fine here on amd64. sys-kernel/vanilla-sources-2.6.11.12 (and below, supposedly) is known to fail.
(In reply to comment #1) > Note to readers: this ebuild is not yet in portage > > Please state the version of the kernel to which /usr/src/linux is pointing. > 2.6.15-gentoo-r2 works fine here on amd64. > > sys-kernel/vanilla-sources-2.6.11.12 (and below, supposedly) is known to fail. > ls -l /usr/src/linux lrwxrwxrwx 1 root root 22 Feb 15 14:56 /usr/src/linux -> linux-2.6.15-gentoo-r5
This is strange... I have tried building against 2.6.15-gentoo-r5 myself, without problems. Could you provide me with 1) The first part of the output of your "emerge openafs-kernel" (including the part in which it says which kernel it's gonna use, up to the first real compilation statements) 2) Your kernel configuration? Thanks
(In reply to comment #3) > This is strange... I have tried building against 2.6.15-gentoo-r5 myself, > without problems. > > Could you provide me with > 1) The first part of the output of your "emerge openafs-kernel" (including the > part in which it says which kernel it's gonna use, up to the first real > compilation statements) > 2) Your kernel configuration? I have sent the files in a private email to you > > Thanks >
Just a wild guess: may be it's problem with KBUILD_OUTPUT ? OpenAFS'S ebuild does not like such configurations :( I managed to fix this problem with few symlinks from /usr/src/linux/include to /var/tmp/kernel-output/linux-2.6.16-gentoo/include ...
Has this issue been resolved, or does the problem still persist?
(In reply to comment #6) > Has this issue been resolved, or does the problem still persist? > I do not know because I cannot test. The only amd64 machines are our webservers and I cannot play around with them at the moment. I have emerged 1.4.1 on my x86 desktop under 2.6.12-gentoo-r6-1
Any new information on this one? Don't know if it helps, but I've just put a 1.4.2 version in the tree, and a masked 1.5.8 should follow shortly unless I encounter severe problems. If your problem persists, please provide the errors with the newer ebuilds and reopen the bug.