Running phase: unpackPhase unpacking source archive /nix/store/6w841qn33956v88favhl73s3f2s68ha3-source source root is source Running phase: patchPhase applying patch /nix/store/aykwyqh4r8p67x4hh9bmd34b1dlyhg9b-lua-header.patch patching file dozenal/dozcal/call_lua.c Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash prefix=\$\(out\) XFORMS_FLAGS=-UXFORMS LUALIB=-llua bindir=\$\(prefix\)/bin/ make -C doz make[1]: Entering directory '/build/source/dozenal/doz' make -C ../conv make[2]: Entering directory '/build/source/dozenal/conv' gcc -I../include -c conv.c make[2]: Leaving directory '/build/source/dozenal/conv' gcc -I../include -g -std=c99 -lm -c doz.c make -C ../dec make[2]: Entering directory '/build/source/dozenal/dec' gcc -I../include -c dec.c gcc -I../include -c main.c gcc -lm -o dec main.o ../conv/conv.o dec.o make[2]: Leaving directory '/build/source/dozenal/dec' gcc -I../include -g -lm -c main.c gcc -g -o doz main.o ../conv/conv.o doz.o ../dec/dec.o -lm make[1]: Leaving directory '/build/source/dozenal/doz' make -C dec make[1]: Entering directory '/build/source/dozenal/dec' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/source/dozenal/dec' make -C dozdc make[1]: Entering directory '/build/source/dozenal/dozdc' gcc -UXFORMS -I../include -g -c stack.c gcc -UXFORMS -I../include -g -c vars.c vars.c: In function 'newvar': vars.c:70:55: warning: writing 1 byte into a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow-Wstringop-overflow=8;;] 70 | vars[varindex].name[MAXCHARS] = '\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vars.c:42:14: note: at offset 30 into destination object 'name' of size 30 42 | char name[MAXCHARS]; /* name of the variable */ | ^~~~ gcc -UXFORMS -I../include -g -c main.c gcc -UXFORMS -I../include -g -lm -c getop.c gcc -UXFORMS -I../include -g -o dozdc main.o ../conv/conv.o \ ../doz/doz.o ../dec/dec.o getop.o stack.o ../include/stack.h \ vars.o ../include/vars.h -lm cp gdozdc.pl gdozdc make[1]: Leaving directory '/build/source/dozenal/dozdc' make -C tgmconv make[1]: Entering directory '/build/source/dozenal/tgmconv' gcc -I../include -g -c main.c gcc -I../include -g -c tgm.c gcc -I../include -g -o tgmconv main.o tgm.o ../doz/doz.o \ ../dec/dec.o ../conv/conv.o -lm make[1]: Leaving directory '/build/source/dozenal/tgmconv' make -C dozword make[1]: Entering directory '/build/source/dozenal/dozword' gcc -I../include -o dozword dozword.c ../conv/conv.o ../dec/dec.o ../doz/doz.o -lm make[1]: Leaving directory '/build/source/dozenal/dozword' make -C dozpret make[1]: Entering directory '/build/source/dozenal/dozpret' gcc -I../include -c dozpret.c ../include/conv.h ../conv/conv.c gcc -I../include -o dozpret dozpret.o conv.o make[1]: Leaving directory '/build/source/dozenal/dozpret' make -C dozdate make[1]: Entering directory '/build/source/dozenal/dozdate' gcc -I../include -g -lm -c process_date.c ../conv/conv.c gcc -I../include -g -lm -c get_symmdate.c gcc -I../include -g -lm -c main.c gcc -I../include -std=c99 -g -o dozdate main.o ../conv/conv.o \ ../doz/doz.o ../dec/dec.o process_date.o get_symmdate.o -lm make[1]: Leaving directory '/build/source/dozenal/dozdate' make -C dozstring make[1]: Entering directory '/build/source/dozenal/dozstring' gcc -I../include -g -c main.c gcc -I../include -g main.o ../conv/conv.o ../doz/doz.o \ ../dec/dec.o -o dozstring -lm make[1]: Leaving directory '/build/source/dozenal/dozstring' make -C dozcal make[1]: Entering directory '/build/source/dozenal/dozcal' gcc -I../include -g -lm -c utility.c gcc -I../include -g -lm -c tui.c julday.c utility.c ../doz/doz.c \ ../conv/conv.c ../dec/dec.c -lncurses julday.c: In function 'frac_to_secs': julday.c:104:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 104 | sprintf(buf,"%.6f",frac); | ^ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from julday.c:35: In function 'sprintf', inlined from 'frac_to_secs' at julday.c:104:2: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 318 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from julday.c:39: In function 'memmove', inlined from 'frac_to_secs' at julday.c:105:2: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:36:10: warning: '__builtin_memmove' reading 7 bytes from a region of size 6 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ julday.c: In function 'frac_to_secs': julday.c:101:14: note: at offset 2 into source object 'buf' of size 8 101 | char buf[8]; | ^~~ gcc -I../include -g -lm -c main.c ../dec/dec.c ../conv/conv.c \ -llua -lncurses gcc -I../include -g -lm -c proc_date.c utility.c ../dec/dec.c ../conv/conv.c ../doz/doz.c proc_date.c: In function 'proc_time': proc_date.c:176:26: warning: 'regexec' accessing 32 bytes in a region of size 24 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow-Wstringop-overflow=8;;] 176 | result = regexec(®one,s,4,pmatch,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc_date.c:176:26: note: referencing argument 4 of type 'regmatch_t[]' In file included from proc_date.c:37: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/regex.h:679:12: note: in a call to function 'regexec' 679 | extern int regexec (const regex_t *_Restrict_ __preg, | ^~~~~~~ proc_date.c: In function 'num_to_date': proc_date.c:249:47: warning: '%s' directive writing up to 5 bytes into a region of size between 1 and 6 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 249 | sprintf(formdoz,"%*.*s%s",padlen,padlen,padding,doznum); | ^~ ~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from proc_date.c:34: In function 'sprintf', inlined from 'num_to_date' at proc_date.c:249:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I../include -g -lm -c process_file.c utility.c ../dec/dec.c ../conv/conv.c gcc -I../include -g -lm -c moon.c ../doz/doz.c gcc -I../include -g -lm -c opt_file.c utility.c ../dec/dec.c ../conv/conv.c gcc -I../include -g -lm -c easter.c gcc -I../include -g -lm -c nat_holidays.c gcc -I../include -g -lm -lhdate -c jewish_date.c gcc -I../include -g -lm -c islamic.c gcc -I../include -g -c call_lua.c -lm -llua gcc -I../include -g -lm -c astron.c utility.c sunriset.c astron.c: In function 'suntimes': astron.c:41:9: error: implicit declaration of function '__sunriset__' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 41 | __sunriset__( year, month, day, lon, lat, -35.0/60.0, 1, rise, set ) | ^~~~~~~~~~~~ astron.c:88:18: note: in expansion of macro 'sun_rise_set' 88 | sunset = sun_rise_set(date->tm_year+1900,date->tm_mon+1,date->tm_mday, | ^~~~~~~~~~~~ make[1]: *** [Makefile:60: astron.o] Error 1 make[1]: Leaving directory '/build/source/dozenal/dozcal' make: *** [Makefile:44: dozcal] Error 2