On 06/02/16 22:45, Christian Weisgerber wrote:
> I'll just throw this out for the collective memory:
> 
> Regenerating regression tests with autom4te from autoconf-2.69 is buggy.
> I did this with the testsuite included in GNU tar 1.29.  Commands with a
> leading parenthesis...
> 
> onetop05.at:(mkdir d1
> remfiles01.at:(tar -c -f a -z --remove-files b c 2>err || (exit 2) ) 
> 2>/dev/null
> sigpipe.at:(tar tf archive 2>&3 | :) 3>&2 2>/dev/null
> 
> ... were mis-expanded, i.e., there was an extra parenthesis in the
> generated shell code that caused syntax errors.
> 
> A workaround for this is to use GNU m4: Install devel/m4 and put
> M4=${LOCALBASE}/bin/gm4 into the environment when calling autom4te.
> 

Did you try the modified version of m4?

I've been using this modified version rather than GNU m4. Plus a couple of 
patches 
to the m4 scripts. Rather than switch bison and other ports using bison to gm4.

Did add __gnu__ which removes one of the patches.

I seem to still have 1.28 of gtar

Had a look and between gtar 1.28 / 1.29 those extras are added in the source 
provided, so matches upstream source.

onetop05.at doesn't exist in gtar 1.28

The original input file tests/onetop05.at contains (mkdir d1
the only time ( would be removed if it was a m4 macro parameter list, or had 
been 
set as a quote.

Updated to 1.29 and tried on amd64 (had to change tar.texi). Had installed 
autoconf-2.69p1 package first (only autoconf version installed).

>From make test gnu m4 not installed.

Star tests

199: gtarfail                                        skipped (gtarfail.at:27)
200: gtarfail2                                       skipped (gtarfail2.at:27)
201: multi-fail                                      skipped (multi-fail.at:27)
202: ustar-big-2g                                    skipped 
(ustar-big-2g.at:27)
203: ustar-big-8g                                    skipped 
(ustar-big-8g.at:27)
204: pax-big-10g                                     skipped (pax-big-10g.at:27)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 180 tests were run,
2 failed unexpectedly.
24 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##


Not enough space, so disk full on one sparse file test.

Running dpb build, so extras are installed like bash.

The W^X haven't got that far yet, have no /usr/local need to re-arrange disks.

>From what I see it works or I don't see what your seeing.

I can once finished build, switch to the old m4 your using and see what happens.




Reply via email to