From owner-freebsd-ports Thu Sep 13 0: 3:31 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 2F51E37B40E for ; Thu, 13 Sep 2001 00:03:21 -0700 (PDT) Received: from vega.vega.com (dialup1-58.iptelecom.net.ua [212.9.226.58]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id KAA89171; Thu, 13 Sep 2001 10:03:15 +0300 (EEST) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.4/8.11.3) id f8D72if13870; Thu, 13 Sep 2001 10:02:44 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200109130702.f8D72if13870@vega.vega.com> Subject: Re: libpng version bump To: lioux@uol.com.br (Mario Sergio Fujikawa Ferreira) Date: Thu, 13 Sep 2001 10:02:03 +0300 (EEST) Cc: mharnois@cpinternet.com (Michael Harnois), alex@varju.bc.ca (Alex Varju), freebsd-ports@FreeBSD.ORG In-Reply-To: <20010912220822.A20985@exxodus.fedaykin.here> from "Mario Sergio Fujikawa Ferreira" at Sep 12, 2001 10:08:22 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > On Wed, Sep 12, 2001 at 07:40:45PM -0500, Michael Harnois wrote: > > On Wed, 12 Sep 2001 15:26:14 -0700 (PDT), Alex Varju said: > > > > > I have a quick question about policy regarding version bumps for > > > shared libraries. I have gotten in the habit of removing old > > > versions of ports before installing the new one, and found that > > > suddenly a large number of things stopped working with the > > > libpng major was incremented. > > > > I second the question. I still haven't located all the dependencies I > > need to fix. It was a minor disaster. > > Well, it took me 3 hours to rebuild. At least, I was aware of > the problem before I began updating but it would have been nice to > be able to have used automated portupgrade instead of using my own > hacked scripts to uninstall/reinstall png related ports. Folks, as I said earlier several times, there are some 600 packages that depend on png, therefore such massive PORTREVISION bump would be a big PITA to perform and would introduce big repo bloat. Therefore, correct procedure for dealing with such cases (i.e. version bumps) should be as follows: 1. Remove old png and all packages that depend on it: # pkg_delete `cat /var/db/pkg/png-X.Y/+REQUIRED_BY` && pkg_delete png-X.Y 2. Rebuild/reinstall all from scratch. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message