From owner-freebsd-ports Wed Jan 23 16:37:23 2002 Delivered-To: freebsd-ports@freebsd.org Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id BEFA337B402 for ; Wed, 23 Jan 2002 16:37:19 -0800 (PST) Received: from photoniii (h0005025b549e.ne.mediaone.net [66.31.5.199]) by chmls20.mediaone.net (8.11.1/8.11.1) with SMTP id g0O0crx02673; Wed, 23 Jan 2002 19:38:53 -0500 (EST) Date: Wed, 23 Jan 2002 19:43:11 -0500 From: Tadayuki OKADA To: Mikhail Teterin Cc: tadayuki.okada@windriver.com, will@csociety.org, ports@FreeBSD.org Subject: Re: cvs commit: ports/graphics/gd Makefile pkg-comment Message-Id: <20020123194311.0a620a5a.tadayuki@mediaone.net> In-Reply-To: <200201232231.g0NMVuQ77729@aldan.algebra.com> References: <3C4EF390.3CD61EE4@windriver.com> <200201232231.g0NMVuQ77729@aldan.algebra.com> X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.5) 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, 23 Jan 2002 17:31:53 -0500 (EST) Mikhail Teterin wrote: > On 23 Jan, Tadayuki OKADA wrote: > > You can't assume people keep old version as it was. portupgrade leave > > old version of shared libraries by default, but there is a option to > > remove them. > > Then things may break for them with the current scheme too... The change > I'm advocating affects only the building of port A. If the acceptable > library of port B is present, it will build. Sorry, but you mistook what I said. I said: > I meant: > If port A depends on port B's library. > port B updated. Assume it breaks binary compatibility. > port A build will not be broken, so forget PORTREVISION bump. > People update port B, but not port A. so port A will stop working. The situation is: port A was built with previous version of port B. Then port B is updated. pkg_version or portversion detect new version of port B. So peolple update port B. But port A will not be detected, because PORTREVISON is same. > > The dependency tracking is quite broken anyway already -- the newly > built port A is registered as dependent on the latest version of port B > -- not the actually installed version (which may be outdated, be of > language specific flavor, or compiled with non-default options, etc.). > > > And think about the situation: port B update which includes critical > > bug fixes. But port A is still using old version of library... > > Again... Sorry for the evident confusion. My proposal does not modify > the dependency tracking (not significantly, anyway). When registering > the port A, the latest version of port B will be recorded (rather > bogusly, see above) -- just as now. The idea seemply allows to relax the > dependency requirements for those, who build the ports from source. This doesn't solve the situation what I described. PORTREVISION bump is needed. Regards, -- Tadayuki OKADA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message