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
John Marino
freebsdml at marino.st
Fri Jun 21 14:54:32 UTC 2013
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
More information about the freebsd-ports
mailing list