bug-m4
[Top][All Lists]
Advanced

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

m4 1.4.14 esyscmd problems on FreeBSD


From: Johan van Selst
Subject: m4 1.4.14 esyscmd problems on FreeBSD
Date: Sun, 28 Feb 2010 23:12:06 +0100
User-agent: Mutt/1.5.19 (2009-01-14)

Greetings,

I tested the latest m4 on FreeBSD and found that with this installed, I
cannot compile Apache or PHP programs anymore. The problem seems to be
with esyscmd changes in the latest release (1.4.13 works fine).
The typical error message looks something like this (from Apache 2):

 /usr/local/bin/gm4: esyscmd subprocess failed: Invalid argument
 /usr/local/bin/gm4:configure.in:398: cannot run command `./build/config-stubs 
.': Invalid argument

For completeness I also ran 'make check' on the m4 source tree and this
came up with quite some red flags:

 Failed checks were:
   ./005.command_li:out ./006.command_li:out ./006.command_li:err 
./007.command_li:out ./007.command_li:err ./145.diversions:out 
./145.diversions:err ./191.syscmd:out ./191.syscmd:err ./192.syscmd:err 
./193.esyscmd:out ./193.esyscmd:err ./194.sysval:out ./194.sysval:err 
./195.sysval:out ./195.sysval:err ./196.mkstemp:out ./196.mkstemp:err 
./197.mkstemp:out ./197.mkstemp:err ./198.mkstemp:out ./198.mkstemp:err 
./206.using_froz:out ./206.using_froz:err
 *** Error code 1

The first few error messages are included below. The errors came up with
several versions of FreeBSD (7.x and 8.x) and several architectures.
More details are available on request. I'd appreciate pointers in getting
this to work again.


Regards,
Johan


Checking ./005.command_li
@ ../doc/m4.texinfo:968: Origin of test
./005.command_li: stdout mismatch
--- m4-tmp.22799/m4-xout        2010-02-28 23:00:25.000000000 +0100
+++ m4-tmp.22799/m4-out 2010-02-28 23:00:25.000000000 +0100
@@ -1 +1 @@
-1
+127
Checking ./006.command_li
@ ../doc/m4.texinfo:979: Origin of test
./006.command_li: stdout mismatch
--- m4-tmp.22799/m4-xout        2010-02-28 23:00:25.000000000 +0100
+++ m4-tmp.22799/m4-out 2010-02-28 23:00:25.000000000 +0100
@@ -1 +1 @@
-0
+127
@ ../doc/m4.texinfo:979: Origin of test
./006.command_li: stderr mismatch
--- m4-tmp.22799/m4-xerr        2010-02-28 23:00:25.000000000 +0100
+++ m4-tmp.22799/m4-err 2010-02-28 23:00:25.000000000 +0100
@@ -1,2 +1,5 @@
-hi
-bye
+m4: syscmd subprocess failed: Invalid argument
+m4:stdin:5: cannot run command `echo 'esyscmd(echo hi >&2 && echo err"print(bye
+)d"nl)dnl' > tmp.m4 \
+  && 'm4' tmp.m4 <&- >&- \
+  && rm tmp.m4': Invalid argument
Checking ./007.command_li
@ ../doc/m4.texinfo:997: Origin of test
./007.command_li: stdout mismatch
--- m4-tmp.22799/m4-xout        2010-02-28 23:00:26.000000000 +0100
+++ m4-tmp.22799/m4-out 2010-02-28 23:00:26.000000000 +0100
@@ -1,3 +1 @@
-hello
-world
-0
+127
@ ../doc/m4.texinfo:997: Origin of test
./007.command_li: stderr mismatch
--- m4-tmp.22799/m4-xerr        2010-02-28 23:00:26.000000000 +0100
+++ m4-tmp.22799/m4-err 2010-02-28 23:00:26.000000000 +0100
@@ -0,0 +1,2 @@
+m4: syscmd subprocess failed: Invalid argument
+m4:stdin:5: cannot run command `POSIXLY_CORRECT=1 'm4' -Dbar=hello foo 
-Dbar=world foo': Invalid argument

Attachment: pgpaYMyv0uzyw.pgp
Description: PGP signature


reply via email to

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