[Top][All Lists]

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

bug#24256: new module for grep's DFA matcher

From: Jim Meyering
Subject: bug#24256: new module for grep's DFA matcher
Date: Sat, 24 Sep 2016 21:10:12 -0700

On Sat, Sep 24, 2016 at 8:53 PM, Paul Eggert <address@hidden> wrote:
> Jim Meyering wrote:
>> That is probably because you have a stray dfa.o file laying around.
>> Since that corresponds to a now-VC-removed dfa.c file, "make clean"
>> fails to remove the .o file. Just remove it manually and the test
>> should then pass.
> Right you are, thanks. Running 'make clean' fixes the problem.
> Though it exposes a new problem. 'make clean; make dist' fails when checking
> tight scope, with the following symptoms. Perhaps a missing dependency?
> space_tab
> 0.01 space_tab
> tight_scope
> make[4]: Entering directory '/home/eggert/src/gnu/grep/src'
>   CC       grep.o
> In file included from system.h:26:0,
>                  from grep.c:29:
> ../lib/binary-io.h: In function 'set_binary_mode':
> ../lib/binary-io.h:57:10: error: 'O_BINARY' undeclared (first use in this
> function)
>    return O_BINARY;
>           ^
> ../lib/binary-io.h:57:10: note: each undeclared identifier is reported only
> once for each function it appears in
> In file included from grep.c:29:0:
> system.h: At top level:
> system.h:27:24: fatal error: configmake.h: No such file or directory
> compilation terminated.
> Makefile:1344: recipe for target 'grep.o' failed
> make[4]: *** [grep.o] Error 1
> make[4]: Leaving directory '/home/eggert/src/gnu/grep/src'
> maint.mk:1578: recipe for target 'sc_tight_scope' failed
> make[3]: *** [sc_tight_scope] Error 1
> make[3]: Leaving directory '/home/eggert/src/gnu/grep'
> Makefile:1710: recipe for target 'run-syntax-check' failed
> make[2]: *** [run-syntax-check] Error 2
> make[2]: Leaving directory '/home/eggert/src/gnu/grep'
> Makefile:1386: recipe for target 'distdir' failed
> make[1]: *** [distdir] Error 2
> make[1]: Leaving directory '/home/eggert/src/gnu/grep'
> Makefile:1487: recipe for target 'dist' failed
> make: *** [dist] Error 2
> 550-day $

Sounds like it must be something fundamental. I've just confirmed that
at commit v2.25-100-gcd8082e `./bootstrap && ./configure && make &&
make distcheck` succeeds on both Fedora 24 and Debian unstable.

Did you rerun ./bootstrap?

Note that I find myself regularly running `(cd gnulib && git co master
&& git pull)` to update each package's gnulib/ subdir to the latest.
Do that before the bootstrap.

reply via email to

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