bug-gnulib
[Top][All Lists]
Advanced

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

Re: parse-datetime.tab.h No such file or directory


From: Pádraig Brady
Subject: Re: parse-datetime.tab.h No such file or directory
Date: Mon, 19 Oct 2020 15:42:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Thunderbird/82.0

On 19/10/2020 10:27, Hogren wrote:
Hello world,

I try for the first time to compile coreutils from source (Git).

I read README-hacking, and I tried to execute :

$./bootstrap

$./configure --quiet  --enable-gcc-warnings

$make


The two first commands run successfully (without warning), but the last,
does not.


There is the output of make command :
    GEN      lib/alloca.h
    GEN      lib/arpa/inet.h
    GEN      lib/configmake.h
    GEN      lib/ctype.h
    GEN      lib/dirent.h
    GEN      lib/fcntl.h
    GEN      lib/iconv.h
    GEN      lib/inttypes.h
    GEN      lib/langinfo.h
    GEN      lib/limits.h
    GEN      lib/locale.h
    GEN      lib/math.h
    GEN      lib/netdb.h
    GEN      lib/pthread.h
    GEN      lib/sched.h
    GEN      lib/selinux/selinux.h
    GEN      lib/selinux/context.h
    GEN      lib/signal.h
    GEN      lib/stdio.h
    GEN      lib/stdlib.h
    GEN      lib/string.h
    GEN      lib/sys/ioctl.h
    GEN      lib/sys/random.h
    GEN      lib/sys/resource.h
    GEN      lib/sys/select.h
    GEN      lib/sys/socket.h
    GEN      lib/sys/stat.h
    GEN      lib/sys/time.h
    GEN      lib/sys/types.h
    GEN      lib/sys/uio.h
    GEN      lib/sys/utsname.h
    GEN      lib/sys/wait.h
    GEN      lib/termios.h
    GEN      lib/time.h
    GEN      lib/unistd.h
    GEN      lib/unistr.h
    GEN      lib/unitypes.h
    GEN      lib/uniwidth.h
    GEN      lib/wchar.h
    GEN      lib/wctype.h
    GEN      src/coreutils.h
    GEN      src/version.c
    GEN      src/version.h
