Re: Failed to build latest git revision



On Fri, Aug 31, 2007 at 02:19:57PM +0200, Stefano Esposito wrote:
I've just git pull git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

after
$ make clean
$ make menuconfig

make fails with:
$ make
scripts/kconfig/conf -s arch/i386/Kconfig

*** Error during writing of the kernel configuration.

Looks like you lack write access to either .config, include/config/auto.conf or
a temporary file.
Did you build the kernel as root previously?

To clean up all files you can do:
copy .config save.config
make mrproper
mv save.confif .config

(And I use copy when backing up .config to avoid inherit
permissions from original .config file

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Re-visit: Thinkpad 760el D-Link dfe-690-txd problems
    ... >> I restored the original config and config.opts as you stated. ... cs: IO port probe 0x0100-0x03af: excluding 0x1a0-0x1af 0x220-0x22f ... cs: IO port probe 0x0800-0x080f: clean. ... May 3 23:07:40 loki kernel: Linux PCMCIA Card Services 3.2.8 ...
    (comp.os.linux.portable)
  • Re: .config not updated after make clean
    ... > since 'make clean' doesn't delete include/linux/autoconf.h (but ... > see how else to force proper re-generation of .config through the ... we will not detect when a Kconfig file is changed - not good. ... # oldconfig if changes are detected. ...
    (Linux-Kernel)
  • Re: Check handling of kernel build output directory
    ... is what you need to clean up. ... CLEAN .config ... HOSTCC scripts/basic/docproc ... Linux Kernel Configuration ...
    (Linux-Kernel)
  • Re: .config not updated after make clean
    ... > since 'make clean' doesn't delete include/linux/autoconf.h (but ... > obviously does delete .config.cmd), ... we will not detect when a Kconfig file is changed - not good. ... # oldconfig if changes are detected. ...
    (Linux-Kernel)
  • Re: kernel patch
    ... I only "make clean" when I really screw bzImage or modules up ... I don't "make mrproper" without backing up my .config file ... I "make bzImage modules" to get a clean build, ... My lilo.conf references both the current kernel, ...
    (comp.os.linux.misc)