=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for testdisk-7.0 /usr/bin/make all-recursive Making all in icons Making all in man Making all in zh_CN Making all in src CC autoset.o CC common.o In file included from /usr/include/ctype.h:100, from common.c:29: common.c: In function 'strip_dup': common.c:207:17: warning: array subscript has type 'char' [-Wchar-subscripts] 207 | while(isspace(*str)) | ^ common.c:211:22: warning: array subscript has type 'char' [-Wchar-subscripts] 211 | if (!isspace (str[i])) | ^ CC crc.o CC ewf.o CC fnctdsk.o CC hdaccess.o hdaccess.c: In function 'disk_get_model': hdaccess.c:937:38: warning: unused parameter 'hd_h' [-Wunused-parameter] 937 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~^~~~ hdaccess.c:937:52: warning: unused parameter 'dev' [-Wunused-parameter] 937 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~^~~ hdaccess.c:937:76: warning: unused parameter 'verbose' [-Wunused-parameter] 937 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function 'compute_device_size': hdaccess.c:1028:54: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1028 | while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) | ^~ hdaccess.c:1038:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1038 | if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) | ^~ hdaccess.c:1048:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1048 | if(pread(hd_h, buffer, sector_size, min_offset) == sector_size) | ^~ hdaccess.c: In function 'file_pread_aux': hdaccess.c:1205:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1205 | if(ret!=count) | ^~ hdaccess.c: In function 'file_pwrite_aux': hdaccess.c:1277:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1277 | if(ret!=count) | ^~ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1291:56: warning: unused parameter 'buf' [-Wunused-parameter] 1291 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ hdaccess.c: In function 'file_test_availability': hdaccess.c:1521:41: warning: cast increases required alignment of target type [-Wcast-align] 1521 | if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) | ^ hdaccess.c:1524:33: warning: cast increases required alignment of target type [-Wcast-align] 1524 | disk_car->geom.cylinders=*(unsigned long*)(buffer+15); | ^ hdaccess.c:1525:42: warning: cast increases required alignment of target type [-Wcast-align] 1525 | disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); | ^ hdaccess.c:1526:40: warning: cast increases required alignment of target type [-Wcast-align] 1526 | disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); | ^ hdaccess.c:1528:25: warning: cast increases required alignment of target type [-Wcast-align] 1528 | disk_car->offset=*(unsigned long*)(buffer+19); | ^ At top level: hdaccess.c:209:21: warning: 'hd_glob_parse' defined but not used [-Wunused-function] 209 | static list_disk_t *hd_glob_parse(const char *device_pattern, list_disk_t *list_disk, const int verbose, const int testdisk_mode) | ^~~~~~~~~~~~~ CC hdcache.o CC hdwin32.o CC hidden.o CC hpa_dco.o hpa_dco.c: In function 'disk_get_hpa_dco': hpa_dco.c:349:33: warning: unused parameter 'fd' [-Wunused-parameter] 349 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~~~^~ hpa_dco.c:349:45: warning: unused parameter 'disk' [-Wunused-parameter] 349 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~^~~~ CC intrf.o CC iso.o CC list_sort.o CC log.o CC log_part.o CC misc.o In file included from /usr/include/stdio.h:595, from misc.c:30: misc.c: In function 'get_os': misc.c:181:44: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 99 [-Wformat-truncation=] 181 | snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s", | ^~~~~~~~~~~~~~~~~~~~~~~ 182 | Ver.sysname, Ver.release, Ver.version, Ver.machine); | ~~~~~~~~~~~ misc.c:181:45: note: format string is defined here 181 | snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s", | ^~ In file included from /usr/include/stdio.h:595, from misc.c:30: misc.c:181:7: note: '__builtin_snprintf' output between 14 and 1034 bytes into a destination of size 99 181 | snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s", | ^~~~~~~~ CC msdos.o CC parti386.o parti386.c: In function 'init_part_order_i386': parti386.c:327:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 327 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parti386.c: In function 'test_structure_i386': parti386.c:1195:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 1195 | if(nbr_prim_boot++) | ^ parti386.c:1197:7: note: here 1197 | case STATUS_PRIM: | ^~~~ parti386.c: In function 'read_part_i386': parti386.c:386:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 386 | status=STATUS_EXT; | ~~~~~~^~~~~~~~~~~ parti386.c:388:7: note: here 388 | default: | ^~~~~~~ parti386.c: In function 'test_MBR_data': parti386.c:425:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 425 | nb_boot++; | ~~~~~~~^~ parti386.c:426:7: note: here 426 | case STATUS_PRIM: | ^~~~ CC partgpt.o In file included from partgpt.c:45: common.h:128:2: error: initializer element is not constant 128 | ((efi_guid_t){le32(0x516e7cb4),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:80:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD' 80 | { GPT_ENT_TYPE_FREEBSD, "FreeBSD" }, | ^~~~~~~~~~~~~~~~~~~~ common.h:128:2: note: (near initialization for 'gpt_sys_types[2].part_type') 128 | ((efi_guid_t){le32(0x516e7cb4),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:80:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD' 80 | { GPT_ENT_TYPE_FREEBSD, "FreeBSD" }, | ^~~~~~~~~~~~~~~~~~~~ common.h:130:2: error: initializer element is not constant 130 | ((efi_guid_t){le32(0x516e7cb5),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:81:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_SWAP' 81 | { GPT_ENT_TYPE_FREEBSD_SWAP, "FreeBSD Swap" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ common.h:130:2: note: (near initialization for 'gpt_sys_types[3].part_type') 130 | ((efi_guid_t){le32(0x516e7cb5),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:81:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_SWAP' 81 | { GPT_ENT_TYPE_FREEBSD_SWAP, "FreeBSD Swap" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ common.h:132:2: error: initializer element is not constant 132 | ((efi_guid_t){le32(0x516e7cb6),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:82:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_UFS' 82 | { GPT_ENT_TYPE_FREEBSD_UFS, "FreeBSD UFS" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:132:2: note: (near initialization for 'gpt_sys_types[4].part_type') 132 | ((efi_guid_t){le32(0x516e7cb6),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:82:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_UFS' 82 | { GPT_ENT_TYPE_FREEBSD_UFS, "FreeBSD UFS" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45: common.h:143:2: error: initializer element is not constant 143 | ((efi_guid_t){le32(0x516e7cb8),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:83:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_VINUM' 83 | { GPT_ENT_TYPE_FREEBSD_VINUM, "FreeBSD Vinum" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:143:2: note: (near initialization for 'gpt_sys_types[5].part_type') 143 | ((efi_guid_t){le32(0x516e7cb8),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:83:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_VINUM' 83 | { GPT_ENT_TYPE_FREEBSD_VINUM, "FreeBSD Vinum" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45: common.h:134:2: error: initializer element is not constant 134 | ((efi_guid_t){le32(0x516e7cb),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:85:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_ZFS' 85 | { GPT_ENT_TYPE_FREEBSD_ZFS, "FreeBSD ZFS" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:134:2: note: (near initialization for 'gpt_sys_types[6].part_type') 134 | ((efi_guid_t){le32(0x516e7cb),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}) | ^ partgpt.c:85:5: note: in expansion of macro 'GPT_ENT_TYPE_FREEBSD_ZFS' 85 | { GPT_ENT_TYPE_FREEBSD_ZFS, "FreeBSD ZFS" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45: common.h:151:2: error: initializer element is not constant 151 | ((efi_guid_t){le32(0x5808c8aa),le16(0x7e8f),le16(0x42e0),0x85,0xd2,{0xe1,0xe9,0x04,0x34,0xcf,0xb3}}) | ^ partgpt.c:88:5: note: in expansion of macro 'GPT_ENT_TYPE_MS_LDM_METADATA' 88 | { GPT_ENT_TYPE_MS_LDM_METADATA, "MS LDM MetaData" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:151:2: note: (near initialization for 'gpt_sys_types[9].part_type') 151 | ((efi_guid_t){le32(0x5808c8aa),le16(0x7e8f),le16(0x42e0),0x85,0xd2,{0xe1,0xe9,0x04,0x34,0xcf,0xb3}}) | ^ partgpt.c:88:5: note: in expansion of macro 'GPT_ENT_TYPE_MS_LDM_METADATA' 88 | { GPT_ENT_TYPE_MS_LDM_METADATA, "MS LDM MetaData" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:195:2: error: initializer element is not constant 195 | ((efi_guid_t){le32(0x6a898cc3),le16(0x1dd2),le16(0x11b2),0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:108:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_USR' 108 | { GPT_ENT_TYPE_SOLARIS_USR, "Solaris /usr" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:195:2: note: (near initialization for 'gpt_sys_types[28].part_type') 195 | ((efi_guid_t){le32(0x6a898cc3),le16(0x1dd2),le16(0x11b2),0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:108:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_USR' 108 | { GPT_ENT_TYPE_SOLARIS_USR, "Solaris /usr" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:198:2: error: initializer element is not constant 198 | ((efi_guid_t){le32(0x6a8ef2e9),le16(0x1dd2),le16(0x11b2),0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:109:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_VAR' 109 | { GPT_ENT_TYPE_SOLARIS_VAR, "Solaris /var" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:198:2: note: (near initialization for 'gpt_sys_types[29].part_type') 198 | ((efi_guid_t){le32(0x6a8ef2e9),le16(0x1dd2),le16(0x11b2),0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:109:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_VAR' 109 | { GPT_ENT_TYPE_SOLARIS_VAR, "Solaris /var" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:202:2: error: initializer element is not constant 202 | ((efi_guid_t){le32(0x6a9283a5),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:111:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR' 111 | { GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR, "Solaris EFI Alt." }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:202:2: note: (near initialization for 'gpt_sys_types[31].part_type') 202 | ((efi_guid_t){le32(0x6a9283a5),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:111:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR' 111 | { GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR, "Solaris EFI Alt." }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:206:2: error: initializer element is not constant 206 | ((efi_guid_t){le32(0x6a9630d1),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:113:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_RESERVED2' 113 | { GPT_ENT_TYPE_SOLARIS_RESERVED2, "Solaris Reserved2" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:206:2: note: (near initialization for 'gpt_sys_types[33].part_type') 206 | ((efi_guid_t){le32(0x6a9630d1),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:113:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_RESERVED2' 113 | { GPT_ENT_TYPE_SOLARIS_RESERVED2, "Solaris Reserved2" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:212:2: error: initializer element is not constant 212 | ((efi_guid_t){le32(0x6a8d2ac7),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:116:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_RESERVED5' 116 | { GPT_ENT_TYPE_SOLARIS_RESERVED5, "Solaris Reserved5" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:212:2: note: (near initialization for 'gpt_sys_types[36].part_type') 212 | ((efi_guid_t){le32(0x6a8d2ac7),le16(0x1dd2),le16(0x11b2),0x96,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}) | ^ partgpt.c:116:5: note: in expansion of macro 'GPT_ENT_TYPE_SOLARIS_RESERVED5' 116 | { GPT_ENT_TYPE_SOLARIS_RESERVED5, "Solaris Reserved5" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partgpt.c: In function 'read_part_gpt_aux': partgpt.c:276:15: warning: cast increases required alignment of target type [-Wcast-align] 276 | gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz)); | ^ partgpt.c:289:42: warning: cast increases required alignment of target type [-Wcast-align] 289 | UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2); | ^ partgpt.c: In function 'init_part_order_gpt': partgpt.c:319:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 319 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'set_next_status_gpt': partgpt.c:394:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 394 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'init_structure_gpt': partgpt.c:417:89: warning: unused parameter 'verbose' [-Wunused-parameter] 417 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ *** Error code 1 Stop. make[2]: stopped in /usr/pkgsrc/sysutils/testdisk/work/testdisk-7.0/src *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/sysutils/testdisk/work/testdisk-7.0 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/sysutils/testdisk/work/testdisk-7.0 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/sysutils/testdisk *** Error code 1 Stop. make: stopped in /usr/pkgsrc/sysutils/testdisk