Hi, in build-aux/install-sh scriptversion=2016-01-11.22 line 327 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ ... things which are spuriously bad if $RANDOM does not exist ...
Please use something like: tmpdir=$(mktemp -d -p ${TMPDIR:-/tmp}) Note also : NetBSD /bin/sh does not have $RANDOM. I don't know how portable mktemp is. sorry. Thanks.