Am 24.11.2010 18:35, schrieb [email protected]: > Hello Thomas, > > Thomas Sachau: >> -the build should never leave the builddir for adding/changing/removing f= >> iles, this includes places >> like /usr/src/linux. The attached build.log shows the prevented access by= >> sandbox. > > Unfortunately I totally don't understand what it means. > Do you maen > - there was no compile error > - but something is left under fs/aufs/, and it is harmful > ?
no, short version: You try to rm various files from /usr/src/linux, but any file access there is not allowed, maybe the attached log is more clear to you. > > >> -aufs2-util gives me a compile time error, also in the attached log (firs= >> t it compiles >> aufs2-standalone for kernel 2.6.36, afterwards aufs2-util) > > I am afraid you might forget "make headers_install". > Also you need to checkout "aufs2.1" branch in aufs2-util. there is no headers_install target in the aufs2 sources. And a compile and install of modules should not require anything outside the builddir. Additionally, how should a "make headers_install" inside the kernel dir know about the aufs2 build dir and install things there? -- Thomas Sachau Gentoo Linux Developer
[32;01m * [39;49;00mPackage: sys-fs/aufs2-0_p20101122 [32;01m * [39;49;00mRepository: Meins [32;01m * [39;49;00mMaintainer: [email protected] [32;01m * [39;49;00mUSE: amd64 elibc_glibc hardened kernel-patch kernel_linux multilib_abi_amd64 userland_GNU >>> ABI=amd64 [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.36-gentoo-r3 >>> ABI=amd64 >>> Unpacking source... >>> Unpacking aufs2-0_p20101122.tar.bz2 to >>> /var/tmp/portage/sys-fs/aufs2-0_p20101122/work >>> Source unpacked in /var/tmp/portage/sys-fs/aufs2-0_p20101122/work >>> ABI=amd64 >>> Preparing source in >>> /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone ... [32;01m*[0m Applying pax.patch ... [A[308C [34;01m[ [32;01mok[34;01m ][0m >>> Source prepared. >>> ABI=amd64 >>> Configuring source in >>> /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone ... >>> Source configured. >>> ABI=amd64 >>> Compiling source in >>> /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone ... make -j5 --load-average=8 CC=x86_64-pc-linux-gnu-gcc CONFIG_AUFS_FS=m KDIR=/usr/src/linux -I/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include -DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_SBILIST make -C /usr/src/linux M=/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs EXTRA_CFLAGS="-I/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include -DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_SBILIST" modules echo '$(install-file):srctree= $(install-file):objtree=' |\ tr ' ' '\n' |\ make -rR -C /usr/src/linux \ -f scripts/Makefile.headersinst \ -f - \ -f Makefile \ obj=var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include/linux dst=var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/usr/include/linux rm: cannot remove `.6717.tmp': Permission denied rm: cannot remove `.6717.o': Permission denied rm: cannot remove `.6724.tmp': Permission denied rm: cannot remove `.6724.o': Permission denied rm: cannot remove `.6733.tmp': Permission denied rm: cannot remove `.6733.o': Permission denied rm: cannot remove `.6755.tmp': Permission denied rm: cannot remove `.6755.o': Permission denied rm: cannot remove `.6767.tmp': Permission denied rm: cannot remove `.6767.o': Permission denied rm: cannot remove `.6775.tmp': Permission denied rm: cannot remove `.6775.o': Permission denied rm: cannot remove `.6789.tmp': Permission denied rm: cannot remove `.6789.o': Permission denied rm: cannot remove `.6800.tmp': Permission denied rm: cannot remove `.6800.o': Permission denied rm: cannot remove `.6812.tmp': Permission denied rm: cannot remove `.6812.o': Permission denied rm: cannot remove `.6822.tmp': Permission denied rm: cannot remove `.6822.o': Permission denied rm: cannot remove `.6833.tmp': Permission denied rm: cannot remove `.6833.o': Permission denied rm: cannot remove `.6843.tmp': Permission denied rm: cannot remove `.6843.o': Permission denied rm: cannot remove `.6854.tmp': Permission denied rm: cannot remove `.6854.o': Permission denied make[1]: Entering directory `/usr/src/linux-2.6.36-gentoo-r3' make[1]: Entering directory `/usr/src/linux-2.6.36-gentoo-r3' rm: Entfernen von â.6888.tmpâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6888.oâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6904.tmpâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6904.oâ nicht möglich: Keine Berechtigung CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/module.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/sbinfo.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/super.o rm: Entfernen von â.6915.tmpâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6915.oâ nicht möglich: Keine Berechtigung CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/branch.o rm: Entfernen von â.6929.tmpâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6929.oâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6943.tmpâ nicht möglich: Keine Berechtigung rm: Entfernen von â.6943.oâ nicht möglich: Keine Berechtigung rm: Entfernen von â.tmp_quiet_recordmcountâ nicht möglich: Keine Berechtigung make[2]: *** [scripts_basic] Fehler 1 INSTALL /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/usr/include/linux/ (1 file) CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/xino.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/sysaufs.o sh: scripts/unifdef: Datei oder Verzeichnis nicht gefunden make[1]: Leaving directory `/usr/src/linux-2.6.36-gentoo-r3' CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/opts.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/wkq.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/vfsub.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/dcsub.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/cpup.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/whout.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/wbr_policy.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/dinfo.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/dentry.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/dynop.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/finfo.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/file.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/f_op.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/dir.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/vdir.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/iinfo.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/inode.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/i_op.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/i_op_add.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/i_op_del.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/i_op_ren.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/ioctl.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/procfs.o CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/plink.o GEN /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/conf.str CC [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/sysfs.o LD [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/aufs.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/aufs.mod.o LD [M] /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/fs/aufs/aufs.ko make[1]: Leaving directory `/usr/src/linux-2.6.36-gentoo-r3' ln -f fs/aufs/aufs.ko aufs.ko make -j5 --load-average=8 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar KDIR=/usr/src/linux C_INCLUDE_PATH=/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I./libau -O -Wall -Wl,--as-needed -Wl,--hash-style=gnu c2tmac.c -o c2tmac In file included from c2tmac.c:21:0: /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include/linux/aufs_type.h:159:27: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token make: *** [c2tmac] Error 1 emake failed [31;01m*[0m ERROR: sys-fs/aufs2-0_p20101122 failed: [31;01m*[0m (no error message) [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 56: Called src_compile [31;01m*[0m environment, line 3982: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_DIR} C_INCLUDE_PATH="${S}"/include || die [31;01m*[0m [31;01m*[0m If you need support, post the output of 'emerge --info =sys-fs/aufs2-0_p20101122', [31;01m*[0m the complete build log and the output of 'emerge -pqv =sys-fs/aufs2-0_p20101122'. [31;01m*[0m This ebuild is from an overlay named 'Meins': '/usr/local/portage/' [31;01m*[0m The complete build log is located at '/home/thomas/daten/emerge-logs/sys-fs:aufs2-0_p20101122:20101124-165511.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-fs/aufs2-0_p20101122/temp/environment'. [31;01m*[0m S: '/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone'
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
