From owner-freebsd-ports@FreeBSD.ORG Tue Oct 20 06:13:26 2009 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 B80F8106566C for ; Tue, 20 Oct 2009 06:13:26 +0000 (UTC) (envelope-from kenyon@kenyonralph.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id 72BC18FC16 for ; Tue, 20 Oct 2009 06:13:26 +0000 (UTC) Received: from voodoo.kenyonralph.com ([76.176.200.148]) by cdptpa-omta03.mail.rr.com with ESMTP id <20091020061325502.DPIO12700@cdptpa-omta03.mail.rr.com> for ; Tue, 20 Oct 2009 06:13:25 +0000 Received: from voodoo.kenyonralph.com (localhost [127.0.0.1]) by voodoo.kenyonralph.com (Postfix) with ESMTP id 7F40B1828F2 for ; Mon, 19 Oct 2009 23:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kenyonralph.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=postfix; bh=b9LTDT3HkaSEZ7OMNIP1P2M3SdhGRTpjD0f9 LQDyKt8=; b=iF9FsQ5+dtLqqnbbXzNkbvFfSWJ3QfNbWGg5x4EXgrmQf2xop7XF 4jnTwgVpMay4/FP2nxvO6dlNIkvx123qc66pUt5XQO4bWyXeZyw9a4pcecHOo839 ITl41XR2z8GutyLO+n8/ZUuEV3f2bj2K6T4Ch3QDpTRIG7KmvKf+VTA= Received: by voodoo.kenyonralph.com (Postfix, from userid 1000) id 5DB1D182E97; Mon, 19 Oct 2009 23:13:20 -0700 (PDT) Date: Mon, 19 Oct 2009 23:13:20 -0700 From: Kenyon Ralph To: freebsd-ports@freebsd.org Message-ID: <20091020061320.GA5066@kenyonralph.com> Mail-Followup-To: freebsd-ports@freebsd.org References: <20091019034349.GM24097@kenyonralph.com> <4ADBEE6C.8080700@FreeBSD.org> <20091019053059.GN24097@kenyonralph.com> <4ADC0179.3040507@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <4ADC0179.3040507@FreeBSD.org> X-Operating-System: Ubuntu 9.04 Linux 2.6.28-15-generic on i686 User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: portmaster: grep: Argument list too long 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, 20 Oct 2009 06:13:26 -0000 --/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 wrote: > Kenyon Ralph wrote: > > On 2009-10-18T21:43:24-0700, Doug Barton 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--