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

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 25 12:34:41 UTC 2013


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

Fixed as of r321735 and r321739

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130625/db038a30/attachment.sig>


More information about the freebsd-ports mailing list