Subject: bug#71388: Makefile is missing a dependency between gzip and stdckdint.h

From: Daniel King <[email-masked]>
Date: Wed, 5 Jun 2024 17:52:14 -0400

Hello,

I am attempting to compile gzip but receive a failure about a header
file recently added to C23:

    # make gzip
      CC       bits.o
      CC       deflate.o
      CC       gzip.o
    In file included from gzip.c:77:
    ./lib/stat-time.h:30:10: fatal error: 'stdckdint.h' file not found
    #include <stdckdint.h>
             ^~~~~~~~~~~~~
    1 error generated.
    make: *** [gzip.o] Error 1

It seems that the default target converts lib/stdckdint.h.in into
lib/stdckdint.h. A minor
annoyance, of course, but I spent a good ten minutes scratching my
head before it occurred to me to
try make'ing everything.

Best,
Dan

As requested:

- The complete output of "gzip -V" (or the contents of revision.h
(base) # ./gzip -V
gzip 1.13.17-d153-dirty
Copyright (C) 2024 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.

- The hardware and operating system (try "uname -a")
Darwin Daniels-MBP.verizon.net 23.1.0 Darwin Kernel Version 23.1.0:
Mon Oct  9 21:28:12 PDT 2023;
root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 arm64

- The compiler used to compile (if it is gcc, use "gcc -v")
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

- A description of the bug behavior
See above.

- The input to gzip, that triggered the bug
N/A.