From owner-freebsd-ports@FreeBSD.ORG Mon Oct 19 04:43:27 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 35A591065676 for ; Mon, 19 Oct 2009 04:43:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id D6E288FC12 for ; Mon, 19 Oct 2009 04:43:26 +0000 (UTC) Received: (qmail 7112 invoked by uid 399); 19 Oct 2009 04:43:25 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Oct 2009 04:43:25 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4ADBEE6C.8080700@FreeBSD.org> Date: Sun, 18 Oct 2009 21:43:24 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20091019034349.GM24097@kenyonralph.com> In-Reply-To: <20091019034349.GM24097@kenyonralph.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Mon, 19 Oct 2009 04:43:27 -0000 Kenyon Ralph wrote: > I'm trying to replace perl 5.8 with perl 5.10, so I did this (as in the > 20090328 /usr/ports/UPDATING entry): > > % sudo portmaster -v -t -D -o lang/perl5.10 lang/perl5.8 > % sudo portmaster -v -D -R -m 'FORCE_PKG_REGISTER=yes' -r perl-threaded-5.10.1 > > (FORCE_PKG_REGISTER seems to be needed to keep libtool22 from erroring > and stopping the portmaster run.) I'm looking into this in more detail, but first I wonder why libtool is being built at all. Did you follow the instructions in the 20090802 UPDATING entry to replace libtool15 with libtool22? You should not need to use FORCE_PKG_REGISTER in this situation, that's a sign that there is something wrong. I also suspect that it's masking a deeper problem and is the cause of having things installed more than once in the same portmaster run (which should never happen). I'm also wondering if all your other ports are up to date (other than switching perl versions). At least on my system perl is not required by libtool so it doesn't make sense that it (or several of the other things in your log) are being built at all. 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 That number should match the number of ports that 'portmaster -l' tells you that you have. Finally I would run 'portmaster --check-depends' just to see if there is anything else strange going on. You will probably get some errors about no installed version of perl5.8 which is normal. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/