elastic-arm-0f89b4f7: building p13v763wg6y0z46j3nilgr6bv1b15fxc-pk2cmd-1.20.drv Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/fpjq6i7zx9jl3hwv6d5nvxgci2vhilwd-pk2cmdv1.20LinuxMacSource.tar.gz source root is pk2cmdv1.20LinuxMacSource setting SOURCE_DATE_EPOCH to timestamp 1231549474 of file pk2cmdv1.20LinuxMacSource/Readme Running phase: patchPhase patching sources Running phase: updateAutotoolsGnuConfigScriptsPhase updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configuring no configure script, doing nothing Running phase: buildPhase building build flags: SHELL=/nix/store/m45cjiwspshg01wrk2pln2qndasky23r-bash-5.1-p16/bin/bash LIBUSB=/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev linux make TARGET=linux make[1]: Entering directory '/build/pk2cmdv1.20LinuxMacSource' g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o cmd_app.o -c cmd_app.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o DeviceData.o -c DeviceData.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o DeviceFile.o -c DeviceFile.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o ImportExportHex.o -c ImportExportHex.cpp ImportExportHex.cpp: In member function 'unsigned char CImportExportHex::ImportHexFile(char*, CPICkitFunctions*)': ImportExportHex.cpp:45:14: warning: variable 'configRead' set but not used [-Wunused-but-set-variable] 45 | bool configRead = false; | ^~~~~~~~~~ ImportExportHex.cpp:47:14: warning: variable 'fileExceedsFlash' set but not used [-Wunused-but-set-variable] 47 | bool fileExceedsFlash = false; | ^~~~~~~~~~~~~~~~ In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/string.h:535, from stdafx.h:25, from ImportExportHex.cpp:18: In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:454:15: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:467:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:496:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:509:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:529:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:549:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:575:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:607:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:626:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'unsigned char CImportExportHex::ExportHexFile(char*, CPICkitFunctions*)' at ImportExportHex.cpp:655:16: /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' output may be truncated copying 3 bytes from a string of length 31 [-Wstringop-truncation] g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o PICkitFunctions.o -c PICkitFunctions.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o PIC32PE.o -c PIC32PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o Pk2BootLoader.o -c Pk2BootLoader.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2cmd.o -c pk2cmd.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o stdafx.o -c stdafx.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2usbcommon.o -c pk2usbcommon.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2usb.o -c pk2usb.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o P24F_PE.o -c P24F_PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o dsP33_PE.o -c dsP33_PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -x c -o strnatcmp.o -c strnatcmp.c g++ -Wall -D_GNU_SOURCE -O2 -I/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2cmd cmd_app.o DeviceData.o DeviceFile.o ImportExportHex.o PICkitFunctions.o PIC32PE.o Pk2BootLoader.o pk2cmd.o stdafx.o pk2usbcommon.o pk2usb.o P24F_PE.o dsP33_PE.o strnatcmp.o -L/nix/store/rld6ck3jxcdgw01r48vn0x36aihv4ys0-libusb-compat-0.1.7-dev/lib -lusb make[1]: Leaving directory '/build/pk2cmdv1.20LinuxMacSource' Running phase: installPhase installing Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/mpf6ad7h4fs98c49dbg1inilbq4qaryn-pk2cmd-1.20 shrinking /nix/store/mpf6ad7h4fs98c49dbg1inilbq4qaryn-pk2cmd-1.20/bin/.pk2cmd-wrapped strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip stripping (with command strip and flags -S) in /nix/store/mpf6ad7h4fs98c49dbg1inilbq4qaryn-pk2cmd-1.20/bin patching script interpreter paths in /nix/store/mpf6ad7h4fs98c49dbg1inilbq4qaryn-pk2cmd-1.20 checking for references to /build/ in /nix/store/mpf6ad7h4fs98c49dbg1inilbq4qaryn-pk2cmd-1.20...