Date: Fri, 21 Jun 2013 16:54:22 +0200 From: John Marino <freebsdml@marino.st> To: mexas@bristol.ac.uk Cc: Anton Shterenlikht <mexas@bris.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: <51C4691E.2030905@marino.st> In-Reply-To: <201306211442.r5LEgwV8052391@mech-cluster241.men.bris.ac.uk> References: <201306211442.r5LEgwV8052391@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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* That looks like bmake output. There should be an "else" part of the conditional that returns TRUE or echo. bmake shell commands don't like null output. The bsd.port.subdir.mk needs to be tweaked for bmake. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C4691E.2030905>