|
From: | Pádraig Brady |
Subject: | bug#50085: fatal error: parse-datetime.tab.h: No such file or directory |
Date: | Tue, 17 Aug 2021 16:32:13 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 |
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 \ && makeIs 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
[Prev in Thread] | Current Thread | [Next in Thread] |