Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534388 - sys-kernel/aufs-sources-3.18.1 - fs/aufs/dcsub.c: In function 'au_dcsub_pages': fs/aufs/dcsub.c:137:13: error: 'union <anonymous>' has no member named 'd_child'
Summary: sys-kernel/aufs-sources-3.18.1 - fs/aufs/dcsub.c: In function 'au_dcsub_pages...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-02 23:21 UTC by Michael Lange
Modified: 2015-01-05 12:30 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info.txt,15.46 KB, text/plain)
2015-01-02 23:24 UTC, Michael Lange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lange 2015-01-02 23:21:41 UTC
aufs-sources-3.18.1 failed to build

# LC_MESSAGES=C make
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'arch/x86/purgatory/kexec-purgatory.c' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC      fs/aufs/dcsub.o
In file included from include/linux/sched.h:17:0,
                 from ././include/uapi/linux/aufs_type.h:30,
                 from <command-line>:0:
fs/aufs/dcsub.c: In function 'au_dcsub_pages':
fs/aufs/dcsub.c:137:13: error: 'union <anonymous>' has no member named 'd_child'
          d_u.d_child);
             ^
include/linux/kernel.h:796:29: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                             ^
fs/aufs/dcsub.c:136:27: note: in expansion of macro 'list_entry'
   struct dentry *dentry = list_entry(tmp, struct dentry,
                           ^
include/linux/kernel.h:796:48: warning: initialization from incompatible pointer type [enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
fs/aufs/dcsub.c:136:27: note: in expansion of macro 'list_entry'
   struct dentry *dentry = list_entry(tmp, struct dentry,
                           ^
include/linux/kernel.h:796:48: warning: (near initialization for 'dentry') [enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
fs/aufs/dcsub.c:136:27: note: in expansion of macro 'list_entry'
   struct dentry *dentry = list_entry(tmp, struct dentry,
                           ^
In file included from include/linux/compiler-gcc.h:106:0,
                 from include/linux/compiler.h:54,
                 from include/uapi/linux/stddef.h:1,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from ././include/uapi/linux/aufs_type.h:30,
                 from <command-line>:0:
include/linux/compiler-gcc4.h:14:34: error: 'union <anonymous>' has no member named 'd_child'
 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
                                  ^
include/linux/stddef.h:17:31: note: in expansion of macro '__compiler_offsetof'
 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
                               ^
include/linux/kernel.h:797:29: note: in expansion of macro 'offsetof'
  (type *)( (char *)__mptr - offsetof(type,member) );})
                             ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
fs/aufs/dcsub.c:136:27: note: in expansion of macro 'list_entry'
   struct dentry *dentry = list_entry(tmp, struct dentry,
                           ^
fs/aufs/dcsub.c:173:20: error: 'union <anonymous>' has no member named 'd_child'
   next = child->d_u.d_child.next;
                    ^
scripts/Makefile.build:257: recipe for target 'fs/aufs/dcsub.o' failed
make[2]: *** [fs/aufs/dcsub.o] Error 1
scripts/Makefile.build:402: recipe for target 'fs/aufs' failed
make[1]: *** [fs/aufs] Error 2
Makefile:937: recipe for target 'fs' failed



Reproducible: Always
Comment 1 Michael Lange 2015-01-02 23:24:00 UTC
Created attachment 393024 [details]
emerge --info
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-01-05 12:30:31 UTC
+*aufs-sources-3.18.1-r1 (05 Jan 2015)
+
+  05 Jan 2015; Justin Lecher <jlec@gentoo.org> -aufs-sources-3.18.1.ebuild,
+  +aufs-sources-3.18.1-r1.ebuild:
+  Bump to latest aufs3, fixes #534388
+