GNU bug report logs -
#50085
fatal error: parse-datetime.tab.h: No such file or directory
Previous Next
Full log
View this message in rfc822 format
On 17/08/2021 16:16, Pádraig Brady wrote:
> On 17/08/2021 02:32, softwarebugreports via GNU coreutils Bug Reports wrote:
>> I receive the following error when using make with coreutils in a alpine based docker container:
>>
>>> #10 304.5 parse-datetime.tab.c:658:10: fatal error: parse-datetime.tab.h: No such file or directory
>>> RUN git clone --branch v8.32 --single-branch https://git.savannah.gnu.org/git/coreutils.git \
>>> && cd coreutils \
>>> && export FORCE_UNSAFE_CONFIGURE=1 \
>>> && ./bootstrap \
>>> && ./configure \
>>> --disable-gcc-warnings \
>>> --disable-nls \
>>> --enable-install-program=hostname \
>>> --enable-single-binary=symlinks \
>>> --without-gmp \
>>> && make
>>
>> Is there something I can try to correct this error?
>
> Seems this is related bison >= 3.7 which Bruno fixed in:
> https://lists.gnu.org/archive/html/bug-gnulib/2020-07/msg00178.html
>
> That would have to be integrated as a patch against your coreutils sources.
Actually there were a few more fixes in that file,
so it's best base adjustments off this version:
https://github.com/coreutils/gnulib/blob/8002ca7b/modules/parse-datetime
cheers,
Pádraig
This bug report was last modified 3 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.