Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483578 - =net-fs/openafs-kernel-1.6.5-r1 with Linux 3.11 - src/libafs/MODLOAD-3.11.0-gentoo-MP/osi_vnodeops.c:737:3: error: unknown field ‘readdir’ specified in initializer
Summary: =net-fs/openafs-kernel-1.6.5-r1 with Linux 3.11 - src/libafs/MODLOAD-3.11.0-g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andrej Filipcic
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-04 10:39 UTC by Mike Hammill
Modified: 2013-09-06 13:20 UTC (History)
2 users (show)

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


Attachments
build log (net-fs:openafs-kernel-1.6.5-r1:20130904-100952.log,538.52 KB, text/x-log)
2013-09-04 11:25 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2013-09-04 10:39:36 UTC
Build fails on 
error: unknown field ‘readdir’ specified in initializer
error: ‘struct dentry’ has no member named ‘d_count’
in osi_vnodeops.o
but above URL gives a proposed solution.

Reproducible: Always

Steps to Reproduce:
1. install new kernel 3.11.0
2. update kernel modules, specifically openafs-kernel 1.6.5-r1
3. build of said kernel module fails to compile



Please note URL to Gentoo forum with proposed solution.
Comment 1 Mike Hammill 2013-09-04 11:23:12 UTC
I can also confirm it fails in the same way on x86, just as for amd64.
Comment 2 Mike Hammill 2013-09-04 11:24:11 UTC
# emerge --info openafs-kernel
Portage 2.1.12.2 (default/linux/amd64/13.0/no-multilib, gcc-4.6.3, glibc-2.15-r3, 3.10.10-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.10-gentoo-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.2
KiB Mem:     3599728 total,   1220260 free
KiB Swap:    8393956 total,   8377932 free
Timestamp of tree: Tue, 03 Sep 2013 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo bleeding-edge betagarden sunrise mhammill
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bleeding-edge /var/lib/layman/betagarden /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://giddy.lan.kattugglan.net/gentoo-portage"
USE="X aac aalib acl afs alsa amd64 apache2 apng aspell assistant autoipd avahi bash-completion berkdb bidi branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi cli consolekit contrib cracklib crypt cups curl cvs cxx dbus desktop-integration device-mapper dga dia djvu docbook dot dri dts dv dvd dvi dvi2tty dvipdfm emacs encode exif extensions extra extras fam ffmpeg fftw flac fltk fontconfig fortran fuse g3dvl gallium gcrypt gdbm gdu geoip gif gimp git gnuplot gnutls graphics graphviz gs gstreamer gtk gtk3 hddtemp helpers hpn hwdb hyphenation iconv icu idn imagemagick imlib ipv6 jai java java6 javascript jpeg kerberos keymap kpathsea lame latex latex3 lcms ldap libcaca libnotify libxml2 lightning live lm_sensors lua lxde lyx m17n-lib mad mailwrapper matroska md5sum mmx mng modules mono mp3 mpeg mpi mpm-worker mudflap nagios-ntp nagios-ssh nano-syntax ncurses network network-cron nls no-old-linux nptl nsplugin nss ogg opencl opengl openmp openssl orc pam pcre pdf perl plotutils png policykit postscript ppds pulseaudio python qt3support qt4 quicktime raw rcs readline realtime rtf ruby sasl schroedinger screenshot secure-delete sensord session skins sound spell sse sse2 ssh ssl startup-notification stats stream subversion svg system-sqlite system-v8 t1lib tcl tcpd templates tex4ht theora threads tiff tk tor tordns truetype twolame udev udisks unicode upnp v4l v4l2 v8 vhosts vlm vorbis webdav webkit wmf wxwidgets x264 xattr xcb xft xinerana xscreensaver xulrunner xv xvmc zlib" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="access actions alias asis auth auth_anon auth_dbm auth_digest authz_default authz_host autoindex cache case_filter_in case_filter cern_meta cgi cgid charset_lite dav dav_fs dav_lock deflate dir disk_cache echo env expires ext_filter file_cache filter headers imap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http rewrite setenvif so speling status unique_id unique_id userdir usertrack vhost_alias authn_file authz_groupfile authz_user" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm bootchart" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB sv sv_SE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-fs/openafs-kernel-1.6.5-r1 was built with the following:
USE=""
Comment 3 Mike Hammill 2013-09-04 11:25:56 UTC
Created attachment 357836 [details]
build log
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2013-09-05 20:14:52 UTC
+*openafs-kernel-1.6.5-r2 (05 Sep 2013)
+
+  05 Sep 2013; Ian Stakenvicius <axs@gentoo.org>
+  +files/openafs-1.6.5-kernel-3.11-1.patch,
+  +files/openafs-1.6.5-kernel-3.11-2.patch, +openafs-kernel-1.6.5-r2.ebuild:
+  committed revbump with patches to support 3.11 kernels, thanks to johnfg_
Comment 5 Mike Hammill 2013-09-06 13:20:43 UTC
Thanks! It works. I can confirm this fixes the problem.