Summary: | aufs2 ebuild (sysfs/aufs-0p20090916.ebuild) does not support nfs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gruffi <gruffivk> |
Component: | [OLD] Core system | Assignee: | Thomas Sachau <tommy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | j0inty |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
aufs2-9999-build.log
aufs2-nfs.patch |
Description
Gruffi
2009-11-25 22:36:45 UTC
Hi, I tested it here on my gentoo boxes with aufs2-9999 and NFS. I ran into the same error as Gruffi. So I patched the aufs2-9999.ebuild and compiled the aufs2 module. Here I ran into another problem while compiling the export.c file from the aufs2 package. [snip] /var/tmp/portage/sys-fs/aufs2-9999/work/aufs2-9999/fs/aufs/export.c: In function 'decode_ino': /var/tmp/portage/sys-fs/aufs2-9999/work/aufs2-9999/fs/aufs/export.c:43: error: size of array 'type name' is negative make[2]: *** [/var/tmp/portage/sys-fs/aufs2-9999/work/aufs2-9999/fs/aufs/export.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/sys-fs/aufs2-9999/work/aufs2-9999/fs/aufs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-tuxonice-r6' make: *** [fs/aufs/aufs.ko] Error 2 * ERROR: sys-fs/aufs2-9999 failed: * (no error message) * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3693: Called die * The specific snippet of code: * emake CC=$(tc-getCC) CONFIG_AUFS_FS=m CONFIG_AUFS_EXPORT=y KDIR=${KV_OUT_DIR:-$KV_DIR} || die; [/snap] I will try to find a patch in the bug database from the upstream and if i found a patch post it here with aufs2-9999.ebuild patch, too. regards j0inty Created attachment 211208 [details]
aufs2-9999-build.log
The build log file that demonstrate the problem.
Hi, I found a solution in the commit history of the git repository. http://git.c3sl.ufpr.br/gitweb?p=aufs/aufs2-standalone.git;a=commitdiff;h=7f653fc4ce5a7c14ea3d34e7b044089d65338984 The above link will redirect you to the patch that made it possible to compile the module with export behaviour for nfs filesystems. In this patch there will add another configure option that is needed to setted if you want to use aufs with nfs and amd64 arch. I added both configuration parameters and the module compiles fine at me. I also made an ebuild patch that added on x86 system only the CONFIG_AUFS_EXPORT=y parameter and on adm64 system append the CONFIG_AUFS_INO_T_64=y, too. I tested it here on an amd64 and x86 systems to know does it work for the diffrent arch's. Please check this patch and add it to the portage tree on successfull compile on diffrent machines. regards j0inty Created attachment 211219 [details]
aufs2-nfs.patch
Patch for the 9999 ebuild that add nfs support on 32Bit and 64Bit archs.
1. i wont support any ebuild, which is not in main tree, this includes the live ebuild from bugzilla, so if you add build logs or patches, use in-tree ebuilds for that 2. aufs-0_p20090916-r1 just added to main tree with nfs useflag, should be on your local rsync mirror in a few hours |