Paul Eggert
2017-08-21 00:08:53 UTC
The error lies in #72 in your configure.ac
Thanks for helping to debug it. configure.ac is itself OK; the problem is thatbuild-aux/git-version-gen is a shell script that uses the construct ${v#-g*} in
line 170, and Solaris 10 /bin/sh does not understand that construct.
It seems to me that the Buildbot configuration is still at fault here, because
the code in question runs before 'configure' is invoked. We do not attempt to be
portable to arbitrary development environments in the pre-configure stage of the
build, as it is reasonable to assume that developers are running recent-enough
versions of Autoconf, M4, Git, etc., and it's not necessary to run these tools
to build from distribution tarballs.
Because there is an easy fix in Gnulib I installed the attached patch. However,
in the long run if you want to continue to build on Solaris 10 I expect you will
need to fix the Buildbot procedure so that it does only './configure; make' on
Solaris 10. That is what I do, when I test on Solaris 10.