From owner-freebsd-ports@FreeBSD.ORG Wed Jul 30 23:38:51 2008 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 6DAB7106566C for ; Wed, 30 Jul 2008 23:38:51 +0000 (UTC) (envelope-from fbsd06+YK=aa2a7b04@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 455F88FC0C for ; Wed, 30 Jul 2008 23:38:51 +0000 (UTC) (envelope-from fbsd06+YK=aa2a7b04@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id EAA0923E3E7 for ; Wed, 30 Jul 2008 19:38:49 -0400 (EDT) Date: Thu, 31 Jul 2008 00:38:47 +0100 From: RW To: freebsd-ports@freebsd.org Message-ID: <20080731003847.3ef71888@gumby.homeunix.com.> In-Reply-To: <20080731001156.131efece@gumby.homeunix.com.> References: <20080730085123.81542622.wmoran@collaborativefusion.com> <20080730174510.ab0871a3.wmoran@potentialtech.com> <20080730183307.925ade48.wmoran@potentialtech.com> <20080731001156.131efece@gumby.homeunix.com.> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Problems with portupgrade && xscreensaver-gnome 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: Wed, 30 Jul 2008 23:38:51 -0000 On Thu, 31 Jul 2008 00:11:56 +0100 RW wrote: > All port build tools make use of "make -V" to read vaiables. With this > warning in place, you get something like this: > > # make -V CONFLICTS > "Makefile", line 106: warning: Option KEYRING needs PAM, but PAM is > disabled. xscreensaver-[0-9]* xscreensaver-gnome-hacks-[0-9]* > > which no tool is going to be able to parse Having said that, of course the warning should go to stderr. The problem seems to be that portupgrade does a 2>&1 output = `cd #{portdir} && #{shelljoin(*cmdargs)} -V PKGNAME -V IGNORE -V NO_IGNORE 2>&1`.to_a if output.size != 3 warning_message "Makefile possibly broken: #{origin}:"