From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 16:36:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C92C1065673 for ; Sun, 12 Dec 2010 16:36:01 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by mx1.freebsd.org (Postfix) with ESMTP id E821E8FC12 for ; Sun, 12 Dec 2010 16:36:00 +0000 (UTC) Received: (qmail 21610 invoked from network); 12 Dec 2010 16:36:00 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Dec 2010 16:36:00 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 153325080B; Sun, 12 Dec 2010 11:35:51 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 3A8F51CC7A; Sun, 12 Dec 2010 11:35:51 -0500 (EST) From: Lowell Gilbert To: Yuri References: <4D042B98.60907@rawbw.com> Date: Sun, 12 Dec 2010 11:35:50 -0500 In-Reply-To: <4D042B98.60907@rawbw.com> (yuri@rawbw.com's message of "Sat, 11 Dec 2010 17:55:36 -0800") Message-ID: <447hffuexl.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Ports: How do dependent ports upgrade when dependency shared lib version is bumped? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2010 16:36:01 -0000 Yuri writes: > I recently updates the system. libatkmm-1.6.so.1 got bumped to > libatkmm-1.6.so.2, now inkscape fails: > /libexec/ld-elf.so.1: Shared object "libatkmm-1.6.so.1" not found, > required by "inkscape" > > What is the right behavior in such situation? Should all depending > packages be also automatically bumped? Or portupghrade should detect > the change and automatically upgrade dependent ports? There's no way to do it fully automatically, but porters try to do this by hand, by incrementing PORTREVISION for the dependent ports. Once that is done, portupgrade will pick it up automatically. However, porters will sometimes miss subtle dependencies, especially optional ones. In this case, I don't see a direct dependency of inkscape on atkmm, so I don't know how it should have been marked. In any case, inkscape was updated shortly after atkmm, so if you upgraded everything more recently, it looks like you should have gotten inkscape rebuilt after the atkmm change.