From owner-freebsd-ports@FreeBSD.ORG Tue Jun 25 12:34:41 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89FF4BCF for ; Tue, 25 Jun 2013 12:34:41 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 1E51318BF for ; Tue, 25 Jun 2013 12:34:40 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id q58so9326297wes.33 for ; Tue, 25 Jun 2013 05:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=YAbQ8Rrmdk5iurGFj47+z6mNjo+dyx1/5OKqpW+N6u0=; b=TSptJ73zBWYaZR5pEEUE+xnHpeyjTr3sCSHGkAHFtcck/zZV8Rt251D8a2OEP77KkW BpllrDBG8ySfAThTT7mYy3Gb36KQJAMq4CoH2C520PTrZDU4iDFlNMvVotrZOTQ3ZrBO r9EnSovVwcPC9H45/dsc/iL0SUsiPaHzgG+EPIjNsdTPjo/wAejkRONVzIb2vMTSTNGj zaOBkCesmNi/Gt47OpbFkvGJQpb/BtGAiVRohPq4GZc5/sFqfTJRxz6xB/7+yePWtU3d fnE7NJ73qPG8qBenMN01MPwOQ0iOpQG3Jc5s0WJI5lur8aqBiMslOPiffbh2O1D+kjcK /qtQ== X-Received: by 10.180.160.144 with SMTP id xk16mr8889445wib.62.1372163680172; Tue, 25 Jun 2013 05:34:40 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id fb2sm3868043wic.4.2013.06.25.05.34.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 05:34:39 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 25 Jun 2013 14:34:37 +0200 From: Baptiste Daroussin To: John Marino Subject: Re: make: /usr/ports/Mk/bsd.port.mk line 1638: warning: Couldn't read shell's output for if /sbin/sysctl -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi Message-ID: <20130625123436.GL75533@ithaqua.etoilebsd.net> References: <201306211442.r5LEgwV8052391@mech-cluster241.men.bris.ac.uk> <51C4691E.2030905@marino.st> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sMZCuqyhuhd4ycTi" Content-Disposition: inline In-Reply-To: <51C4691E.2030905@marino.st> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Anton Shterenlikht , mexas@bristol.ac.uk, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 12:34:41 -0000 --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 21, 2013 at 04:54:22PM +0200, John Marino wrote: > On 6/21/2013 16:42, Anton Shterenlikht wrote: > > On ia64 r252055 with ports at r321471 make issues lots of warnings > > like: > > > > # make -C /usr/ports/ fetchindex make: > > "/usr/ports/Mk/bsd.port.subdir.mk" line 101: warning: Couldn't read > > shell's output for "if /sbin/sysctl -n compat.ia32.maxvmem >/dev/null > > 2>&1; then echo YES; fi" make: "/usr/ports/Mk/bsd.port.mk" line 1638: > > warning: Couldn't read shell's output for "if /sbin/sysctl -n > > compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi" > > > > *and many more idencal ones* >=20 > That looks like bmake output. > There should be an "else" part of the conditional that returns TRUE or=20 > echo. bmake shell commands don't like null output. >=20 > The bsd.port.subdir.mk needs to be tweaked for bmake. >=20 > John Fixed as of r321735 and r321739 regards, Bapt --sMZCuqyhuhd4ycTi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHJjlwACgkQ8kTtMUmk6EyD9wCfZBnXL8WsDNL4tb15GljZvIIn p0cAn2V6zoEXrL5i88PqdsDdp1rWV7J0 =6n8V -----END PGP SIGNATURE----- --sMZCuqyhuhd4ycTi--