GNU bug report logs - #50085
fatal error: parse-datetime.tab.h: No such file or directory

Previous Next

Package: coreutils;

Reported by: softwarebugreports <softwarebugreports <at> protonmail.com>

Date: Tue, 17 Aug 2021 02:35:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 50085 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: softwarebugreports <softwarebugreports <at> protonmail.com>,
 50085 <at> debbugs.gnu.org
Subject: Re: bug#50085: fatal error: parse-datetime.tab.h: No such file or
 directory
Date: Tue, 17 Aug 2021 16:32:13 +0100
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.