sys-fs/aufs-20080207-r1 does not compile under gentoo-sources-2.6.25-r1. Basically it is a problem with the 2.6.25 kernels making a few API changes that prevent the compile from being carried out. Reproducible: Always Steps to Reproduce: 1. Upgrade to test kernel gentoo-sources-2.6.25-r1 2. (make sure sunrise overlay is installed for aufs) layman -a sunrise 3. Install aufs: emerge -av aufs Actual Results: The aufs install failed with the following errors: make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r1' CC [M] /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/module.o CC [M] /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.o In file included from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/dentry.h:30, from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/aufs.h:101, from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/module.c:24: /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h: In function 'vfsub_path_lookup': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:271: error: 'struct nameidata' has no member named 'mnt' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:271: error: 'struct nameidata' has no member named 'dentry' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h: In function 'do_vfsub_create': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:361: error: 'struct nameidata' has no member named 'mnt' make[2]: *** [/var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/module.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/dentry.h:30, from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/aufs.h:101, from /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:45: /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h: In function 'vfsub_path_lookup': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:271: error: 'struct nameidata' has no member named 'mnt' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:271: error: 'struct nameidata' has no member named 'dentry' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h: In function 'do_vfsub_create': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/vfsub.h:361: error: 'struct nameidata' has no member named 'mnt' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c: In function 'au_show_brs': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:117: warning: passing argument 2 of 'seq_path' from incompatible pointer type /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:117: warning: passing argument 3 of 'seq_path' from incompatible pointer type /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:117: error: too many arguments to function 'seq_path' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c: In function 'aufs_show_options': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:150: warning: passing argument 2 of 'seq_path' from incompatible pointer type /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:150: warning: passing argument 3 of 'seq_path' from incompatible pointer type /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:150: error: too many arguments to function 'seq_path' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c: At top level: /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:714: error: unknown field 'read_inode' specified in initializer /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c: In function 'alloc_root': /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:823: error: implicit declaration of function 'iget' /var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.c:823: warning: assignment makes pointer from integer without a cast make[2]: *** [/var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs/super.o] Error 1 make[1]: *** [_module_/var/tmp/portage/sys-fs/aufs-20080207-r1/work/aufs/fs/aufs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r1' make: *** [fs/aufs/aufs.ko] Error 2 Expected Results: This result was expected since the 20080207 export of aufs doesn't include the support required for it do compile. The problem has been resolved with a more recent CVS export. The possible actions that I think should be carried out are: The 20080207 and 20070402 ebuilds should be modified so that one of the requirements is a kernel < 2.6.25. There should be a new checkout based on the latest CVS builds that can be used by the 2.6.25 kernel tree. Here is my emerge --info: Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r1 i686) ================================================================= System uname: 2.6.25-gentoo-r1 i686 Intel(R) Celeron(R) M processor 1.50GHz Timestamp of tree: Mon, 21 Apr 2008 06:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.3.6-r4, 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/portage/local/custom/cvpcs /usr/portage/local/layman/php-testing /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/php-experimental /usr/portage/local/layman/armagetron /usr/portage/local/layman/java-overlay /usr/portage/local/layman/springlobby /usr/portage/local/layman/philantrop /usr/portage/local/layman/graaff /usr/portage/local/layman/liquidx /usr/portage/local/layman/wschlich" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acc acl acpi admin agg allegro alsa ansi apache2 apm arts asf aspnet aspnet2 avi bcmath berkdb bidi blender-game branding bzip2 c++ cairo calendar cdb cdda cddb cdparanoia cdr cdrdao cjk cli console corba cracklib crypt css ctype cups curl d dbase dbus dell devil dga dia directfb disk-partition dlopen dri dts dvb dvd dvdnav dvdr dvdread eds emerald encode esd exif expat fastcgi fbcon fdftk ffmpeg ffmpg filter firefox flac flash foomaticdb fortran fpx ftp gcc4 gcj gd-external gdbm gif gimpprint glade glib glitz glut gmp gnome gnome-print gnutls gpm graphviz gs gstreamer gtk gtkhtml hal hash hinotify httpd iceweasel iconv icu id3 ieee1394 imagemagick imap imlib inherit-graph inifile inkjar iodbc ipod ipv6 isdnlog java java5 jbig jmpeg jpeg jpeg2k json kde kqemu kvm lame lcms ldap ldap-sasl libcaca libg++ libwww live lm_sensors logrotate lua lzo mad mailwrapper matroska mcve md5sum mhash midi mikmod mjpeg mmx mng mono moonlight motif mozdevelop mozdom mozsha1 mp3 mp4live mpeg mpeg2 mplayer msn mudflap musepack mysql mysqli nas ncurses nfs nfsexport nls nptl nptlonly nsplugin objc objc++ objc-gc odbc ogg oggvorbis openal openexr opengl openmp openntpd oss overlays pam pcmcia pcntl pcre pdf pdflib pdo-external perl php pic pmu png postgres postgresql ppds pppd python qemu qmail qt qt3 qt3support qt4 quicktime quotas rar readline real reflection rtsp ruby samba sasl sdl sdl-image seamonkey servletapi session shout simplexml skins sndfile snmp soap sockets socks5 sound sourceview speex spell spl sql sqlite sqlite3 sse sse2 ssl ssmtp stream subtitles subversion svg svga tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype unicode usb v4l v4l2 valgrind vcd verse vhosts vidix vlm vorbis wavpack wddx webdav win32codecs wine wma wmf wmv wxwindows x264 x86 xattr xcb xerces-c xforms xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xscreensaver xsl xv xvid yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx fbdev i810 tga tdfx vga vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 150553 [details, diff] Proposed patch for aufs-20070402.ebuild
Created attachment 150554 [details, diff] Proposed patch for aufs-20080207-r1.ebuild I have uploaded the two patches for the current aufs ebuilds that would require that they be compiled under linux < 2.6.25. Let me know what you think!
Added your patch to aufs-20080207-r1 for now. Hopefully upstream will resolve this problem soon.
already fixed with sys-fs/aufs-20080422
reopen to mark as resolved/fixed (sorry for the spam)