Subject: Re: -x not working with readonly /usr/xsrc
To: Ronald van der Pol <>
From: Luke Mewburn <>
List: current-users
Date: 04/13/2004 23:08:03
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 13, 2004 at 02:59:01PM +0200, Ronald van der Pol wrote:
  | I am trying to build X11 as an unprivileged user (-current and xsrc
  | cvs'ed today). /usr/xsrc is owned by root.
  | $ 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 =3D=3D=3D> lib/Xrender
  | includes =3D=3D=3D> lib/GL
  | includes =3D=3D=3D> lib/Xmu
  | includes =3D=3D=3D> 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

This is because  /usr/xsrc/xfree/xc/lib/dps/dpsclrops.h
is a temporary "stale" file generated at runtime by a previous build,
most likely a previous "native" build of X11.

Ensure you have up to date source without any of these
temporary stale files, otherwise the build process with be confused by

The same problem can occur if you have .o files in a read-only
source tree.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)