emerge =sys-fs/dazuko-2.2.0 results in Access Violation Last Output: * Preparing dazuko module make -C /usr/src/linux include/linux/version.h include/asm scripts make[1]: Entering directory `/usr/src/linux-2.6.16-suspend2-r8' ACCESS DENIED unlink: /usr/src/linux-2.6.16-suspend2-r8/.kernelrelease rm: cannot remove `.kernelrelease': Permission denied make[1]: `include/asm' is up to date. make[1]: *** [.kernelrelease] Error 1 make[1]: Leaving directory `/usr/src/linux-2.6.16-suspend2-r8' make: *** [dummy_rule] Error 2 !!! ERROR: sys-fs/dazuko-2.2.0 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile dazuko-2.2.0.ebuild, line 37: Called linux-mod_src_compile linux-mod.eclass, line 515: Called die !!! Unable to make dummy_rule. I create attachment for 'emerge --info' and sandbox log.
Created attachment 89825 [details] Sandbox log Here's the sandbox log.
Created attachment 89826 [details] emerge --info Here's 'emerge --info'.
Cannot reproduce that here -- using the same kernel (2.6.16-suspend2-r8).
Interesting -- just copied the ebuild for 2.2.0 to 2.2.1 and experienced the same... will check with the dazuko developer. I have no clue...
I ran into this because I wanted create an 2.2.1 ebuild as well, since I had problems with 2.2.0 (see http://bugs.gentoo.org/show_bug.cgi?id=131508). Maybe the 2.2.1 version messed something up, that effects afterwards 2.2.0 as well? I tried after I received the access violation all earlier available ebuilds. These are not giving the error.
Is there some progress concerning this issue? I'd like to update to dazuko-2.2.1 because it contains fixes to compile with with 2.6.16 kernel. dazuko-2.2.0 forces me to be stuck with 2.6.15 kernel. Please let me know whether I can help solving the problem.
Yesterday, I found some time to investigate the problem. There is a change in the configure script from 2.2.0 to 2.2.1 which causes the sandbox violation. The line introduced into the configure script is 'echo " \$(MAKE) -C ${LINUX_SRC} include/linux/version.h include/asm scripts" >> Makefile' I guess this has been done to be able to compile with distributions that provide a precompiled kernel. Installing the kernel sources provides the configuration of the installed kernel und the source files. I could imaging that files are required for compiling dazuko are missing and are produced by the invokation of make given above. I tried to compile after removing this line and succeeded. Since there exist no precompiled kernels in gentoo afaik, this should not lead to problems. I will open new bug and provide new ebuild for dazuko 2.2.1.