From owner-freebsd-questions@FreeBSD.ORG Thu Oct 29 20:07:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B932A106568F for ; Thu, 29 Oct 2009 20:07:14 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 466E68FC28 for ; Thu, 29 Oct 2009 20:07:13 +0000 (UTC) Received: by ewy18 with SMTP id 18so2103242ewy.43 for ; Thu, 29 Oct 2009 13:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=LuPXyYZzEx2Q2qd2eTe21vFsHZNsftNsIwUe3ms2hOY=; b=KfYDIV44QYqdWXiins6PHp3KxJgvP7QgyJC5FbxLPf4z4rsaRQUZ1B0H3EUcOqTb1+ 2vXZ3lC4RqpAHF1B/GeovR57MOlnndu9EyuQjJv1Nim4aIbaC+chHE0H0+VfQ7WvFpDs dPqwoIavE0Y3+tKYBwQx8k3RAlXCqOw+No824= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WvLL5lUQZ6Qpxy/7QFFVIXEHcPDra7WqODk+HvdzSqadM4Uy7QT+NHgzS8jxm/tz0m 0WT+BvU6s0mgUImjm9V0LXyUfWCWyixrxAll1oth+cx9kutha6wkm95e1a+DZ59Fmdsz 3dji2Ph0bDU82jRV0v6UqtxUrgXTPAw6y4+d4= MIME-Version: 1.0 Received: by 10.216.88.136 with SMTP id a8mr212291wef.77.1256846830303; Thu, 29 Oct 2009 13:07:10 -0700 (PDT) In-Reply-To: <200910290508.n9T58XqA014030@mp.cs.niu.edu> References: <200910290508.n9T58XqA014030@mp.cs.niu.edu> Date: Thu, 29 Oct 2009 20:07:09 +0000 Message-ID: From: "b. f." To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 20:07:14 -0000 On 10/29/09, Scott Bennett wrote: > On Wed, 28 Oct 2009 09:19:08 +0000 "b. f." > wrote: >>On 10/28/09, Scott Bennett wrote: >>> On Tue, 27 Oct 2009 11:28:51 +0000 "b. f." >>> wrote: >>>>Scott Bennet wrote: >>MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus` >>_MAKE_JOBS= -j${MAKE_JOBS_NUMBER} > > I figured it must do something of the sort. The CPU is an old 3.4 GHz > P4 Prescott, so it has two logical processors, so MAKE_JOBS_NUMBER gets set > to 2. Given the handbook recommendations and my own observations, it seems > to me that the above method should actually multiply the value of > kern.smp.cpus by at least 2.5 for best performance. For CPUs on separate > cores, 3 is the recommended multiplier, but where HTT logical CPUs are > involved a multiplier somewhat lower than that is in order. On the Prescott > chips, 2.5 seems to work very well, so when I set MAKEFLAGS myself, I set > it to 5, which is 2.5 * kern.smp.scpus. > That seems a bit ambitious. In any event, It would be better to do this via the variable MAKE_JOBS_NUMBER, which was created for this purpose and can be overridden by the user, rather than by using MAKEFLAGS, which may cause all sorts of problems, among them ignoring the setting of MAKE_JOBS_UNSAFE. >> >>> I guess I will just have to add "-x gcc\*" to the >>> "portmaster -x perl\*5.8.9\* -a" runs from now on, which is now possible >>> thanks to Doug Barton's portmaster enhancement that allows multiple "-x" >>> arguments, and do lang/gcc* updates by the old-fashioned method that >>> worked >>> in this case. I'm not sure what to do if a situation arises like this >>> for >>> a port that has many dependencies that would typically be better managed >>> by >>> portmaster or portupgrade, however. >> >>You don't have to do it on the command line -- you can add the port to >>HOLD_PKGS in pkgtools.conf with portupgrade, or use a > > I haven't been using portupgrade much lately. portmaster seems to > be the recommended tool, and it's certainly a lot faster than portupgrade, portmaster is more lightweight, but has fewer features. I roll my own. > > >>/var/db/pkg/*/+IGNOREME as described in portmaster(8). It's a bit of > > Yes, but that method doesn't work for perl, and IIRC, it doesn't > work for lang/gcc?? either. The -x method does, however. > It seems to work for me with lang/perl5.10. What experience have you had that suggests that it doesn't work with these ports? b.