Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342101 - net-fs/openafs-kernel-1.4.12.1 build fails w/linux-2.6.36
Summary: net-fs/openafs-kernel-1.4.12.1 build fails w/linux-2.6.36
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
: 357039 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-22 02:57 UTC by Markus Peloquin
Modified: 2011-03-03 04:25 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
oafs.patch (oafs.patch,150.23 KB, patch)
2010-10-25 11:53 UTC, Andrej Filipcic
Details | Diff
kernel 2.6.36 patch (openafs-2.6.36.patch,14.21 KB, text/plain)
2010-12-14 22:07 UTC, Andrej Filipcic
Details
statfs test (openafs-statfs.patch,554 bytes, text/plain)
2010-12-14 22:08 UTC, Andrej Filipcic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Peloquin 2010-10-22 02:57:10 UTC
I just upgraded to gentoo-sources-2.6.36 and the openafs build fails.  Here's the initial error and make's backtrace:

  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.o
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c: In function ‘osi_UFSOpen’:
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c:62: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c: In function ‘osi_UFSTruncate’:
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c:248: error: implicit declaration of function ‘inode_setattr’
make[6]: *** [/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.o] Error 1
make[5]: *** [_module_/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.36-gentoo'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1'
make: *** [only_libafs] Error 2

Reproducible: Always

Steps to Reproduce:




app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.7, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo perl-experimental enlightenment galadriel
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.chem.wisc.edu/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo http://gentoo.netnitco.net/ http://mirrors.cs.wmich.edu/gentoo http://lug.mtu.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
Portage 2.2_rc99 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.36-gentoo x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.1
Timestamp of tree: Thu, 21 Oct 2010 22:45:03 +0000
USE="3dnow X a52 aac aalib acl acpi afs alsa amd64 arts bash-completion berkdb branding bzip2 cairo caps cdda cddb cdparanoia cdr consolekit cracklib crypt css cups curl cvs cxx dbus dga directfb dri dts dvd dvdr eds emboss encode esd exif expat fam fbcon ffmpeg firefox flac fontconfig fortran ftp gcj gd geoip ggi gif gpm gstreamer gtk hal iconv icu imagemagick imap ipod ipv6 java jpeg jpeg2k kde kerberos ladspa lame lapack latex lcms ldap libedit libnotify lzo mad mbox mikmod mmx mng modules motroska mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz nas ncurses networkmanager nls nntp nptl nptlonly offensive ogg openal openexr opengl openmp pam pango pch pcre pdf perl plotutils png policykit portaudio postgres ppds pppd python qt3support qt4 quicktime readline samba sasl sdl session smp speex spell sse sse2 ssl startup-notification static-libs subversion svg sysfs syslog taglib tcpd theora threads tiff truetype unicode usb vim-syntax vorbis wavpack wifi wmf wxwidgets x264 xcb xcomposite xft xine xinetd xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-23 08:12:04 UTC
What about 1.5.34?
Comment 2 Markus Peloquin 2010-10-23 09:00:04 UTC
openafs-kernel-1.5.34 looks a little worse.  During configure:

...
checking for size_t... yes
checking return type of signal handlers... void
checking for __FUNCTION__ and __LINE__ macros... yes
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for bison... bison -y
checking whether byte order is known at compile time... yes
checking whether byte ordering is bigendian... no
checking your OS... configure: error: Linux headers lack version definition


config.log isn't very enlightening (should it be? I don't know):

configure:5329: result: no
configure:5341: checking your OS
configure:5385: error: Linux headers lack version definition
Comment 3 tman 2010-10-23 09:45:01 UTC
yeah it would be nice if sb can fix it soon.

i can confirm this problem too:

