Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 13:32:07 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Ben Laurie <ben@links.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkgng seems to be out of date?
Message-ID:  <20130625113206.GH75533@ithaqua.etoilebsd.net>
In-Reply-To: <CAG5KPzz9Mm7SkA0fRZgEvFayBd1eLcsbbuX=LaTNqcndgmsrAQ@mail.gmail.com>
References:  <CAG5KPzxgdk4fVLHTLGmwvWxrUGStCM-YmNwsoWsRrjvpL%2B1zVg@mail.gmail.com> <CAG5KPzy4Jtvne-NA1ScsQchoOjf63qd=j2kaXmreUcjUKsAvEA@mail.gmail.com> <20130625103152.GF75533@ithaqua.etoilebsd.net> <CAG5KPzzkx8QvoF8%2BtvFrb6oUXLVM7OJN9itg74W08b6htLFN8Q@mail.gmail.com> <20130625104028.GG75533@ithaqua.etoilebsd.net> <CAG5KPzz9Mm7SkA0fRZgEvFayBd1eLcsbbuX=LaTNqcndgmsrAQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--rCwQ2Y43eQY6RBgR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 25, 2013 at 11:56:46AM +0100, Ben Laurie wrote:
> On 25 June 2013 11:40, Baptiste Daroussin <bapt@freebsd.org> wrote:
> > On Tue, Jun 25, 2013 at 11:36:07AM +0100, Ben Laurie wrote:
> >> On 25 June 2013 11:31, Baptiste Daroussin <bapt@freebsd.org> wrote:
> >> > On Tue, Jun 25, 2013 at 10:36:14AM +0100, Ben Laurie wrote:
> >> >> ping?
> >> >>
> >> >> On 22 June 2013 18:46, Ben Laurie <ben@links.org> 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 fixed u=
ntil 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, pkg =
does not,
> >> > but because the ports tree still need to be compatible with pkg_inst=
all and
> >> > lots of people are still using all habits from the pkg_install time,=
 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 ports=
 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 in=
stalled
> > so getting to the default tcl for its dependency which is tcl86.
>=20
> 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 20130206 o=
f UPDATING.

pkg only registers dependencies it is being told to register by the ports
tree/portmaster.
>=20
> 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
> Is there any way for pkg to check the integrity of its database?
>=20

pkg check -d will do, but imho will find nothing.

regards,
Bapt

--rCwQ2Y43eQY6RBgR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlHJf7YACgkQ8kTtMUmk6EzSDQCeJv6PUe78a5+v61w587blsZV3
icYAnjTY82YBvTLcHA85ulPTUkRNK463
=sB96
-----END PGP SIGNATURE-----

--rCwQ2Y43eQY6RBgR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130625113206.GH75533>