Subject: Re: build failure
To: Erik E. Fair <fair@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 05/20/2004 23:49:12
--NdlCy5kZWPxDHnBc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 20, 2004 at 12:37:56AM -0700, Erik E. Fair wrote:
  | A build from last night's sup failed as follows. I did not build X11,
  | and DESTDIR was cleared by
  |=20
  | 	find /altroot -type f -o -type l -print | xargs rm
  |=20
  | =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D  13 extra files  =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
  | Files in DESTDIR but missing from flist.
  | File is obsolete or flist is out of date ?
  | ------------------------------------------
  | ./usr/X11R6/lib/X11/fs
  | ./usr/X11R6/lib/X11/lbxproxy
  | ./usr/X11R6/lib/X11/proxymngr
  | ./usr/X11R6/lib/X11/rstart
  | ./usr/X11R6/lib/X11/rstart/commands
  | ./usr/X11R6/lib/X11/rstart/commands/x11r6
  | ./usr/X11R6/lib/X11/rstart/contexts
  | ./usr/X11R6/lib/X11/twm
  | ./usr/X11R6/lib/X11/xdm
  | ./usr/X11R6/lib/X11/xdm/pixmaps
  | ./usr/X11R6/lib/X11/xinit
  | ./usr/X11R6/lib/X11/xserver
  | ./usr/X11R6/lib/X11/xsm
  | =3D=3D=3D=3D=3D=3D=3D=3D=3D  end of 13 extra files  =3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
  |=20
  | How did this happen?


Those directories are obsolete, but not marked as such in the set
lists, by design.  The reason they're not marked as obsolete is
because I don't want 'postinstall fix obsolete' deleting end-users
existing configuration.

If you run 'postinstall check x11' you'll be warned about those
directories existing and that you need to migrate them.


Ideally the first level of directories could be replaced with=20
symlinks to the /etc/X11 replacements, but doing that as part
of the build process is not trivial to do in a robust manner,
and even as part of postinstall it's a hard task to automate
robustly.  (Because people may already be using /etc/X11,
so we can't automatically mv the stuff from /usr/X11R6/lib/X11
to /etc/X11).

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFArLdYpBhtmn8zJHIRAhKaAJ4kekAeERaFePXrfmzYMGgo/ST8tQCg1g6o
IQ2zpytl4o0zvtyUdGn3JXg=
=+Uma
-----END PGP SIGNATURE-----

--NdlCy5kZWPxDHnBc--