Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build break in netbsd-6

It would be really great if the standard releng builds used read-only
source trees, but this takes read-only source trees and an update build
to reproduce.  The root cause is the use of cp as a build tool, because
it preserves permissions from source to obj, combined with not using cp
-f.  Really there should be some program that acts like a
compiler/assembler and creates fresh files, perhaps "cat" :-)

~/NetBSD-6/src/external/gpl3/gcc/usr.bin/include > /usr/obj/gdt-6/tools/bin/nbmake-i386 includes
cp /u0/n0/gdt/NetBSD-6/src/external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h mm_malloc.h
cp: mm_malloc.h: Permission denied

*** Failed target:  mm_malloc.h
*** Failed command: cp /u0/n0/gdt/NetBSD-6/src/external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h mm_malloc.h
*** Error code 1

nbmake: stopped in /u0/n0/gdt/NetBSD-6/src/external/gpl3/gcc/usr.bin/include

Attachment: pgp8SybYW1ple.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index