Running phase: unpackPhase unpacking source archive /nix/store/8gyqqyl4v46ny4nifkysrsc1di0y3z44-suid-chroot-1.0.2.tar.bz2 source root is suid-chroot setting SOURCE_DATE_EPOCH to timestamp 1281954282 of file "suid-chroot/suid-chroot_create_env" Running phase: patchPhase substituteStream() in derivation suid-chroot-1.0.2: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'Makefile') 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 gcc suid-chroot.c -o suid-chroot suid-chroot.c: In function 'main': suid-chroot.c:29:21: error: implicit declaration of function 'strncmp' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 29 | if( strncmp(argv[1],"/home/",6) ) | ^~~~~~~ suid-chroot.c:5:1: note: include '' or provide a declaration of 'strncmp' 4 | #include +++ |+#include 5 | suid-chroot.c:29:46: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 29 | if( strncmp(argv[1],"/home/",6) ) | ^ : note: built-in 'strncmp' declared here suid-chroot.c:34:52: error: implicit declaration of function 'strlen' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 34 | if( strncmp(argv[1]+6,chr_username,strlen(chr_username)) ) | ^~~~~~ suid-chroot.c:34:52: note: include '' or provide a declaration of 'strlen' suid-chroot.c:34:52: warning: incompatible implicit declaration of built-in function 'strlen' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] suid-chroot.c:34:52: note: include '' or provide a declaration of 'strlen' make: *** [: suid-chroot] Error 1