mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* cannot create include/linux/version.h.tmp: Read-only file system
@ 2011-03-07  0:22 Christian Kujau
  2011-03-07  7:05 ` Américo Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Kujau @ 2011-03-07  0:22 UTC (permalink / raw)
  To: LKML; +Cc: nicolas.2p.debian, mmarek, max, linux-kbuild

Hi,

I'm trying to build a kernel with O= with the kernel source residing 
on a readonly NFS share. The main build finishes just fine, vmlinux & the 
modules are all built, but "make deb-pkg" and "make rpm-pkg" fail to 
build:

--------------------------
$ make V=1 O=/mnt/sdb/s0/ deb-pkg
[...]
set -e; : '  CHK     include/linux/version.h'; mkdir -p 
include/linux/; 	
(echo \#define LINUX_VERSION_CODE 132646; echo '#define 
KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < 
/usr/local/src/linux-2.6-git/Makefile > include/linux/version.h.tmp; if [ 
-r include/linux/version.h ] && cmp -s include/linux/version.h 
include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else 
: '  UPD     include/linux/version.h'; mv -f include/linux/version.h.tmp 
include/linux/version.h; fi
/bin/sh: cannot create include/linux/version.h.tmp: Read-only file system
make[4]: *** [include/linux/version.h] Error 2

--------------------------
$ make V=1 O=/mnt/sdb/s0/ rpm-pkg
[...]
make -f /usr/local/src/linux-2.6-git/scripts/Makefile.clean 
obj=arch/x86/boot/compressed
  rm -rf .tmp_versions
  rm -f vmlinux System.map .tmp_kallsyms* .tmp_version .tmp_vmlinux* 
.tmp_System.map
set -e; cd ..; ln -sf /usr/local/src/linux-2.6-git kernel-2.6.38rc7
ln: creating symbolic link `kernel-2.6.38rc7': Permission denied
make[2]: *** [rpm-pkg] Error 1
--------------------------

The full buidlogs are here: http://nerdbynature.de/bits/2.6.38-rc7/make/

Note that e.g. "make binrpm-pkg" succeeds and puts the .rpm in $HOME, I 
wonder if at least deb-pkg could be fixed..?

Thanks,
Christian.
-- 
BOFH excuse #3:

electromagnetic radiation from satellite debris

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-07 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07  0:22 cannot create include/linux/version.h.tmp: Read-only file system Christian Kujau
2011-03-07  7:05 ` Américo Wang
2011-03-07 10:45   ` Christian Kujau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®