Subject: build.sh -x not working with readonly /usr/xsrc
To: None <current-users@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 04/13/2004 14:59:01
I am trying to build X11 as an unprivileged user (-current and xsrc
cvs'ed today). /usr/xsrc is owned by root.
$ sh build.sh -x -u -U \
-T /export/NetBSD-current/tools-i386 \
-M /export/NetBSD-current/obj-i386 \
-D /export/NetBSD-current/build-i386 \
-R /export/NetBSD-current/release-i386 \
release
[...]
includes ===> lib/Xrender
includes ===> lib/GL
includes ===> lib/Xmu
includes ===> lib/dps
# create dps//usr/xsrc/xfree/xc/lib/dps/dpsclrops.h
rm -f /usr/xsrc/xfree/xc/lib/dps/dpsclrops.h
rm: /usr/xsrc/xfree/xc/lib/dps/dpsclrops.h: Permission denied
*** Failed target: dpsclrops.h
*** Failed command: rm -f /usr/xsrc/xfree/xc/lib/dps/dpsclrops.h
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src/x11/lib/dps
*** Failed target: includes-dps
*** Failed command: targ=includes;dir=dps; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /export/NetBSD-current/tools-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> lib/$dir"; cd "/export/NetBSD-current/src/x11/lib/$dir"; /export/NetBSD-current/tools-i386/bin/nbmake "_THISDIR_=lib/$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src/x11/lib
*** Failed target: includes-lib
*** Failed command: targ=includes;dir=lib; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /export/NetBSD-current/tools-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/export/NetBSD-current/src/x11/$dir"; /export/NetBSD-current/tools-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src/x11
*** Failed target: build
*** Failed command: (cd /export/NetBSD-current/src/x11 && /export/NetBSD-current/tools-i386/bin/nbmake includes)
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src/x11
*** Failed target: do-x11
*** Failed command: (cd /export/NetBSD-current/src/x11 && /export/NetBSD-current/tools-i386/bin/nbmake build)
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src
*** Failed target: build
*** Failed command: (cd /export/NetBSD-current/src && /export/NetBSD-current/tools-i386/bin/nbmake do-x11)
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src
*** Failed target: release
*** Failed command: (cd /export/NetBSD-current/src && /export/NetBSD-current/tools-i386/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD-current/src
ERROR: Failed to make release
*** BUILD ABORTED ***
$
rvdp