Running phase: unpackPhase unpacking source archive /nix/store/rqvp2vpp1zgy5y3gw6d1jcd3qdbv7fxf-otpw-1.5.tar.gz source root is otpw-1.5 setting SOURCE_DATE_EPOCH to timestamp 1407439275 of file "otpw-1.5/rmd160.h" Running phase: patchPhase substituteStream() in derivation otpw-1.5: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'otpw-gen.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 gcc -O2 -fPIC -c -o otpw-gen.o otpw-gen.c otpw-gen.c: In function 'main': otpw-gen.c:924:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 924 | fgets(password1, sizeof(password1), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ otpw-gen.c:927:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 927 | fgets(password1, sizeof(password1), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ otpw-gen.c:929:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 929 | fgets(password2, sizeof(password2), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -c -o rmd160.o rmd160.c gcc -O2 -fPIC -c -o md.o md.c gcc -O2 -fPIC -c -o otpw.o otpw.c otpw.c: In function 'rbg_seed': otpw.c:158:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 158 | read(devrandom, rbs, sizeof(rbs)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o otpw-gen otpw-gen.o rmd160.o md.o otpw.o gcc -O2 -fPIC -c -o demologin.o demologin.c demologin.c: In function 'main': demologin.c:132:25: error: implicit declaration of function 'crypt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 132 | if (!user || strcmp(crypt(password, user->pwd.pw_passwd), | ^~~~~ demologin.c:132:25: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 132 | if (!user || strcmp(crypt(password, user->pwd.pw_passwd), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from demologin.c:13: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:156:32: note: expected 'const char *' but argument is of type 'int' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ demologin.c:60:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 60 | fgets(username, sizeof(username), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ demologin.c:105:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 105 | fgets(password, sizeof(password), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: demologin.o] Error 1