From owner-freebsd-ports@FreeBSD.ORG Sat Jul 28 14:57:37 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96EFA1065691; Sat, 28 Jul 2012 14:57:37 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from mailer04.ua.ac.be (mailer04.ua.ac.be [143.169.242.12]) by mx1.freebsd.org (Postfix) with ESMTP id 171238FC1E; Sat, 28 Jul 2012 14:57:36 +0000 (UTC) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mailer04.ua.ac.be (8.13.1/8.13.1) with ESMTP id q6SEvH40006797; Sat, 28 Jul 2012 16:57:17 +0200 Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.5/8.14.5) with ESMTP id q6SEvHK9046310; Sat, 28 Jul 2012 16:57:17 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.5/8.14.5/Submit) with ESMTP id q6SEvHst046307; Sat, 28 Jul 2012 16:57:17 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Sat, 28 Jul 2012 16:57:17 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: Bryan Drewery In-Reply-To: <5013F141.3080202@shatow.net> Message-ID: References: <20120728102139.GG48384@ithaqua.etoilebsd.net> <20120728114758.GB38920@ithaqua.etoilebsd.net> <20120728115653.GC38920@ithaqua.etoilebsd.net> <20120728121535.GD38920@ithaqua.etoilebsd.net> <20120728123210.GE38920@ithaqua.etoilebsd.net> <5013F141.3080202@shatow.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mailer04.ua.ac.be [143.169.242.12]); Sat, 28 Jul 2012 16:57:17 +0200 (CEST) Cc: ports@FreeBSD.org, Baptiste Daroussin Subject: Re: pkg-config - pkgconf [portupgrade UPDATING entries] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 14:57:37 -0000 Hi Bryan, Before I do execute the instruction yuo mention, I want to check the following: # grep pkg-config /var/db/pkg/*/* gives two lines per (very many...) packages, such as e.g. ImageMagick-6.7.7.7_1/+CONTENTS:@pkgdep pkg-config-0.25_1 ImageMagick-6.7.7.7_1/+CONTENTS:@comment DEPORIGIN:devel/pkg-config # pkg_info | grep pkg-config pkg-config-0.25_1 A utility to retrieve information about installed libraries # pkg_info | grep pkgconf nothing I just want to be sure this is a valid status BEFORE I do the portupgrade -fo devel/pkgconf pkg-config-\* instruction ... Will that instruction make change the change from @pkgdep pkg-config-0.25_1 into @pkgdep pkgconf-0.8.3 in the +CONTENTS file of a packages (and also the @comment line ?) Also, will the package pkg-config-0.25_1 automatically be deleted (e.g. at the first package compiled during portugprade) and replaced by the package pkgconf-0.8.3 ? I understand pkgconf is meant to replace pkg-config? right? I just want to know to be able to possibly verify things before I do the portugprade (some 40 packages waiting to be updated, 50 on another server ...) Pieter \_______________ / Pieter Donche \____________________________________________ | Dept. Mathem. & Computer Science, University of Antwerp \ | http://www.win.ua.ac.be pieter(dot)donche(at)ua.ac.be | | (UA) Middelheimlaan 1, B 2020 Antwerpen, BELGIUM (EU) | | room G1.16, tel +32 03.265.3870, fax +32 03.265.3777 | |____________________________________________________________| On Sat, 28 Jul 2012, Bryan Drewery wrote: > On 7/28/2012 7:32 AM, Baptiste Daroussin wrote: >> On Sat, Jul 28, 2012 at 02:22:06PM +0200, Pieter Donche wrote: >>> No, after >>> env DISABLE_CONFLICTS=yes portupgrade -o devel/pkgconf -f devel/pkg-config >>> >>> it says nothing ... >>> and >>> # pkg_info | grep pkg-config >>> pkg-config-0.25_1 A utility to retrieve information about installed >>> libraries >>> shows it is still there >>> >>> # pkg_info | grep pkgconf >>> (no output) >>> >> > > The UPDATING entry had: > > portupgrade -o devel/pkgconf devel/pkg-config > > However, portupgrade is not automatically converting devel/pkg-config to > pkg-config-0.25_1 here since the port was deleted / MOVED. > > Using the pkgname fixes this issue. > > portupgrade -fo devel/pkgconf pkg-config-\* > > If MOVING a port, please use the above pattern (including -f) in > UPDATING entries for portupgrade. > > If just switching origins, like perl5.12->perl5.14, the origin is fine. > > I've logged this issue for later reconsideration: > https://github.com/pkgtools/pkgtools/issues/36 > > Regards, > Bryan Drewery > >