Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2012 16:57:17 +0200 (CEST)
From:      Pieter Donche <Pieter.Donche@ua.ac.be>
To:        Bryan Drewery <bryan@shatow.net>
Cc:        ports@FreeBSD.org, Baptiste Daroussin <bapt@FreeBSD.org>
Subject:   Re: pkg-config - pkgconf [portupgrade UPDATING entries]
Message-ID:  <alpine.BSF.2.00.1207281638100.45842@macos.cmi.ua.ac.be>
In-Reply-To: <5013F141.3080202@shatow.net>
References:  <alpine.BSF.2.00.1207280950480.35480@macos.cmi.ua.ac.be> <20120728102139.GG48384@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1207281334290.41584@macos.cmi.ua.ac.be> <20120728114758.GB38920@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1207281351080.41760@macos.cmi.ua.ac.be> <20120728115653.GC38920@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1207281404160.42259@macos.cmi.ua.ac.be> <20120728121535.GD38920@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1207281420030.42259@macos.cmi.ua.ac.be> <20120728123210.GE38920@ithaqua.etoilebsd.net> <5013F141.3080202@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207281638100.45842>