Subject: Problems building netbsd-2.0 release
To: None <>
From: None <>
List: netbsd-users
Date: 02/06/2005 17:56:13
Greetings, I've just checked out netbsd-2-0 source tree from a german 
mirror. Running fails, this seems to happen because src and 
xsrc are mounted read-only. Does anyone know why this happens and how to 
fix it? I prefer to have all source mounted read-only and it SHOULD be 
possible to build a release this way. Thanks.

This is the script I use to build a release:

export MAKECONF=/etc/mk.i386_athlon-tbird.conf
cd /opt/src && ./ -m i386 -x -X /opt/xsrc \
         -O /opt/obj.i386_athlon-tbird -T /opt/tools.i386_athlon-tbird \
         release 2>&1 | tee /log.i386_athlon-tbird

Below is a snip of output, showing where errors occur:

dependall ===> sys/arch/i386/stand/misc
#    create  misc/pfdisk.doc
rm -f pfdisk.doc
#    create  misc/pfdisk.exe
rm -f pfdisk.exe
#    create  misc//opt/src/sys/arch/i386/stand/misc/
rm -f /opt/src/sys/arch/i386/stand/misc/
rm: /opt/src/sys/arch/i386/stand/misc/ Read-only file system

*** Failed target:
*** Failed command: rm -f /opt/src/sys/arch/i386/stand/misc/
*** Error code 1

nbmake: stopped in /opt/src/sys/arch/i386/stand/misc