Running phase: unpackPhase unpacking source archive /nix/store/zgsm3id3w83g8j6mc23672mrwn515860-winhelpcgi_1.0-1.tar.gz source root is winhelpcgi-1.0 setting SOURCE_DATE_EPOCH to timestamp 1235654588 of file "winhelpcgi-1.0/debian/CVS/Entries" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./config.sub Updating Autotools / GNU config script to a newer upstream version: ./config.guess Running phase: configurePhase fixing libtool script ./ltmain.sh patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/q6iyxi76h5kwhbcbmq0g2rs8ihnnrbav-winhelpcgi-1.0-rc3 checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes /build/winhelpcgi-1.0/missing: Unknown `--run' option Try `/build/winhelpcgi-1.0/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for libwmf-config... /nix/store/lgipa7rw453mcw8rx6i01zjvb1zazzap-libwmf-0.2.13/bin/libwmf-config checking for LIBWMF - version >= 0.2.7... no *** Could not run LIBWMF test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means LIBWMF was incorrectly installed *** or that you have moved LIBWMF since it was installed. In the latter case, you *** may want to edit the libwmf-config script: /nix/store/lgipa7rw453mcw8rx6i01zjvb1zazzap-libwmf-0.2.13/bin/libwmf-config configure: WARNING: Cannot find LIBWMF: Is libwmf-config in path? - Continuing without it. checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep checking for egrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -E checking whether we are using the GNU C Library 2 or newer... yes checking for ranlib... ranlib checking for simple visibility declarations... yes checking for inline... inline checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... no checking for long long int... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for stdint.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking for an ANSI C-conforming const... yes checking for working memcmp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libhlpaccess/Makefile config.status: creating winhelpcgi/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash make all-recursive make[1]: Entering directory '/build/winhelpcgi-1.0' Making all in intl make[2]: Entering directory '/build/winhelpcgi-1.0/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/winhelpcgi-1.0/intl' Making all in po make[2]: Entering directory '/build/winhelpcgi-1.0/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/winhelpcgi-1.0/po' Making all in libhlpaccess make[2]: Entering directory '/build/winhelpcgi-1.0/libhlpaccess' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c enumcon.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c gettop.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c hlpalloc.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c istopic.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c lzcompr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c ptitle.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/linux -DCREATE_HLPACCES_DLL -DSTATICLIB -g -O2 -c enumkw.c enumkw.c: In function '_kwmapchar': enumkw.c:142:9: error: implicit declaration of function 'toupper' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 142 | c=toupper(c); | ^~~~~~~ enumkw.c:36:1: note: include '' or provide a declaration of 'toupper' 35 | #include "hlpacces.h" +++ |+#include 36 | enumkw.c: In function 'nEnumeratePage': enumkw.c:180:41: error: implicit declaration of function 'Hlpmalloc'; did you mean 'malloc'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 180 | LPSTR page = (LPSTR) Hlpmalloc(PageSize), | ^~~~~~~~~ | malloc enumkw.c:180:33: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 180 | LPSTR page = (LPSTR) Hlpmalloc(PageSize), | ^ enumkw.c:221:6: error: implicit declaration of function 'Hlpfree'; did you mean 'free'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 221 | Hlpfree(page); | ^~~~~~~ | free make[2]: *** [Makefile:303: enumkw.o] Error 1 make[2]: Leaving directory '/build/winhelpcgi-1.0/libhlpaccess' make[1]: *** [Makefile:279: all-recursive] Error 1 make[1]: Leaving directory '/build/winhelpcgi-1.0' make: *** [Makefile:216: all] Error 2