/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/rxkad/rxkad_prototypes.h:22: note: expected ‘const afs_int32 (*)[2]’ but argument is of type ‘afs_int32 (*)[2]’
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/xdr_afsuuid.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/xdr.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/afs_uuid.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_alloc.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_cred.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_groups.o
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_groups.c: In function ‘__setpag’:
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_groups.c:166: warning: unused variable ‘g1’
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_groups.c:166: warning: unused variable ‘g0’
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_inode.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.o
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c: In function ‘osi_UFSOpen’:
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c:62: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c: In function ‘osi_UFSTruncate’:
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.c:248: error: implicit declaration of function ‘inode_setattr’
make[6]: *** [/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP/osi_file.o] Error 1
make[5]: *** [_module_/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.36-gentoo'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1'
make: *** [only_libafs] Error 2
emake failed
 * ERROR: net-fs/openafs-kernel-1.4.12.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 4128:  Called die
 * The specific snippet of code:
 *       ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die
 * 
 * If you need support, post the output of 'emerge --info =net-fs/openafs-kernel-1.4.12.1',
 * the complete build log and the output of 'emerge -pqv =net-fs/openafs-kernel-1.4.12.1'.
 * The complete build log is located at '/var/log/portage/net-fs:openafs-kernel-1.4.12.1:20101023-094241.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/temp/environment'.
 * S: '/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1/work/openafs-1.4.12.1'

>>> Failed to emerge net-fs/openafs-kernel-1.4.12.1, Log file:

>>>  '/var/log/portage/net-fs:openafs-kernel-1.4.12.1:20101023-094241.log'

 * Messages for package net-fs/openafs-kernel-1.4.12.1:

 * ERROR: net-fs/openafs-kernel-1.4.12.1 failed:
Comment 4 Andrej Filipcic 2010-10-25 11:53:13 UTC
The kernel module compiles fine with the current openafs-stable-1_4_x branch and I expect the new release will be out soon. I have not tested the module although.

In the meantime, you can test with the patch attached. Fix the openafs-kernel-1.4.12.1.ebuild with:
        EPATCH_EXCLUDE="012_all_kbuild.patch" \
        EPATCH_SUFFIX="patch" \
        epatch "${WORKDIR}"/gentoo/patches
+       patch -p1 < "${FILESDIR}"/oafs.patch
 
        # packaging is f-ed up, so we can't run automake (i.e. eautoreconf)
        sed -i '/^a/s:^:e:' regen.sh

and copy the oafs.patch to the files/ dir.
Comment 5 Andrej Filipcic 2010-10-25 11:53:57 UTC
Created attachment 251935 [details, diff]
oafs.patch
Comment 6 Charlie Gehlin 2010-11-04 14:31:38 UTC
Just so you know, the /doc/man-sections of the patch doesn't apply for me, there is no such directory (at that stage at least). Just removing those blocks from patch makes it apply nicely and compile also went fine.

Thanks For The Patch!
Comment 7 Safak Oekmen 2010-11-08 12:55:45 UTC
I have problems using the patch, the patch process can't find files and stucks.
Comment 8 Safak Oekmen 2010-11-08 13:00:48 UTC
I forgot to mention, the stable version does not compile either, although my system is relative clean.
Comment 9 Markus Peloquin 2010-11-09 01:56:51 UTC
The patch, minus the /doc sections, works for me.
Comment 10 tman 2010-11-13 09:31:12 UTC
it woudl be nice if sb could put the patch in the portage. i sucks really that the package faile from time to time and no maintainer seems to fix it in portage.
Comment 11 Andrej Filipcic 2010-11-13 11:40:21 UTC
The patch is somehow unofficial. I was promissed on the openafs list the 1.4.12.2 release would be made soon, so I would rather wait for it.
Comment 12 Juergen Rose 2010-12-01 09:32:18 UTC
Three weeks later, what about openafs-kernel-1.4.12.2?
Comment 13 Mike Hammill 2010-12-14 15:03:07 UTC
(In reply to comment #12)
> Three weeks later, what about openafs-kernel-1.4.12.2?
> 
It's now one day shy of two weeks after the "three weeks" comment.  I've been waiting since the unstable 2.6.36-gentoo-r2 and 2.6.36-gentoo-r4 and today stable 
2.6.36-gentoo-r5 was released.  openafs-kernel-1.4.12.1 doesn't compile with any of them.
Comment 14 Andrej Filipcic 2010-12-14 15:09:33 UTC
No release yet. I have asked again and if there is no comment within a day, I would propose to use the cleaned up version of the patch, which seems to work well.
Comment 15 Andrej Filipcic 2010-12-14 22:07:37 UTC
Created attachment 257177 [details]
kernel 2.6.36 patch
Comment 16 Andrej Filipcic 2010-12-14 22:08:20 UTC
Created attachment 257178 [details]
statfs test
Comment 17 Andrej Filipcic 2010-12-14 22:11:55 UTC
I have uploaded 2 patches as suggested by the openafs developers. Could you please test them if they work for you? Those will be included in the new official release expected in the next few days.
Comment 18 Mike Hammill 2010-12-16 00:14:21 UTC
(In reply to comment #17)
I tried the patches on an x86 (using heimdal w/AFS) and it worked fine with preliminary tests.  I put an ebuild with the patches out on mhammill user overlays so I'll use that to test some other arch tomorrow.  Thanks!
/Mike
Comment 19 Mike Hammill 2010-12-16 14:44:25 UTC
(In reply to comment #18)
Have now tested a bit using the above ebuild with both patches on an x86_64 and have encountered no problems.
/Mike

Comment 20 JTRiley 2010-12-27 18:35:44 UTC
(In reply to comment #18)
> (In reply to comment #17)
> I tried the patches on an x86 (using heimdal w/AFS) and it worked fine with
> preliminary tests.  I put an ebuild with the patches out on mhammill user
> overlays so I'll use that to test some other arch tomorrow.  Thanks!
> /Mike
> 

Just tested the ebuild/patch set in the mhammill user overlay. Works fine here on amd64 with 2.6.36-r5. Also tested that kerberos support is working via aklog.
Comment 21 SpanKY gentoo-dev 2011-01-25 21:03:15 UTC
openafs-1.4.14+ is in the tree
Comment 22 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-02 17:05:34 UTC
*** Bug 357039 has been marked as a duplicate of this bug. ***
Comment 23 Colleen 2011-03-03 04:17:03 UTC
The patches do not work for me...it is entirely possible I have used them wrong.
I made an overlay & added:
src_prepare() {
        EPATCH_EXCLUDE="012_all_kbuild.patch" \
        EPATCH_SUFFIX="patch" \
        epatch "${WORKDIR}"/gentoo/patches
+       patch -p1 < "${FILESDIR}"/openafs-kernel-2.6.26.patch
+       patch -p1 < "${FILESDIR}"/openaf-statfs.patch
        # packaging is f-ed up, so we can't run automake (i.e. eautoreconf)
	sed -i '/^a/s:^:e:' regen.sh
        skipman=1
	. regen.sh

WARNING: One or more repositories have missing repo_name entries:

	/usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 2.2.0_alpha25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-1.12.14
Timestamp of tree: Sat, 26 Feb 2011 22:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo x-portage
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb branding bzip2 cdda cddb cdr classic cli consolekit cracklib crypt cups cxx dbus device-mapper dri dvd dvdr extras flac fortran gdbm gpm hal iconv ieee1394 ipv6 jack jackmidi jpeg kerberos ladspa lame lasg lock lv2 midi mmx modules mp3 mp4 mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl policykit pppd python readline session sndfile sse sse2 ssl startup-notification sysfs tcpd thunar tk udev unicode vorbis vst xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 24 Colleen 2011-03-03 04:25:51 UTC
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.12.1/src/li\
bafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_groups.c:166: warning: unused variable 'g0\
'
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.1\
2.1/src/libafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_inode.o
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.1\
2.1/src/libafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.o
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.12.1/src/li\
bafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.c: In function 'osi_UFSOpen':
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.12.1/src/li\
bafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.c:62: warning: format '%d' expects ty\
pe 'int', but argument 2 has type 'long unsigned int'
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.12.1/src/li\
bafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.c: In function 'osi_UFSTruncate':
/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1.4.12.1/src/li\
bafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.c:248: error: implicit declaration of\
 function 'inode_setattr'
make[6]: *** [/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/openafs-1\
.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-r5-MP/osi_file.o] Error 1
make[5]: *** [_module_/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/work/o\
penafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-r5-MP] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.36-gentoo-r5'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/\
work/openafs-1.4.12.1/src/libafs/MODLOAD-2.6.36-gentoo-r5-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/\
work/openafs-1.4.12.1/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/\
work/openafs-1.4.12.1'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.12.1-r3/\
work/openafs-1.4.12.1'
make: *** [only_libafs] Error 2
emake failed
 ^[[31;01m*^[[0m ERROR: net-fs/openafs-kernel-1.4.12.1-r3 failed (compile phase\
):
 ^[[31;01m*^[[0m   (no error message)
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  56:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 4100:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die