Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 18:02:39 +0100
From:      Jean-Yves Lefort <jylefort@FreeBSD.org>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: Ports 104877 causing big problems
Message-ID:  <20070310180239.90610bf7.jylefort@FreeBSD.org>
In-Reply-To: <F7BCB482-2676-4EAA-8784-17FF60F84A21@FreeBSD.org>
References:  <45F1DDE2.5030404@FreeBSD.org> <BE66AB56-E0B4-420A-910D-9C10DB9AF24D@FreeBSD.org> <45F1EA6A.6070904@FreeBSD.org> <FB399CF7-11E2-4CC9-8C91-7D6850B7B2D8@FreeBSD.org> <20070310023034.c5939c48.jylefort@FreeBSD.org> <7CF1749C-3254-46AC-ABDD-BAB0D84ED7A1@FreeBSD.org> <20070310033000.c9d2a66f.jylefort@FreeBSD.org> <8E182699-3175-447C-92EF-B6F0E84B4244@FreeBSD.org> <20070310144528.1224e8f1.jylefort@FreeBSD.org> <D450EB9D-77BB-47AA-A107-B5EC9567F5FD@FreeBSD.org> <20070310164356.a645e9d0.jylefort@FreeBSD.org> <F7BCB482-2676-4EAA-8784-17FF60F84A21@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__10_Mar_2007_18_02_39_+0100_iy6bDiWUSJjV8MPC
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sat, 10 Mar 2007 08:16:04 -0800
Ade Lovett <ade@FreeBSD.org> wrote:

> > A does not reference C. There is no reason to rebuild A. This is
> > called encapsulation. You don't need to rebuild your whole system when
> > libpng is updated. It's relatively easy, yet it's entirely useless and
> > going to take one day or two.
>
> Wrong.
>
> [root@foo:~] 49# grep gtk-engines /var/db/pkg/png-1.2.14/+REQUIRED_BY
> gtk-engines2-2.8.2
>
> [root@foo:~] 50# grep png /usr/ports/x11-themes/gtk-engines2/Makefile
> [root@foo:~] 51#
>
> If png changes, the *only* deterministic way to ensure that
> everything is correctly rebuilt *is* to rebuild everything that
> depends on that port.  You do not know that gtk-engines2 in this case
> actually directly calls png functions (which may have changed).

It doesn't. If it did, we would add libpng to LIB_DEPENDS. That way,
the person updating libpng would find gtk-engines2 with grep, and
would bump its port revision to force a rebuild.

If users had to run portupgrade -rf foo, why would committers bother
bumping the revisions of all the ports that directly depend on foo?

> > Unknown to you, because you don't understand the problem.
>
> I've asked multiple times for empirical proof that there *is* a
> problem.  Believe me, I understand how .la files work.  I also
> understand how FreeBSD port dependencies work.  As the current
> maintainer of the autotools infrastructure, I am most certainly not
> going to change the status quo without very good reason, particularly
> given the load it will place on our limited package building resources.

That's right. Let's save a run of our limited package building
resources, and instead continue to force users to rebuild their whole
system for every library update.

--
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Sat__10_Mar_2007_18_02_39_+0100_iy6bDiWUSJjV8MPC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF8uSvyzD7UaO4AGoRAkHyAJwMpCNZESVXpwxXcffJOfMkHaYnHACfcNsm
2YUTHADH7yFSA4eooOGYOAU=
=bkjE
-----END PGP SIGNATURE-----

--Signature=_Sat__10_Mar_2007_18_02_39_+0100_iy6bDiWUSJjV8MPC--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070310180239.90610bf7.jylefort>