pkg-config - pkgconf [portupgrade UPDATING entries]
Bryan Drewery
bryan at shatow.net
Sat Jul 28 18:25:04 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/28/2012 9:57 AM, Pieter Donche wrote:
> 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 ?)
Yes.
>
> 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 ?
Yes, the old will be uninstalled and then replaced with devel/pkgconf
>
> I understand pkgconf is meant to replace pkg-config? right?
Yup.
>
>
> 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 ...)
Here's the output from my upgrade:
# portupgrade -fo devel/pkgconf pkg-config-\*
- ---> Session started at: Sat, 28 Jul 2012 15:52:37 +0200
===> No options to configure
[Gathering depends for devel/pkgconf .(devel/ccache) done]
** Detected a package name change: pkg-config (devel/pkgconf) ->
'pkgconf' (devel/pkgconf)
- ---> Downgrade of devel/pkgconf started at: Sat, 28 Jul 2012 15:52:38
+0200
- ---> Downgrading 'pkg-config-0.25_1' to 'pkgconf-0.8.3' (devel/pkgconf)
- ---> Build of devel/pkgconf started at: Sat, 28 Jul 2012 15:52:38 +0200
- ---> Building '/usr/ports/devel/pkgconf'
===> Cleaning for pkgconf-0.8.3
===> License BSD accepted by the user
=> pkgconf-0.8.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch
http://nenolod.net/~nenolod/distfiles/pkgconf-0.8.3.tar.bz2
pkgconf-0.8.3.tar.bz2 100% of 78 kB 298 kBps
===> Extracting for pkgconf-0.8.3
=> SHA256 Checksum OK for pkgconf-0.8.3.tar.bz2.
===> Patching for pkgconf-0.8.3
===> pkgconf-0.8.3 depends on file: /usr/local/bin/ccache - found
===> Configuring for pkgconf-0.8.3
<snip>
- ---> Build of devel/pkgconf ended at: Sat, 28 Jul 2012 15:52:42 +0200
(consumed 00:00:04)
- ---> Updating dependency info
- ---> Modifying /var/db/pkg/eaccelerator-0.9.6.1_1/+CONTENTS
- ---> Modifying /var/db/pkg/epic5-1.1.2/+CONTENTS
- ---> Modifying /var/db/pkg/freetype2-2.4.6/+CONTENTS
- ---> Modifying /var/db/pkg/gamin-0.1.10_4/+CONTENTS
- ---> Modifying /var/db/pkg/gio-fam-backend-2.28.8_1/+CONTENTS
- ---> Modifying /var/db/pkg/git-1.7.9.6/+CONTENTS
- ---> Modifying /var/db/pkg/glib-2.28.8_4/+CONTENTS
- ---> Modifying /var/db/pkg/gnutls-2.12.18/+CONTENTS
- ---> Modifying /var/db/pkg/irssi-0.8.15_3/+CONTENTS
- ---> Modifying /var/db/pkg/irssi-fish-1.00.r5/+CONTENTS
- ---> Modifying /var/db/pkg/irssi-otr-0.3_3/+CONTENTS
- ---> Modifying /var/db/pkg/irssi-scripts-20100512_1/+CONTENTS
- ---> Modifying /var/db/pkg/libffi-3.0.9/+CONTENTS
- ---> Modifying /var/db/pkg/libidn-1.22/+CONTENTS
- ---> Modifying /var/db/pkg/libotr-3.2.0_4/+CONTENTS
- ---> Modifying /var/db/pkg/libxml2-2.7.8_2/+CONTENTS
- ---> Modifying /var/db/pkg/libxslt-1.1.26_3/+CONTENTS
...
- ---> Uninstallation of pkg-config-0.25_1 started at: Sat, 28 Jul 2012
15:52:44 +0200
- ---> Fixing up dependencies before creating a package
- ---> Backing up the old version
- ---> Uninstalling the old version
- ---> Deinstalling 'pkg-config-0.25_1'
pkg_delete: package 'pkg-config-0.25_1' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
eaccelerator-0.9.6.1_1
epic5-1.1.2
freetype2-2.4.6
...
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 383 packages
found (-1 +0) (...) done]
- ---> Uninstallation of pkg-config-0.25_1 ended at: Sat, 28 Jul 2012
15:52:47 +0200 (consumed 00:00:02)
- ---> Installation of devel/pkgconf started at: Sat, 28 Jul 2012
15:52:47 +0200
- ---> Installing the new version via the port
===> Installing for pkgconf-0.8.3
===> Generating temporary packing list
mkdir -p //usr/local/bin
install -c -m755 pkgconf //usr/local/bin/pkgconf
mkdir -p //usr/local/share/aclocal
install -c -m644 pkg.m4 //usr/local/share/aclocal/pkg.m4
/bin/ln -sf /usr/local/bin/pkgconf /usr/local/bin/pkg-config
===> Registering installation for pkgconf-0.8.3
===> Cleaning for pkgconf-0.8.3
- ---> Removing temporary files and directories
- ---> Keeping old package in '/usr/ports/packages/All'
- ---> Installation of devel/pkgconf ended at: Sat, 28 Jul 2012 15:52:49
+0200 (consumed 00:00:01)
- ---> Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 384 packages
found (-0 +1) . done]
- ---> Downgrade of devel/pkgconf ended at: Sat, 28 Jul 2012 15:52:51
+0200 (consumed 00:00:12)
- ---> ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed
- ---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ devel/pkgconf (pkg-config-0.25_1 -> pkgconf-0.8.3)
- ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
- ---> Session ended at: Sat, 28 Jul 2012 15:52:52 +0200 (consumed
00:00:14)
>
> 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
>>
>>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJQFC5tAAoJEG54KsA8mwz5/nUP/RSHfkOt30zS13V5GWG2Wt5X
BbS1OGstG8Mb1HfiI1NHu/sjwoALKlRjEjV/DHyCLY6pg4OKaEXk7kvhrjgGtfbn
/No1JlujeAYBMYLQA4soJPWyW0/l2x3YAW27wVI3bfFiJAcAvqXiWCReD+v5h8bE
UxKMBp5lGGgRebER5BDMPVurTH9v/R3vSfKuxYgxOvrI0Gx1T5SQqwfHz5xA8mC4
YE2NShPri44fYajrGXnhLqL3Kj95t24xGzdw1IpobNTDYuW2Odx17KGAKgGl/lw9
Y7mPTRVhKqVe0qu8v8b6xZaRXl33xb8TWJfWtYVDYpbX7gUWmom7yuswtlfGiNUH
2wwdfd/2eeKMidkS0SdOQUBevwCYmQf1nsil861EuPkAay34WzXKNP422H0+hn+m
uuoCU7zSQjWoMdNf2GqRJm3yo4I1UDmfgQV1cpc2qG0nIDCOh6JH8D6/pfcvf2x7
RQXQGFBCRNthLDO3KtSvF914blIb7LaI/UcpCjSnshM8H6Biz0FU3nZjFDJ4zXws
Yj3KkVohwmBXc+ub4Xz/lVk4s0ubfnV6clTWpGWrDwKnTUMMNKTcuk4RyFmYNSbt
bD3cTNmPAvX5DI/1kJAsL7YKU+Zo9ZNeGl15XILgx5THfs6f/YT7eJkqaxNLSwiH
qxR0hws6FwXUQbhSrIHJ
=UbWF
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list