Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122936 - Unable to emerge openafs-kernel-1.4.1
Summary: Unable to emerge openafs-kernel-1.4.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 08:45 UTC by Hans-Gunther Borrmann
Modified: 2006-09-09 06:18 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 Hans-Gunther Borrmann 2006-02-15 08:45:00 UTC
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
Comment 1 Stefaan De Roeck (RETIRED) gentoo-dev 2006-02-15 11:27:27 UTC
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.
Comment 2 Hans-Gunther Borrmann 2006-02-16 02:53:37 UTC
(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

Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2006-02-16 03:26:45 UTC
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
Comment 4 Hans-Gunther Borrmann 2006-02-16 06:06:03 UTC
(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
> 

Comment 5 Canal Vorfeed 2006-03-27 14:17:09 UTC
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 ...
Comment 6 Stefaan De Roeck (RETIRED) gentoo-dev 2006-05-04 02:15:36 UTC
Has this issue been resolved, or does the problem still persist?
Comment 7 Hans-Gunther Borrmann 2006-05-05 07:23:13 UTC
(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
Comment 8 Stefaan De Roeck (RETIRED) gentoo-dev 2006-09-09 06:18:55 UTC
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.