tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg-config-0.26



On Wed, 25 Jan 2012 21:37:52 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:


"OBATA Akio" <obache%netbsd.org@localhost> writes:

Are you just talking about pkg_rolling-replace (and `replace' target)?
Yes, it it insufficient and should be fixed instead.
 (I've just killed `pkg_admin set unsafe_depends=YES' locally).

Well, you're welcome to implement logic to set unsafe_depends_loose,
which is only true if there was an ABI change, and do
pkg_rolling-replace -l.  The tricky part is choosing when to se
unsafe_depends_loose, because it seems telling if there is an ABI change
is very hard.  But it would be a good experiment.  But please don't
change what unsafe_depends means, since that's a useful definition
(package was rebuilt and was different before), which surely is a
superset of "package ABI changed".

There are two types of ABI change(shlib bump, new dependency on other library, 
and so on):

1. by updating package itself
2. by changing users' PKG_OPTIONS settings and rebuild the package.

About which type, are you talking about?

And do you want to care manual `make replace' with pkg_rolling-replace?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index