Subject: Re: pkg/16133: patch to enable OBJOPSYS in WORKDIR for pkgsrc packages
To: NetBSD GNATS submissions and followups <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 03/30/2002 23:58:01
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Sat, Mar 30, 2002 at 05:42:15PM -0500, Greg A. Woods wrote:
> Certainly there's an easy way to solve this!  You just have to go back
> one level to use a switchable WRKOBJDIR -- i.e. a common setting of
> WRKOBJDIR that points to a location where a unique-per-system symlink
> can be used.
>
> All you'll need is a startup script run automatically at boot in each
> system to swap the target of a single local symlink.  That symlink is
> of course pointed to by the setting of WRKOBJDIR.  Eg. like this (line
> numbers approximate):

my WRKOBJDIR is on NFS server.

[...]

> Using just a single symlink pointed to by WRKOBJDIR also means that
> there only has to be one common shared convenience symlinks in the
> source tree (i.e. in /usr/pkgsrc) even if you use the same pkgsrc tree
> simultaneously via NFS on multiple systems.
>=20
> However if you do simultaneous builds on multiple system from a shared
> NFS server you will also need this patch (as I discussed a while back
> in tech-pkg) (line numbers are very approximate):

[...]

your easy way looks very complicated for me :)

i still think that my idea is somewhat simpler and solves more
situations, like mentioned WRKOBJDIR on the same NFS server (i have
JavaStations and other diskless clients too).

thanks for your opinion,

regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8pkL4Wc63C347cOIRAswPAKCp2Qf8GJztn2Za+1a5fpJal21pwgCgz+8o
yg8GDjlUVG45k9nNfunWxjQ=
=gl3F
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--