Running phase: unpackPhase unpacking source archive /nix/store/z0kswxp268nx9fk4lg28pl6imxnswkw1-source source root is source Running phase: patchPhase 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 DEBUG=0 STATIC=0 gcc -Wall -Werror -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=6 -O2 -DNDEBUG -c -o cmos_rw.o cmos_rw.c gcc -Wall -Werror -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=6 -O2 -DNDEBUG -c -o commands.o commands.c commands.c: In function 'make_command_links': commands.c:153:49: error: '__builtin___snprintf_chk' output may be truncated before the last format character [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Werror=format-truncation=8;;] 153 | snprintf(link_name, FILENAME_MAX, "%s/%s", path_to_bin, cmd->name); | ^ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from commands.c:19: In function 'snprintf', inlined from 'build_symlink_name' at commands.c:153:2, inlined from 'make_command_links' at commands.c:173:16: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ commands.c: In function 'clean_command_links': commands.c:153:49: error: '__builtin___snprintf_chk' output may be truncated before the last format character [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Werror=format-truncation=8;;] 153 | snprintf(link_name, FILENAME_MAX, "%s/%s", path_to_bin, cmd->name); | ^ In function 'snprintf', inlined from 'build_symlink_name' at commands.c:153:2, inlined from 'clean_command_links' at commands.c:204:16: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [: commands.o] Error 1