On Tue, 23 Mar 2010, Johan van Selst wrote:

> This bison release does not work on FreeBSD 8-STABLE or FreeBSD 9
> (development). Spawning processes is broken in the same way as happened
> in the latest GNU m4 release. And apparently results from the same bug
> in gnulib (that was fixed on 2 March).
> 
> This bison release is likely unusable on all non-Linux systems that
> define their own posix_spawn() function and defines. The bug does not
> affect systems that use the gnulib replacement function.

Thanks for the report.

I pushed the following patch to branch-2.4.3 and something similar to 
branch-2.5 and master.

Would you please check that the problem is fixed?  Either I can roll a 
test release tarball for you to try, or you can checkout branch-2.4.3 from 
our git repo at git://git.sv.gnu.org/bison.git and then bootstrap.  
Either way, you'd then run the usual ./configure, make, and make check. 
Let me know what is easiest for you.  Thanks.

>From 311b2e56eaad952fc7908336e3aeb019dd8bf1ee Mon Sep 17 00:00:00 2001
From: Joel E. Denny <[email protected]>
Date: Tue, 23 Mar 2010 11:07:46 -0400
Subject: [PATCH] portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.

Reported by Johan van Selst at
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00014.html>.
* NEWS (2.4.3): New.
* THANKS (Johan van Selst): Add.
* gnulib: Update to latest.
---
 ChangeLog            |    9 +++++++++
 NEWS                 |    5 +++++
 THANKS               |    1 +
 build-aux/.cvsignore |    1 +
 build-aux/.gitignore |    1 +
 gnulib               |    2 +-
 m4/.cvsignore        |    2 ++
 m4/.gitignore        |    2 ++
 8 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a61057b..6476786 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-03-23  Joel E. Denny  <[email protected]>
+
+       portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.
+       Reported by Johan van Selst at
+       <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00014.html>.
+       * NEWS (2.4.3): New.
+       * THANKS (Johan van Selst): Add.
+       * gnulib: Update to latest.
+
 2010-03-20  Joel E. Denny  <[email protected]>
 
        maint: update for changes to gnulib's announce-gen.
diff --git a/NEWS b/NEWS
index 63f8cde..31d7c79 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 Bison News
 ----------
 
+* Changes in version 2.4.3 (????-??-??):
+
+** Problems with spawning M4 on at least FreeBSD 8 and FreeBSD 9 have
+   been fixed.
+
 * Changes in version 2.4.2 (2010-03-20):
 
 ** Some portability problems that resulted in failures and livelocks
diff --git a/THANKS b/THANKS
index 41b08c9..6a28713 100644
--- a/THANKS
+++ b/THANKS
@@ -47,6 +47,7 @@ Jesse Thilo               [email protected]
 Jim Kent                  [email protected]
 Jim Meyering              [email protected]
 Joel E. Denny             [email protected]
+Johan van Selst           [email protected]
 Jonathan Nieder           [email protected]
 Juan Manuel Guerrero      [email protected]
 Kees Zeelenberg           [email protected]
diff --git a/gnulib b/gnulib
index 9d0ad65..7bacd33 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 9d0ad652de159d08e5f679842f8a2a5658196361
+Subproject commit 7bacd338464a463f3ba0c14effd86b71ce3672b4


Reply via email to