make  all-recursive
make[1]: Entering directory '/home/florian/src/coreutils'
Making all in po
make[2]: Entering directory '/home/florian/src/coreutils/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/florian/src/coreutils/po'
Making all in .
make[2]: Entering directory '/home/florian/src/coreutils'
    GEN      doc/constants.texi
    CC       src/chroot.o
    CC       src/version.o
    AR       src/libver.a
    CC       lib/copy-acl.o
    CC       lib/set-acl.o
    CC       lib/acl-errno-valid.o
    CC       lib/acl-internal.o
    CC       lib/get-permissions.o
    CC       lib/set-permissions.o
    CC       lib/allocator.o
    CC       lib/areadlink.o
    CC       lib/areadlink-with-size.o
    CC       lib/areadlinkat.o
    CC       lib/argmatch.o
    CC       lib/argv-iter.o
    CC       lib/openat-proc.o
    CC       lib/backupfile.o
    CC       lib/backup-rename.o
    CC       lib/backup-find.o
    CC       lib/base32.o
    CC       lib/base64.o
    CC       lib/basename-lgpl.o
    CC       lib/binary-io.o
    CC       lib/bitrotate.o
    CC       lib/buffer-lcm.o
    CC       lib/c-ctype.o
    CC       lib/c-strcasecmp.o
    CC       lib/c-strncasecmp.o
    CC       lib/c-strtod.o
    CC       lib/c-strtold.o
    CC       lib/canon-host.o
    CC       lib/canonicalize.o
    CC       lib/careadlinkat.o
    CC       lib/chmodat.o
    CC       lib/chownat.o
    CC       lib/cl-strtod.o
    CC       lib/cl-strtold.o
    CC       lib/cloexec.o
    CC       lib/close-stream.o
    CC       lib/closein.o
    CC       lib/closeout.o
    CC       lib/count-leading-zeros.o
    CC       lib/af_alg.o
    CC       lib/md5.o
    CC       lib/sha1.o
    CC       lib/sha256.o
    CC       lib/sha512.o
    CC       lib/cycle-check.o
    CC       lib/di-set.o
    CC       lib/diacrit.o
    CC       lib/opendir-safer.o
    CC       lib/dirname.o
    CC       lib/basename.o
    CC       lib/dirname-lgpl.o
    CC       lib/stripslash.o
    CC       lib/dtoastr.o
    CC       lib/dtotimespec.o
    CC       lib/exclude.o
    CC       lib/exitfail.o
    CC       lib/fadvise.o
    CC       lib/creat-safer.o
    CC       lib/open-safer.o
    CC       lib/fd-hook.o
    CC       lib/fd-reopen.o
    CC       lib/fd-safer-flag.o
    CC       lib/dup-safer-flag.o
    CC       lib/fdutimensat.o
    CC       lib/file-has-acl.o
    CC       lib/file-set.o
    CC       lib/file-type.o
    CC       lib/filemode.o
    CC       lib/filenamecat.o
    CC       lib/filenamecat-lgpl.o
    CC       lib/filevercmp.o
    CC       lib/fopen-safer.o
    CC       lib/fprintftime.o
    CC       lib/freading.o
    CC       lib/freadseek.o
    CC       lib/freopen-safer.o
    CC       lib/ftoastr.o
    CC       lib/full-read.o
    CC       lib/full-write.o
    CC       lib/gethrxtime.o
    CC       lib/xtime.o
    CC       lib/getndelim2.o
    CC       lib/getprogname.o
    CC       lib/gettime.o
    CC       lib/getugroups.o
    CC       lib/hard-locale.o
    CC       lib/hash.o
    CC       lib/hash-pjw.o
    CC       lib/hash-triple.o
    CC       lib/hash-triple-simple.o
    CC       lib/heap.o
    CC       lib/human.o
    CC       lib/i-ring.o
    CC       lib/idcache.o
    CC       lib/ino-map.o
    CC       lib/imaxtostr.o
    CC       lib/inttostr.o
    CC       lib/offtostr.o
    CC       lib/uinttostr.o
    CC       lib/umaxtostr.o
    CC       lib/ldtoastr.o
    CC       lib/linebuffer.o
    CC       lib/localcharset.o
    CC       lib/glthread/lock.o
    CC       lib/long-options.o
    CC       lib/malloca.o
    CC       lib/math.o
    CC       lib/mbchar.o
    CC       lib/mbiter.o
    CC       lib/mbsalign.o
    CC       lib/mbscasecmp.o
    CC       lib/mbschr.o
    CC       lib/mbslen.o
    CC       lib/mbsstr.o
    CC       lib/mbswidth.o
    CC       lib/mbuiter.o
    CC       lib/memcasecmp.o
    CC       lib/memchr2.o
    CC       lib/memcmp2.o
    CC       lib/memcoll.o
    CC       lib/mgetgroups.o
    CC       lib/mkancesdirs.o
    CC       lib/dirchownmod.o
    CC       lib/mkdir-p.o
    CC       lib/modechange.o
    CC       lib/mpsort.o
    CC       lib/nproc.o
    CC       lib/nstrftime.o
    CC       lib/openat-die.o
    CC       lib/openat-safer.o
    CC       lib/opendirat.o
    CC       lib/parse-datetime.o
parse-datetime.tab.c:646:10: fatal error: parse-datetime.tab.h: No such
file or directory
compilation terminated.
make[2]: *** [Makefile:10320: lib/parse-datetime.o] Error 1
make[2]: Leaving directory '/home/florian/src/coreutils'
make[1]: *** [Makefile:12957: all-recursive] Error 1
make[1]: Leaving directory '/home/florian/src/coreutils'
make: *** [Makefile:7056: all] Error 2



I suppose there is no bug except on the chair, but I need help to find
how to repair my brain.

I don't know what information you need.

I am on Gentoo.  This is my make version :
$ make --version
GNU Make 4.2.1
Construit pour x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure
<http://gnu.org/licenses/gpl.html>
Ceci est un logiciel libre : vous êtes autorisé à le modifier et à la
redistribuer.
Il ne comporte AUCUNE GARANTIE, dans la mesure de ce que permet la loi.


And this is my uname :

$ uname -a
Linux gnugnu 4.19.97-gentoo #5 SMP Mon Feb 10 14:43:17 CET 2020 x86_64
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz GenuineIntel GNU/Linux

What version of automake and bison are you using?
I see there were some adjustments to the handling
in this area in gnulib recently in the modules/parse-datetime file.

Moving this discussion to gnulib...

thanks,
Pádraig



reply via email to

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