Hunk #1 succeeded at 596 (offset -13 lines). patching file arch/x86_64/kernel/irq.c patching file arch/x86_64/kernel/smp.c patching file include/asm-x86_64/hw_irq.h touch ref-linux-2.6.16/.valid-ref # update timestamp to avoid rebuild rm -rf linux-2.6.16-xen cp -al ref-linux-2.6.16 linux-2.6.16-xen # Apply arch-xen patches ( cd linux-2.6-xen-sparse ; \ LINUX_ARCH=i386 ./mkbuildtree ../linux-2.6.16-xen ) # Re-use config from install dir if one exits else use default config CONFIG_VERSION=$(sed -ne 's/^EXTRAVERSION = //p' linux-2.6.16-xen/Makefile); \ [ -r /boot/config-2.6.16$CONFIG_VERSION-xen ] && \ cp /boot/config-2.6.16$CONFIG_VERSION-xen linux-2.6.16-xen/.config \ || cp buildconfigs/linux-defconfig_xen_x86_32 \ linux-2.6.16-xen/.config # See if we need to munge config to enable PAE make CONFIG_FILE=linux-2.6.16-xen/.config -f buildconfigs/Rules.mk config-update-pae make[1]: Entering directory `/var/tmp/portage/xen-sources-2.6.16.26/work/xen-3.0.2' grep '^CONFIG_HIGHMEM64G=y' linux-2.6.16-xen/.config >/dev/null && ( sed -e 's!^CONFIG_HIGHMEM64G=y$!\# CONFIG_HIGHMEM64G is not set!;s!^\# CONFIG_HIGHMEM4G is not set$!CONFIG_HIGHMEM4G=y!' linux-2.6.16-xen/.config > linux-2.6.16-xen/.config- && mv linux-2.6.16-xen/.config- linux-2.6.16-xen/.config ) || true make[1]: Leaving directory `/var/tmp/portage/xen-sources-2.6.16.26/work/xen-3.0.2' # Patch kernel Makefile to set EXTRAVERSION ( cd linux-2.6.16-xen ; \ sed -e 's/^EXTRAVERSION.*/&$(XENGUEST)\nXENGUEST = -xen/' Makefile >Mk.tmp ; \ rm -f Makefile ; mv Mk.tmp Makefile ) make -C linux-2.6.16-xen ARCH=i386 oldconfig make[1]: Entering directory `/var/tmp/portage/xen-sources-2.6.16.26/work/xen-3.0.2/linux-2.6.16-xen' HOSTCC scripts/basic/fixdep ACCESS DENIED open_wr: /usr/src/build-lucienne/fixdep.gcda ACCESS DENIED open_wr: /usr/src/build-lucienne/scripts/basic/.fixdep.d /var/tmp/portage/xen-sources-2.6.16.26/work/xen-3.0.2/linux-2.6.16-xen/scripts/basic/fixdep.c:375: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied compilation terminated. make[3]: *** [scripts/basic/fixdep] Error 1 make[2]: *** [scripts_basic] Error 2 make[1]: *** [oldconfig] Error 2 make[1]: Leaving directory `/var/tmp/portage/xen-sources-2.6.16.26/work/xen-3.0.2/linux-2.6.16-xen' make: *** [linux-2.6.16-xen/include/linux/autoconf.h] Error 2 !!! ERROR: sys-kernel/xen-sources-2.6.16.26 failed. Call stack: ebuild.sh, line 1545: Called dyn_unpack ebuild.sh, line 711: Called src_unpack xen-sources-2.6.16.26.ebuild, line 34: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-kernel_-_xen-sources-2.6.16.26-20548.log" open_wr: /usr/src/build-lucienne/fixdep.gcda open_wr: /usr/src/build-lucienne/scripts/basic/.fixdep.d open_wr: /usr/src/build-lucienne/fixdep.gcda open_wr: /usr/src/build-lucienne/scripts/basic/.fixdep.d open_wr: /usr/src/build-lucienne/fixdep.gcda open_wr: /usr/src/build-lucienne/scripts/basic/.fixdep.d open_wr: /usr/src/build-lucienne/scripts/basic/.fixdep.d -------------------------------------------------------------------------------- why is it trying to oldconfig before installation?
Created attachment 92358 [details] emerge --info
Triffid, are you also getting this error with xen-sources-2.6.16.28?
Newer versions of xen-sources don't trigger make oldconfig, so this particular problem shouldn't occur anymore - not that I could reproduce it anyway. Triffid, please try the latest xen-sources and report back here.