Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532238

Summary: sys-kernel/aufs-sources-3.17.6 - In file included from fs/aufs/module.c:24:0: fs/aufs/inode.h:307:12: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
Product: Gentoo Linux Reporter: Søren Dalby Larsen <sdlarsen>
Component: [OLD] Core systemAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Søren Dalby Larsen 2014-12-11 07:52:37 UTC
When compiling the kernel sources I get:

In file included from fs/aufs/module.c:24:0:
fs/aufs/inode.h:307:12: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
 AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags)
            ^
fs/aufs/aufs.h:28:21: note: in definition of macro ‘AuStub’
  static inline type name(__VA_ARGS__) { body; }
                     ^
fs/aufs/inode.h:307:1: note: in expansion of macro ‘AuStubInt0’
 AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags)
 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target 'fs/aufs/module.o' failed
make[2]: *** [fs/aufs/module.o] Error 1
scripts/Makefile.build:404: recipe for target 'fs/aufs' failed
make[1]: *** [fs/aufs] Error 2


Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-12-11 10:15:54 UTC
Please set CONFIG_AUFS_XATTR=y . This is a known regression of this version.
Comment 2 Søren Dalby Larsen 2014-12-11 12:47:58 UTC
@(In reply to Justin Lecher from comment #1)
> Please set CONFIG_AUFS_XATTR=y . This is a known regression of this version.

Thanks. Works perfectly.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-01-05 12:31:21 UTC
Fixed in later versions.