Subject: Re: making 'make replace' safer
To: NetBSD pkgsrc Discussion <tech-pkg@NetBSD.org>
From: Greg Troxel <email@example.com>
Date: 07/16/2006 13:02:27
"Greg A. Woods" <firstname.lastname@example.org> writes:
> At Sun, 16 Jul 2006 08:28:00 -0400,
> Greg Troxel wrote:
>> This will result in an updated system with no broken dependencies. It
>> should be able to run in the background, stopping on build failure,
> Sounds very cool. Seems like it really will avoid all "ABI" issues!
> (not sure it'll eliminate the need to build binary packages in a "safe"
> environment and then use those to update production systems though, but
> it might make it easier to do more kinds of work on the build machines)
No, it won't eliminate that, but rolling_replace in binary mode could
be used in conjunction with such a bulk build.
>> and rarely leaving the system in an unworking state.
> What are the possible causes of such failures?
Until all make replaces are done, there could be an ABI mismatch, and
a package build could fail, leaving a dependency replaced with a new
ABI and a package which depends not updated.
Greg Troxel <email@example.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (NetBSD)
-----END PGP SIGNATURE-----