Hello Karl,

* Karl Berry wrote on Mon, Jan 08, 2007 at 06:30:40PM CET:
> After gnulib-tool --update, texinfo cvs fails to build:
> 
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -g -MT mbchar.o -MD -MP -MF 
> .deps/mbchar.Tpo -c -o mbchar.o mbchar.c
> In file included from mbchar.h:158,
>                  from mbchar.c:22:
> ./wctype.h:50:30: error: does/not/matter.h: No such file or directory
> make[3]: *** [mbchar.o] Error 1

I stumbled over this recently as well.  And I also think that the
warning is very unhelpful.  "should/not/be/needed.h" is marginally
better, I'd appreciate a comment in the source explaining the likely
issue(s) though.

This provides a clue:
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/8709/focus=8711>

For me (and in the case of the coreutils package), the following works
to fix the issue:
  cd $top_builddir
  make clean            # if this does not remove lib/wctype.h,
                        # then remove it manually.
  find . -name .deps | xargs rm -rf
  ./config.status       # to regenerate the depfiles
  make

> If I clean up everything by hand and start from scratch, I get the same
> problems.  Before I dig into this to the bitter end, any obvious advice?

Hmm, if wctype.h is still built then there is another bug as well.
But I cannot reproduce your issues (with CVS texinfo and gnulib) on
Debian GNU/Linux.

Cheers, and a happy New Year,
Ralf


Reply via email to