Running phase: unpackPhase unpacking source archive /nix/store/m8khddzrkrs23qza8w9kms9wkfwmsg7q-source source root is source Running phase: patchPhase applying patch /nix/store/nf4r06nvahqa67axnwrr91amb0ajgy99-makefile.patch?h=pdisk-id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9 patching file makefile applying patch /nix/store/jdrjawmvfhisbmmh9z2gxlks32fcrp4j-file_media.c.patch?h=pdisk-id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9 patching file file_media.c applying patch /nix/store/kzwvl7rykyvzm4499yp6qvcjqpqd5hf2-cvt_pt.c.patch?h=pdisk-id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9 patching file cvt_pt.c applying patch /nix/store/bjzk5q3rxhc52w69s8d16643hbvlzgpp-linux_strerror.patch?h=pdisk-id=d0c930ea8bcac008bbd0ade1811133a625caea54 patching file errors.c substituteStream() in derivation pdisk-0.9: 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: -j2 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash gcc -Wall -D__unix__ -c -o pdisk.o pdisk.c gcc -Wall -D__unix__ -c -o dump.o dump.c pdisk.c: In function 'do_rename_partition': pdisk.c:837:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 837 | strncpy(entry->data->dpme_name, name, DPISTRLEN); | ^ pdisk.c: In function 'do_change_type': pdisk.c:878:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 878 | strncpy(entry->data->dpme_type, type, DPISTRLEN); | ^ gcc -Wall -D__unix__ -c -o partition_map.o partition_map.c partition_map.c: In function 'write_partition_map': partition_map.c:317:11: warning: variable 'm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 317 | MEDIA m; | ^ gcc -Wall -D__unix__ -c -o bitfield.o bitfield.c partition_map.c: In function 'create_data': partition_map.c:755:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 755 | strncpy(data->dpme_name, name, DPISTRLEN); | ^ partition_map.c:756:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 756 | strncpy(data->dpme_type, dptype, DPISTRLEN); | ^ gcc -Wall -D__unix__ -c -o cmdline.o cmdline.c cmdline.c:36:2: warning: #import is a deprecated GCC extension [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-Wdeprecated8;;] 36 | #import "pdisk.h" | ^~~~~~ cmdline.c:37:2: warning: #import is a deprecated GCC extension [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-Wdeprecated8;;] 37 | #import "partition_map.h" | ^~~~~~ cmdline.c:38:2: warning: #import is a deprecated GCC extension [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-Wdeprecated8;;] 38 | #import "dump.h" | ^~~~~~ cmdline.c: In function 'partition_display': cmdline.c:156:9: error: implicit declaration of function 'atoi' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 156 | j = atoi(argv[1]); | ^~~~ cmdline.c: In function 'split_partition': cmdline.c:196:16: error: implicit declaration of function 'strtoul'; did you mean 'strtok'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 196 | new_size = strtoul(argv[2], NULL, 10); | ^~~~~~~ | strtok cmdline.c: In function 'do_command_line': cmdline.c:340:16: error: implicit declaration of function 'exit' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 340 | exit ((options_p->func)(devName, argc, argv)); | ^~~~ cmdline.c:39:1: note: include '' or provide a declaration of 'exit' 38 | #import "dump.h" +++ |+#include 39 | cmdline.c:340:16: warning: incompatible implicit declaration of built-in function 'exit' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 340 | exit ((options_p->func)(devName, argc, argv)); | ^~~~ cmdline.c:340:16: note: include '' or provide a declaration of 'exit' make: *** [: cmdline.o] Error 1 make: *** Waiting for unfinished jobs.... partition_map.c: In function 'create_partition_map': partition_map.c:561:13: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 561 | strncpy(data->dpme_name, kFreeName, DPISTRLEN); | ^ partition_map.c:562:13: warning: '__builtin_strncpy' specified bound 32 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 562 | strncpy(data->dpme_type, kFreeType, DPISTRLEN); | ^