bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Grep-devel] buildbot failure in OpenCSW Buildbot on ggrep-solaris10


From: Paul Eggert
Subject: Re: [Grep-devel] buildbot failure in OpenCSW Buildbot on ggrep-solaris10-sparc
Date: Sun, 20 Aug 2017 17:08:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Dagobert Michelsen wrote:
The error lies in #72 in your configure.ac

Thanks for helping to debug it. configure.ac is itself OK; the problem is that build-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.

Attachment: 0001-git-version-gen-port-to-Solaris-10.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]