Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2009 23:13:20 -0700
From:      Kenyon Ralph <kenyon@kenyonralph.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: portmaster: grep: Argument list too long
Message-ID:  <20091020061320.GA5066@kenyonralph.com>
In-Reply-To: <4ADC0179.3040507@FreeBSD.org>
References:  <20091019034349.GM24097@kenyonralph.com> <4ADBEE6C.8080700@FreeBSD.org> <20091019053059.GN24097@kenyonralph.com> <4ADC0179.3040507@FreeBSD.org>

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

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

On 2009-10-18T23:04:41-0700, Doug Barton <dougb@FreeBSD.org> wrote:
> Kenyon Ralph wrote:
> > On 2009-10-18T21:43:24-0700, Doug Barton <dougb@FreeBSD.org> wrote:
> >> I'm also concerned that there is something wrong with your /var/db/pkg
> >> directory, since grep can handle an argument list of many thousands of
> >> items without any problems. Can you do this and let me know what it
> >> says: ls -d /var/db/pkg/* | wc -l
> >=20
> > After doing portmaster --check-depends which did a few +REQUIRED_BY
> > updates:
> >=20
> > % pkg_info | wc -l
> >      845
> >=20
> > % ls -d /var/db/pkg/* | wc -l
> >      846
> >=20
> > That is one more than portmaster -l:
> > =3D=3D=3D>>> 845 total installed ports
>=20
> Ok, can you please figure out what the extra entry is?

The extra entry is just /var/db/pkg/pkgdb.db, so I presume that's not a
problem.

> > I also ran portmaster --check-port-dbdir, deleted the directories that
> > did not seem to be installed, and noticed that x11/kde4 and kdeutils4
> > were not installed (even though the rest of kde4 seems to be installed).
> > So I'm doing portmaster -v -t -D -R x11/kde4 right now, which is
> > building several ports. I'll try resuming -r perl-threaded-5.10.1 after
> > this.
>=20
> Ok, when you get back to the perl upgrade please apply the attached
> patch first. It is going to cause a lot of console output so you're
> probably better off starting script first to capture it.

The patch had some problems with quoting and echoing from functions
where there shouldn't have been any echoes, so the debug lines were
being put into pkgdep entries and weird stuff like that.

Anyway, without the debug patch, I tried the -r perl-threaded-5.10.1
again, and everything finished cleanly this time (I think this was at
least the fifth time I started the process though). I guess it was
running --check-depends that fixed it.

Thanks,
Kenyon Ralph

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrdVPsACgkQmFtUtJKnbnVE7ACfVJlJxGttUIadtO92Gun+Ltfb
QIUAoJITPesMSNhZUcWwEHS1c3KGoKyW
=fCVO
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--



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