Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318419 - sys-fs/aufs2-0_p20100405 fails to build against gentoo-sources-2.6.32-r7
Summary: sys-fs/aufs2-0_p20100405 fails to build against gentoo-sources-2.6.32-r7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:36 UTC by Olliver Schinagl
Modified: 2010-05-17 17:06 UTC (History)
1 user (show)

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 Olliver Schinagl 2010-05-04 14:36:46 UTC
Hi, I just tried installing the latest aufs2 patches but they fail to build with the inotify flag.

[ebuild   R   ] sys-kernel/gentoo-sources-2.6.32-r7  USE="-build -deblob -symlink" 0 kB

[ebuild   R   ] sys-fs/aufs2-0_p20100405  USE="inotify* kernel-patch nfs -debug -ramfs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-fs/aufs2-0_p20100405
 * aufs2-0_p20100405.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                         [ ok ]
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

 * CPV:  sys-fs/aufs2-0_p20100405
 * REPO: gentoo
 * USE:  amd64 elibc_glibc inotify kernel-patch kernel_linux multilib nfs userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.32-gentoo-r7/build
 * Found sources for kernel version:
 *     2.6.32-gentoo-r7
>>> Unpacking source...
>>> Unpacking aufs2-0_p20100405.tar.bz2 to /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work
>>> Source unpacked in /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work
>>> Preparing source in /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone ...
>>> Source prepared.
>>> Configuring source in /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone ...
>>> Source configured.
>>> Compiling source in /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone ...
make -j2 CC=x86_64-pc-linux-gnu-gcc CONFIG_AUFS_FS=m CONFIG_EXPORTFS=y CONFIG_AUFS_EXPORT=y CONFIG_AUFS_INO_T_64=y KDIR=/usr/src/linux 
-I/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/include -DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_HINOTIFY -DCONFIG_AUFS_EXPORT -DCONFIG_AUFS_INO_T_64
make -C /usr/src/linux M=/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs EXTRA_CFLAGS="-I/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/include -DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_HINOTIFY -DCONFIG_AUFS_EXPORT -DCONFIG_AUFS_INO_T_64" modules
make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo-r7'
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/module.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/sbinfo.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/super.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/branch.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/xino.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/sysaufs.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/opts.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/wkq.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/vfsub.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/dcsub.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/cpup.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/whout.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/plink.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/wbr_policy.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/dinfo.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/dentry.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/finfo.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/file.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/f_op.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/dir.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/vdir.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/iinfo.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/inode.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/i_op.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/i_op_add.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/i_op_del.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/i_op_ren.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/ioctl.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.o
  CC [M]  /tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/export.o
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c: In function 'au_hin_alloc':
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:44: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:45: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:49: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c: In function 'au_hin_free':
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:61: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:62: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c: In function 'au_hin_ctl':
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:79: error: 'struct au_hinode' has no member named 'hi_notify'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c: In function 'aufs_inotify':
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:185: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:185: warning: type defaults to 'int' in declaration of '__mptr'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:185: warning: initialization from incompatible pointer type
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:185: error: 'struct au_hnotify' has no member named 'hn_watch'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:187: error: implicit declaration of function 'au_hnotify'
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c: At top level:
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:220: error: variable 'au_hnotify_op' has initializer but incomplete type
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:221: error: unknown field 'ctl' specified in initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:221: warning: excess elements in struct initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:221: warning: (near initialization for 'au_hnotify_op')
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:222: error: unknown field 'alloc' specified in initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:222: warning: excess elements in struct initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:222: warning: (near initialization for 'au_hnotify_op')
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:223: error: unknown field 'free' specified in initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:223: warning: excess elements in struct initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:223: warning: (near initialization for 'au_hnotify_op')
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:225: error: unknown field 'fin' specified in initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:225: warning: excess elements in struct initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:225: warning: (near initialization for 'au_hnotify_op')
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:226: error: unknown field 'init' specified in initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:227: warning: excess elements in struct initializer
/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.c:227: warning: (near initialization for 'au_hnotify_op')
make[2]: *** [/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs/hinotify.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tank/01/tmp/portage/sys-fs/aufs2-0_p20100405/work/aufs2-standalone/fs/aufs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo-r7'
make: *** [fs/aufs/aufs.ko] Error 2

sys-fs/aufs2-0_p20100308 installed fine on the same kernel.

emerge --info:
riley src # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Phenom-tm-_II_X4_905e_Processor-with-gentoo-1.12.13
Timestamp of tree: Tue, 04 May 2010 00:45:02 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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="/silo/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip acl amd64 apache2 avahi berkdb bzip2 cli cracklib crypt cxx dlna dri exif fam fortran gdbm gpm iconv inotify ipv6 kernel-patch ldap libextractor lm_sensors minimal mmx modules mudflap multilib ncurses nfs nls nptl nptlonly openmp pam pcre pppd python readline reflection samba session slang snmp spl sse sse2 ssl sysfs tcpd truetype unicode upnp vorbis xml xorg zip 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
Comment 1 jez austin 2010-05-05 16:02:45 UTC
I'll second that, with 2.6.33-gentoo-r2.

Managed to hack a compile by applying changes from http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg02558.html to aufs2-standalone/config.mk
Comment 2 Thomas Sachau gentoo-dev 2010-05-17 17:06:33 UTC
Just fixed in tree, should be on your local rsync mirror in a few hours.