From owner-freebsd-ports@FreeBSD.ORG Tue Jul 31 14:04:44 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAB57106568B for ; Tue, 31 Jul 2012 14:04:44 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8408F8FC21; Tue, 31 Jul 2012 14:04:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6VE4iLY032854; Tue, 31 Jul 2012 14:04:44 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6VE4ijT032853; Tue, 31 Jul 2012 14:04:44 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Tue, 31 Jul 2012 14:04:41 +0000 From: Baptiste Daroussin To: Anton Shterenlikht Message-ID: <20120731140441.GK21678@ithaqua.etoilebsd.net> References: <50175733.60902@FreeBSD.org> <201207310915.q6V9FrZ9003871@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opg8F0UgoHELSI+9" Content-Disposition: inline In-Reply-To: <201207310915.q6V9FrZ9003871@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@FreeBSD.org Subject: Re: after pkg-config -> pkgconf update lots of packages show missing dependency on devel/pkg-config X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2012 14:04:44 -0000 --opg8F0UgoHELSI+9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 mi= ssing > dependency on devel/pkg-config >=20 > 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? >=20 > It certainly should have worked, yes. Are you using the latest > portmaster? >=20 > $ pkg info -xo portmaster > portmaster-3.13.13: ports-mgmt/portmaster > $ >=20 > with pkgng patch >=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. regards, Bapt --opg8F0UgoHELSI+9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAX5fkACgkQ8kTtMUmk6EwMtACfY8ZYcPsqVHZm2S+7thwHDxZ4 xy0Ani4p30bsnZqF94gREkYVY0vvvxvz =a+u0 -----END PGP SIGNATURE----- --opg8F0UgoHELSI+9--