From owner-freebsd-ports@FreeBSD.ORG Tue Jun 25 11:57:15 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D9264991 for ; Tue, 25 Jun 2013 11:57:15 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB29168F for ; Tue, 25 Jun 2013 11:57:15 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id t56so8943374wes.7 for ; Tue, 25 Jun 2013 04:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=gf6hMfyTp1IW5S1Kg+Dii1T9/EDrh4wbSmORbkYpZNk=; b=pcjiqqc3wPYvx8PfIM1A7w41zOEhz8FOXZd++CcA3HelnlmIRum7QyQmJpIqQOBbrc C6qMB+UIslbvoz1zdWe5xXqwwDicIS4JpKd+mRpxqZ9I03vpUoBodZZRI+7DUBNJsApb ZIVZ+yksl+lh2vNJ2MTuBmdVNkc8nvymqoJBCtnH+K12HcNGTVVhcI7mMdZEOtbkxNhl BbC1QN4Rwa9YbcdF9CXcs+FV3DkTafxFdiWx5Q3i+keLTBgAUHLytf4YRy4BBun0z+vH tvNP7UIEb7yjRgqtmAEV+vKMgKCOyvjV0s59rd8ux7yvTv50r/W6wzvnJbYdc2RKCxyV XBmQ== X-Received: by 10.180.126.10 with SMTP id mu10mr8807131wib.64.1372161434571; Tue, 25 Jun 2013 04:57:14 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id fv11sm3593941wic.11.2013.06.25.04.57.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 04:57:13 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 25 Jun 2013 13:57:11 +0200 From: Baptiste Daroussin To: Ben Laurie Subject: Re: pkgng seems to be out of date? Message-ID: <20130625115711.GJ75533@ithaqua.etoilebsd.net> References: <20130625103152.GF75533@ithaqua.etoilebsd.net> <20130625104028.GG75533@ithaqua.etoilebsd.net> <20130625113206.GH75533@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRtZRu2mMGBZ6YQ7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 11:57:15 -0000 --wRtZRu2mMGBZ6YQ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2013 at 12:53:42PM +0100, Ben Laurie wrote: > On 25 June 2013 12:32, Baptiste Daroussin wrote: > > On Tue, Jun 25, 2013 at 11:56:46AM +0100, Ben Laurie wrote: > >> On 25 June 2013 11:40, Baptiste Daroussin wrote: > >> > On Tue, Jun 25, 2013 at 11:36:07AM +0100, Ben Laurie wrote: > >> >> On 25 June 2013 11:31, Baptiste Daroussin wrote: > >> >> > On Tue, Jun 25, 2013 at 10:36:14AM +0100, Ben Laurie wrote: > >> >> >> ping? > >> >> >> > >> >> >> On 22 June 2013 18:46, Ben Laurie wrote: > >> >> >> > $ pwd > >> >> >> > /usr/ports/textproc/xml2rfc > >> >> >> > $ make build-depends-list > >> >> >> > /usr/ports/ports-mgmt/pkg > >> >> >> > $ make run-depends-list > >> >> >> > /usr/ports/lang/tcl86 > >> >> >> > /usr/ports/x11-toolkits/tk86 > >> >> >> > > >> >> >> > But... > >> >> >> > > >> >> >> > $ pkg query '%n: %do' xml2rfc > >> >> >> > xml2rfc: textproc/expat2 > >> >> >> > xml2rfc: x11-fonts/fontconfig > >> >> >> > xml2rfc: print/freetype2 > >> >> >> > xml2rfc: x11/kbproto > >> >> >> > xml2rfc: x11/libX11 > >> >> >> > xml2rfc: x11/libXau > >> >> >> > xml2rfc: x11/libXdmcp > >> >> >> > xml2rfc: x11-fonts/libXft > >> >> >> > xml2rfc: x11/libXrender > >> >> >> > xml2rfc: devel/libpthread-stubs > >> >> >> > xml2rfc: x11/libxcb > >> >> >> > xml2rfc: devel/pkgconf > >> >> >> > xml2rfc: x11/renderproto > >> >> >> > xml2rfc: lang/tcl-modules > >> >> >> > xml2rfc: lang/tcl85 > >> >> >> > xml2rfc: x11-toolkits/tk85 > >> >> >> > xml2rfc: x11/xproto > >> >> >> > > >> >> >> > > >> >> >> > a) Why so many more dependencies, and... > >> >> >> > > >> >> >> > b) Why different versions of tcl/tk? > >> >> >> > > >> >> >> > And ... how do I fix it? > >> >> >> > > >> >> >> > BTW, I use portmaster to maintain my installed ports... > >> >> > > >> >> > That is how the ports tree works for eons, and that can't be fixe= d until we can > >> >> > totally get rid if pkg_install (to many corner egdes) pkg_install= to work > >> >> > properly needs to track fully direct and indirect dependencies, p= kg does not, > >> >> > but because the ports tree still need to be compatible with pkg_i= nstall and > >> >> > lots of people are still using all habits from the pkg_install ti= me, it is very > >> >> > hard to remove this right now.) > >> >> > > >> >> > But yes for sure this "feature" will get removed :)) > >> >> > >> >> So are you saying that pkg includes indirect dependencies, while po= rts do not? > >> >> > >> > Yes > >> >> But that doesn't explain why pkg says tcl85 and ports says tcl86.... > >> > > >> > That is probably a bug of run-depends not discovering you have tcl85= installed > >> > so getting to the default tcl for its dependency which is tcl86. > >> > >> I actually have both installed, so I think the bug is in pkg. I'd like > >> to remove ports I don't need but pkg won't let me remove tcl85, which > >> I think I don't really need... > > > > I think is it a bug in portmaster and/or not having fully follow 201302= 06 of UPDATING. > > > > pkg only registers dependencies it is being told to register by the por= ts > > tree/portmaster. > >> > >> How can I force pkg to rebuild its dependencies? Is it even possible? > > > > portmaster -af should do it probably (I'm not a portmaster user) >=20 > I just did a portmaster -a, that's how I got into this situation... >=20 > What port management tool _does_ work with pkg? both portmaster and portupgrade, I'm sure what you hit is the UPDATING that= has not been followed, there is a decicated part for tcl. >=20 > >> Is there any way for pkg to check the integrity of its database? > >> > > > > pkg check -d will do, but imho will find nothing. >=20 > # pkg check -d > x11-toolkits/py-wxPython28-common has a missing dependency: lang/tcl-modu= les > x11-toolkits/py-wxPython28-unicode has a missing dependency: lang/tcl-mod= ules > textproc/xml2rfc has a missing dependency: lang/tcl-modules That proves you haven't followed the 20130206 entry. regards, Bapt --wRtZRu2mMGBZ6YQ7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHJhZcACgkQ8kTtMUmk6EwbRgCeNv63cuq1SDRiKfDtbg6BaC4u tMAAniFM2oadTeXGGazRUmjs90oq5WrD =jaDO -----END PGP SIGNATURE----- --wRtZRu2mMGBZ6YQ7--