Re: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
Date: Tue, 31 Jul 2012 16:44:11 +0100 From: Matthew Seaman On 31/07/2012 15:44, Anton Shterenlikht wrote: > One possibility is that I didn't always > apply the pkgng portmaster patch correctly. This would produce exactly the problem you've experienced. Ok, I understand it now, thanks ___ 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: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
On 31/07/2012 15:44, Anton Shterenlikht wrote: > One possibility is that I didn't always > apply the pkgng portmaster patch correctly. This would produce exactly the problem you've experienced. If you switch to pkgng and you want to use portmaster, then you've got to keep portmaster patched. That means holding off on portmaster updates for a day or so until the patch has been updated to match. You can see which version of portmaster the patch applies to -- if you look here: https://github.com/pkgng/pkgng/blob/master/ports/patch-portmaster-pkgng then the portmaster version is clearly visible in the first few lines. Updates should happen reasonably promptly; ask on #pkgng on FreeNode IRC or here if unsure. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
From b...@freebsd.org Tue Jul 31 15:36:34 2012 >=20 > And can you tgz and send me your /var/db/pkg directory? >=20 > http://seis.bris.ac.uk/~mexas/var_db_pkg.tar.xz >=20 You can't mix both pkgng and pkg_install, and looking at your /var/db/pkg, = you have mixed it for a while and you now have both the pkgng version and the pkg_install version half migrated to pkgconf and inconsistent. As I don't the the manipulation you have exactly done, and the exact state = of your system, it is hard for me to tell you how to recover. In any case this as nothing to do with portmaster. if you decide to fully go the pkgng way what I do suggest is: remove all the directories from /var/db/pkg (keeping only the local.sqlite = file) then run=20 echo "delete from deps where origin=3D'devel/pkg-config'; update deps set o= rigin=3D'devel/pkgconf', name=3D'pkgconf', version=3D'0.8.4' where origin= =3D'devel/pkg-config';" | pkg shell I tested with your database this seems to work. after that you can upgrade safely everything. Remember, do not mix pkg_install and pkgng, if you decide to go pkgng this = is a one shot migration. I'll look at this later, but.. I've *never* once used pkg_install, not even before pkgng. I switched to pkgng quite early, and since then I used exclusively pkg and portmaster, nothing else. So pkg_install must've been called by either pkg or portmaster. One possibility is that I didn't always apply the pkgng portmaster patch correctly. Thanks ___ 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: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
On Tue, Jul 31, 2012 at 10:15:53AM +0100, Anton Shterenlikht wrote: > Date: Mon, 30 Jul 2012 20:55:31 -0700 > From: Doug Barton > To: Anton Shterenlikht > CC: freebsd-ports@freebsd.org > Subject: Re: after pkg-config -> pkgconf update lots of packages show > missing > dependency on devel/pkg-config > > On 07/30/2012 14:18, Anton Shterenlikht wrote: > > I did portmaster -o devel/pkgconf devel/pkg-config > > as advised. Now doing "portmaster --check-depends" > > returns 235 ports with > > "missing dependency: devel/pkg-config". > > I thought the "-o" portmaster option is specifically > > to update the dependencies list. Am I wrong? > > Or is this not possible in this particular case? > > It certainly should have worked, yes. Are you using the latest > portmaster? > > $ pkg info -xo portmaster > portmaster-3.13.13: ports-mgmt/portmaster > $ > > with pkgng patch > > And can you tgz and send me your /var/db/pkg directory? > > http://seis.bris.ac.uk/~mexas/var_db_pkg.tar.xz > You can't mix both pkgng and pkg_install, and looking at your /var/db/pkg, you have mixed it for a while and you now have both the pkgng version and the pkg_install version half migrated to pkgconf and inconsistent. As I don't the the manipulation you have exactly done, and the exact state of your system, it is hard for me to tell you how to recover. In any case this as nothing to do with portmaster. if you decide to fully go the pkgng way what I do suggest is: remove all the directories from /var/db/pkg (keeping only the local.sqlite file) then run echo "delete from deps where origin='devel/pkg-config'; update deps set origin='devel/pkgconf', name='pkgconf', version='0.8.4' where origin='devel/pkg-config';" | pkg shell I tested with your database this seems to work. after that you can upgrade safely everything. Remember, do not mix pkg_install and pkgng, if you decide to go pkgng this is a one shot migration. regards, Bapt pgpGG5x9hh7Lo.pgp Description: PGP signature
Re: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
Date: Mon, 30 Jul 2012 20:55:31 -0700 From: Doug Barton To: Anton Shterenlikht CC: freebsd-ports@freebsd.org Subject: Re: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config On 07/30/2012 14:18, Anton Shterenlikht wrote: > I did portmaster -o devel/pkgconf devel/pkg-config > as advised. Now doing "portmaster --check-depends" > returns 235 ports with > "missing dependency: devel/pkg-config". > I thought the "-o" portmaster option is specifically > to update the dependencies list. Am I wrong? > Or is this not possible in this particular case? It certainly should have worked, yes. Are you using the latest portmaster? $ pkg info -xo portmaster portmaster-3.13.13: ports-mgmt/portmaster $ with pkgng patch And can you tgz and send me your /var/db/pkg directory? http://seis.bris.ac.uk/~mexas/var_db_pkg.tar.xz > Anyway, I presume this is a benign warning, and > none of my 235 ports need to be rebuid, right? 'portmaster -y --check-depends' is the right answer here. The run dependency on pkg-config has always been bogus, it's just that we're only now working on fixing it. Same thing: http://seis.bris.ac.uk/~mexas/depends Note there are also lots of dependencies on perl5.14, even though I did portmaster -o lang/perl5.16 lang/perl5.14 at the time (/usr/ports/UPDATING from 20120630). In case it matters, these particular outputs are from r237134 ia64. However, I get similar results on amd64 -current too. Many thanks for looking into this. Anton -- I am only one, but I am one. I cannot do everything, but I can do something. And I will not let what I cannot do interfere with what I can do. -- Edward Everett Hale, (1822 - 1909) ___ 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: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
On 07/30/2012 14:18, Anton Shterenlikht wrote: > I did portmaster -o devel/pkgconf devel/pkg-config > as advised. Now doing "portmaster --check-depends" > returns 235 ports with > "missing dependency: devel/pkg-config". > I thought the "-o" portmaster option is specifically > to update the dependencies list. Am I wrong? > Or is this not possible in this particular case? It certainly should have worked, yes. Are you using the latest portmaster? And can you tgz and send me your /var/db/pkg directory? > Anyway, I presume this is a benign warning, and > none of my 235 ports need to be rebuid, right? 'portmaster -y --check-depends' is the right answer here. The run dependency on pkg-config has always been bogus, it's just that we're only now working on fixing it. -- I am only one, but I am one. I cannot do everything, but I can do something. And I will not let what I cannot do interfere with what I can do. -- Edward Everett Hale, (1822 - 1909) ___ 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"
after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config
I did portmaster -o devel/pkgconf devel/pkg-config as advised. Now doing "portmaster --check-depends" returns 235 ports with "missing dependency: devel/pkg-config". I thought the "-o" portmaster option is specifically to update the dependencies list. Am I wrong? Or is this not possible in this particular case? Anyway, I presume this is a benign warning, and none of my 235 ports need to be rebuid, right? Thanks Anton ___ 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"