Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 14:34:37 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        John Marino <freebsdml@marino.st>
Cc:        Anton Shterenlikht <mexas@bris.ac.uk>, mexas@bristol.ac.uk, freebsd-ports@freebsd.org
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>
In-Reply-To: <51C4691E.2030905@marino.st>
References:  <201306211442.r5LEgwV8052391@mech-cluster241.men.bris.ac.uk> <51C4691E.2030905@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130625123436.GL75533>