Created attachment 343413 [details] Build log Compilation errors are of the form: /var/tmp/portage/sys-fs/aufs3-3_p20130318/work/aufs3-standalone/fs/aufs/i_op.c: In function ‘aufs_setattr’: /var/tmp/portage/sys-fs/aufs3-3_p20130318/work/aufs3-standalone/fs/aufs/i_op.c:719:8: error: incompatible type for argument 2 of ‘security_path_chown’ Full build log is attached.
Created attachment 343415 [details] emerge --info '=sys-fs/aufs3-3_p20130318'
I should add, I have CONFIG_USER_NS enabled, because I want to make use of lxc.
could you please try to use sys-kernel/aufs-sources as you are using gentoo source with aufs.
Created attachment 343498 [details] aufs-sources .config I get the same thing when I try to build aufs-sources: fs/aufs/i_op.c: In function ‘aufs_setattr’: fs/aufs/i_op.c:719:8: error: incompatible type for argument 2 of ‘security_path_chown’ include/linux/security.h:2936:19: note: expected ‘kuid_t’ but argument is of type ‘uid_t’ fs/aufs/i_op.c:719:8: error: incompatible type for argument 3 of ‘security_path_chown’ include/linux/security.h:2936:19: note: expected ‘kgid_t’ but argument is of type ‘gid_t’ fs/aufs/i_op.c: In function ‘au_refresh_iattr’: fs/aufs/i_op.c:769:2: error: incompatible type for argument 2 of ‘i_uid_write’ include/linux/fs.h:705:20: note: expected ‘uid_t’ but argument is of type ‘kuid_t’ fs/aufs/i_op.c:770:2: error: incompatible type for argument 2 of ‘i_gid_write’ include/linux/fs.h:710:20: note: expected ‘gid_t’ but argument is of type ‘kgid_t’ Can I ask, why does the sys-fs/aufs package exist if not to be used with gentoo-sources? I've attached my aufs-sources .config.
(In reply to comment #4) > Created attachment 343498 [details] > aufs-sources .config > I will test that. > Can I ask, why does the sys-fs/aufs package exist if not to be used with > gentoo-sources? you can, but aufs-sources are much simpler.
I reported it upstream.
Quoting upstream: justin: > fs/aufs/i_op.c: In function =91aufs_setattr=92: > fs/aufs/i_op.c:719:8: error: incompatible type for argument 2 of > =91security_path_chown=92 > In file included from fs/aufs/i_op.c:27:0: > include/linux/security.h:2936:19: note: expected =91kuid_t=92 but argumen= > t > is of type =91uid_t=92 Confirmed. The type of the parameter was changed in linux-3.7. I didn't aware of it. The fix will be released in next Monday. J. R. Okajima
The problem still appears to be present on sys-kernel/afs-sources-3.8.5. Any progress on this issue?
not yet. still not fixed upstream.
+*aufs-sources-3.8.8-r1 (22 Apr 2013) + + 22 Apr 2013; Justin Lecher <jlec@gentoo.org> +aufs-sources-3.8.8-r1.ebuild, + +files/aufs-sources-3.8.8-CONFIG_USER_NS.patch: + Backport fix for breakage with CONFIG_USER_NS, #463471 +