From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 02:51:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 62C35D15 for ; Sun, 10 Feb 2013 02:51:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ie0-x22a.google.com (ie-in-x022a.1e100.net [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 12E183FC for ; Sun, 10 Feb 2013 02:51:33 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so6577568ieb.15 for ; Sat, 09 Feb 2013 18:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=KJusQub/HKexDLoDaSYdwsBVQLpYUV/XACuojHA38rg=; b=ABQZp/ck1E63Gep+sUselJcJRCSZv/CCqifCkXcAuQIj5/brGVt1f/SmSV80YsqWHp ZTvJcVByZL0SdbdirqrSLVicMUs/WKliugpN9ZtlqZvNBNibcuU9Kx/IZb8MCmFa5adg jQqZyaezBdE0fuXzYtTiJO5ED4uXDmI9KvxYE6DEeQs2t1Z1k/EjTEymXk617tgsUEK9 A6jXq1bkeLnO9tYiEMnXnqtxBtS2Ub+xciIBMk/c3S6KJZqGXdIzxV4uw0DJuqQDJ0wu LbW4Q/yNbqzjfFNAnr/MvHDPJ1yCzPXb1dy4DzdAFaETKD0S2vbXb/fJRqlSTueNnmLY sh1Q== MIME-Version: 1.0 X-Received: by 10.42.94.8 with SMTP id z8mr14401653icm.36.1360464691293; Sat, 09 Feb 2013 18:51:31 -0800 (PST) Received: by 10.64.5.70 with HTTP; Sat, 9 Feb 2013 18:51:31 -0800 (PST) In-Reply-To: <201302091045.00860.jmc-freebsd2@milibyte.co.uk> References: <201302091045.00860.jmc-freebsd2@milibyte.co.uk> Date: Sat, 9 Feb 2013 21:51:31 -0500 Message-ID: Subject: Re: Portmaster runs make config three times for some ports From: "illoai@gmail.com" To: Mike Clarke Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 02:51:33 -0000 On 9 February 2013 05:45, Mike Clarke wrote: > > I started off portmaster on a massive update on Thursday evening. Everything > started off OK and I kept responding to all the make config screens until they > were all finished and the compilation was well underway then went to bed and > left it to get on with it. > > The next morning I discovered that things had progressed as far as starting to > build en-apache-openoffice but it was sitting there with the config screen > again despite having already gone through make config earlier. I clicked on OK > and left it to get on with the compilation while I went away to get on with > other things with just occasional checks to make sure it was still running. > About 6 hours later when I checked it had completed the compilation and had > started to install en-apache-openoffice but was waiting yet again with the > config screen. > > Once again I clicked on OK and left things to continue. The job was still > running last night and I expected to find it completed by this morning but on > checking at 9:30 this morning I discovered that it had done the same thing > with py27-gobject and had been sitting there with the config screen since > shortly after midnight. > > Both openoffice and py27-gobject had gone through make config in the initial > stage (I've checked the log file) but for some reason make config was repeated > immediately before the compile and install stages. > > I invoked portmaster with: > > portmaster -r libffi -r boost-libs -r gnutls -r libtasn1 > > and these are the only options set in /usr/local/etc/portmaster.rc > > # Never search for stale distfiles to delete (-D) > DONT_SCRUB_DISTFILES=Dopt > # > # Do not prompt the user for failed backup package creation > PM_IGNORE_FAILED_BACKUP_PACKAGE=pm_ignore_failed_backup_package > > Any ideas how I can avoid this happening. > It's slow & painful, but run through once with -n, to set all of your config options, & then run it again with BATCH=YES set (though I don't know if it would be best to edit /etc/make.conf, set it in the environment, or pass it with -m) to avoid it asking again. -- --