=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg 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 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] 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] 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] 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 between signed and unsigned integer expressions [-Wsign-compare] while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) ^~ hdaccess.c:1038:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) ^~ hdaccess.c:1048:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pread(hd_h, buffer, sector_size, min_offset) == sector_size) ^~ hdaccess.c: In function 'file_pread_aux': hdaccess.c:1205:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^~ hdaccess.c: In function 'file_pwrite_aux': hdaccess.c:1277:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^~ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1291:56: warning: unused parameter 'buf' [-Wunused-parameter] 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] 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] disk_car->geom.cylinders=*(unsigned long*)(buffer+15); ^ hdaccess.c:1525:42: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); ^ hdaccess.c:1526:40: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); ^ hdaccess.c:1528:25: warning: cast increases required alignment of target type [-Wcast-align] disk_car->offset=*(unsigned long*)(buffer+19); ^ At top level: hdaccess.c:209:21: warning: 'hd_glob_parse' defined but not used [-Wunused-function] 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] void disk_get_hpa_dco(const int fd, disk_t *disk) ^~ hpa_dco.c:349:45: warning: unused parameter 'disk' [-Wunused-parameter] 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:597:0, 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=] snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s", ^ Ver.sysname, Ver.release, Ver.version, Ver.machine); ~ misc.c:181:7: note: '__builtin_snprintf' output between 14 and 1034 bytes into a destination of size 99 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] 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=] if(nbr_prim_boot++) ^ parti386.c:1197:7: note: here case STATUS_PRIM: ^~~~ parti386.c: In function 'read_part_i386': parti386.c:386:8: warning: this statement may fall through [-Wimplicit-fallthrough=] status=STATUS_EXT; ~~~~~~^~~~~~~~~~~ parti386.c:388:7: note: here default: ^~~~~~~ parti386.c: In function 'test_MBR_data': parti386.c:425:9: warning: this statement may fall through [-Wimplicit-fallthrough=] nb_boot++; ~~~~~~~^~ parti386.c:426:7: note: here case STATUS_PRIM: ^~~~ CC partgpt.o In file included from partgpt.c:45:0: common.h:128:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_FREEBSD, "FreeBSD" }, ^~~~~~~~~~~~~~~~~~~~ common.h:128:2: note: (near initialization for 'gpt_sys_types[2].part_type') ((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' { GPT_ENT_TYPE_FREEBSD, "FreeBSD" }, ^~~~~~~~~~~~~~~~~~~~ common.h:130:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_FREEBSD_SWAP, "FreeBSD Swap" }, ^~~~~~~~~~~~~~~~~~~~~~~~~ common.h:130:2: note: (near initialization for 'gpt_sys_types[3].part_type') ((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' { GPT_ENT_TYPE_FREEBSD_SWAP, "FreeBSD Swap" }, ^~~~~~~~~~~~~~~~~~~~~~~~~ common.h:132:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_FREEBSD_UFS, "FreeBSD UFS" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:132:2: note: (near initialization for 'gpt_sys_types[4].part_type') ((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' { GPT_ENT_TYPE_FREEBSD_UFS, "FreeBSD UFS" }, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45:0: common.h:143:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_FREEBSD_VINUM, "FreeBSD Vinum" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:143:2: note: (near initialization for 'gpt_sys_types[5].part_type') ((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' { GPT_ENT_TYPE_FREEBSD_VINUM, "FreeBSD Vinum" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45:0: common.h:134:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_FREEBSD_ZFS, "FreeBSD ZFS" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:134:2: note: (near initialization for 'gpt_sys_types[6].part_type') ((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' { GPT_ENT_TYPE_FREEBSD_ZFS, "FreeBSD ZFS" }, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from partgpt.c:45:0: common.h:151:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_MS_LDM_METADATA, "MS LDM MetaData" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:151:2: note: (near initialization for 'gpt_sys_types[9].part_type') ((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' { GPT_ENT_TYPE_MS_LDM_METADATA, "MS LDM MetaData" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:195:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_SOLARIS_USR, "Solaris /usr" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:195:2: note: (near initialization for 'gpt_sys_types[28].part_type') ((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' { GPT_ENT_TYPE_SOLARIS_USR, "Solaris /usr" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:198:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_SOLARIS_VAR, "Solaris /var" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:198:2: note: (near initialization for 'gpt_sys_types[29].part_type') ((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' { GPT_ENT_TYPE_SOLARIS_VAR, "Solaris /var" }, ^~~~~~~~~~~~~~~~~~~~~~~~ common.h:202:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR, "Solaris EFI Alt." }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:202:2: note: (near initialization for 'gpt_sys_types[31].part_type') ((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' { GPT_ENT_TYPE_SOLARIS_EFI_ALTSCTR, "Solaris EFI Alt." }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:206:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_SOLARIS_RESERVED2, "Solaris Reserved2" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:206:2: note: (near initialization for 'gpt_sys_types[33].part_type') ((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' { GPT_ENT_TYPE_SOLARIS_RESERVED2, "Solaris Reserved2" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:212:2: error: initializer element is not constant ((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' { GPT_ENT_TYPE_SOLARIS_RESERVED5, "Solaris Reserved5" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.h:212:2: note: (near initialization for 'gpt_sys_types[36].part_type') ((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' { 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] 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] 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] 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] 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] 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