poke-devel
[Top][All Lists]
Advanced

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

Fix a hanging build with non-GNU make


From: Bruno Haible
Subject: Fix a hanging build with non-GNU make
Date: Sun, 21 Feb 2021 23:11:09 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-201-generic; KDE/5.18.0; x86_64; ; )

On Solaris, with Solaris 'make', the build hangs here:

Making all in doc
/opt/csw/bin/gsed -n -e 's/^\* \([^:]*\)::.*/\1/p'  | /opt/csw/bin/gsed -e 's| 
|/|g' \
          > nodelist

Of course, a 'gsed' invocation with no file arguments reads from stdin and
thus hangs. The problem is the use of '$<', which is only allowed in
suffix rules (called "inference rules" in POSIX), per
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html>.

See also the Autoconf manual
<https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/_0024_003c-in-Ordinary-Make-Rules.html>

Here is a proposed fix.



Attachment: 0001-Fix-a-hanging-build-with-non-GNU-make.patch
Description: Text Data


reply via email to

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