Running phase: unpackPhase unpacking source archive /nix/store/xn4d4kzyzw7xnhszgn9q2zxixjf1f246-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 CC:=\$\(CC\) PREFIX=\$\(out\) gcc -Wall -Wextra -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -c xprompt.c xprompt.c: In function 'drawitem': xprompt.c:775:47: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare8;;] 775 | x = config.indent ? prompt->promptw : dc.pad; | ^~~~~~ xprompt.c: In function 'setpromptic': xprompt.c:1306:28: warning: cast between incompatible function types from 'void (*)(struct _XIC *, char *, char *)' to 'int (*)(struct _XIC *, char *, char *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcast-function-type-Wcast-function-type8;;] 1306 | destroy.callback = (XICProc)icdestroy; | ^ xprompt.c:1332:25: warning: cast between incompatible function types from 'void (*)(struct _XIC *, char *, char *)' to 'int (*)(struct _XIC *, char *, char *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcast-function-type-Wcast-function-type8;;] 1332 | done.callback = (XICProc)preeditdone; | ^ xprompt.c:1333:25: warning: cast between incompatible function types from 'void (*)(struct _XIC *, char *, char *)' to 'int (*)(struct _XIC *, char *, char *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcast-function-type-Wcast-function-type8;;] 1333 | draw.callback = (XICProc)preeditdraw; | ^ xprompt.c:1334:26: warning: cast between incompatible function types from 'void (*)(struct _XIC *, char *, char *)' to 'int (*)(struct _XIC *, char *, char *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcast-function-type-Wcast-function-type8;;] 1334 | caret.callback = (XICProc)preeditcaret; | ^ xprompt.c: In function 'grabkeyboard': xprompt.c:1397:17: error: implicit declaration of function 'nanosleep' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1397 | nanosleep(&ts, NULL); | ^~~~~~~~~ xprompt.c: In function 'savehist': xprompt.c:2293:9: warning: ignoring return value of 'ftruncate' 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;;] 2293 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ make: *** [Makefile:14: xprompt.o] Error 1