Re: pkg-config - pkgconf [portupgrade UPDATING entries]
-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 - ---> 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 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 [Updati
Re: pkg-config - pkgconf [portupgrade UPDATING entries]
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.bepieter(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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkg-config - pkgconf [portupgrade UPDATING entries]
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 signature.asc Description: OpenPGP digital signature