=> 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
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in icons
Making all in man
--- all-recursive ---
Making all in zh_CN
Making all in src
--- autoset.o ---
--- common.o ---
--- autoset.o ---
  CC       autoset.o
--- common.o ---
  CC       common.o
distcc[13822] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[13822] Warning: failed to distribute common.c to 192.168.1.1:3748, running locally instead
--- autoset.o ---
distcc[13606] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from autoset.c:27:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- common.o ---
In file included from common.c:49:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
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]))
      |                      ^
--- crc.o ---
  CC       crc.o
distcc[18513] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from crc.c:29:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- ewf.o ---
  CC       ewf.o
distcc[27761] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- fnctdsk.o ---
  CC       fnctdsk.o
distcc[13242] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- hdaccess.o ---
  CC       hdaccess.o
distcc[10125] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- fnctdsk.o ---
In file included from fnctdsk.c:35:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- hdaccess.o ---
In file included from hdaccess.c:44:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
hdaccess.c:138:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  138 | } __attribute__ ((gcc_struct, __packed__));
      | ^
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 'long 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 'long 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 'long 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)
      |                     ^~~~~~~~~~~~~
--- hdcache.o ---
  CC       hdcache.o
distcc[9207] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from hdcache.c:33:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- hdwin32.o ---
  CC       hdwin32.o
distcc[22448] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- hidden.o ---
  CC       hidden.o
distcc[2815] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from hidden.c:28:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- hpa_dco.o ---
  CC       hpa_dco.o
--- intrf.o ---
  CC       intrf.o
distcc[27991] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- hpa_dco.o ---
distcc[7509] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from hpa_dco.c:43:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
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)
      |                       ~~~~~~~~~~^~
--- intrf.o ---
In file included from intrf.c:58:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- hpa_dco.o ---
hpa_dco.c:349:45: warning: unused parameter 'disk' [-Wunused-parameter]
  349 | void disk_get_hpa_dco(const int fd, disk_t *disk)
      |                                     ~~~~~~~~^~~~
--- iso.o ---
  CC       iso.o
distcc[23122] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from iso.c:33:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from iso.c:34:
iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   62 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- list_sort.o ---
  CC       list_sort.o
distcc[29935] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- log.o ---
  CC       log.o
distcc[11965] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from log.c:47:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- log_part.o ---
  CC       log_part.o
distcc[7095] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from log_part.c:28:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- misc.o ---
  CC       misc.o
distcc[18827] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- msdos.o ---
  CC       msdos.o
distcc[7811] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- parti386.o ---
  CC       parti386.o
distcc[4288] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- misc.o ---
In file included from misc.c:48:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
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",
      |       ^~~~~~~~
--- partgpt.o ---
  CC       partgpt.o
distcc[23623] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- parti386.o ---
In file included from parti386.c:37:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from parti386.c:46:
exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   50 | } __attribute__ ((gcc_struct, __packed__));
      | ^
exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   70 | } __attribute__ ((gcc_struct, __packed__));
      | ^
exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   84 | } __attribute__ ((gcc_struct, __packed__));
      | ^
exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   93 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from parti386.c:47:
fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   76 | } __attribute__ ((gcc_struct, __packed__));
      | ^
fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   86 | } __attribute__ ((gcc_struct, __packed__));
      | ^
fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  101 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from parti386.c:48:
hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   34 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- partgpt.o ---
In file included from partgpt.c:45:
common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   37 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- parti386.o ---
hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   77 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- partgpt.o ---
In file included from partgpt.c:51:
partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   47 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- parti386.o ---
In file included from parti386.c:53:
ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   57 |  } __attribute__ ((gcc_struct, __packed__));
      |  ^
--- partgpt.o ---
In file included from partgpt.c:53:
exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   50 | } __attribute__ ((gcc_struct, __packed__));
      | ^
--- parti386.o ---
ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   76 | } __attribute__ ((gcc_struct, __packed__));
      | ^
ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER;
      | ^
ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  191 |   } __attribute__((gcc_struct, __packed__));
      |   ^
ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  196 |  } __attribute__((gcc_struct, __packed__));
      |  ^
ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR;
      | ^
ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT;
      | ^
In file included from parti386.c:54:
sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   75 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from parti386.c:58:
partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   47 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from parti386.c:59:
partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   32 | } __attribute__ ((gcc_struct, __packed__));
      | ^
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)
      |                                          ~~~~~~~~~~~~~~^~~~~~~~
--- partgpt.o ---
exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   70 | } __attribute__ ((gcc_struct, __packed__));
      | ^
exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   84 | } __attribute__ ((gcc_struct, __packed__));
      | ^
exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   93 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from partgpt.c:54:
fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   76 | } __attribute__ ((gcc_struct, __packed__));
      | ^
fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   86 | } __attribute__ ((gcc_struct, __packed__));
      | ^
fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  101 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from partgpt.c:55:
hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   34 | } __attribute__ ((gcc_struct, __packed__));
      | ^
hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   77 | } __attribute__ ((gcc_struct, __packed__));
      | ^
In file included from partgpt.c:58:
ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   57 |  } __attribute__ ((gcc_struct, __packed__));
      |  ^
ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
   76 | } __attribute__ ((gcc_struct, __packed__));
      | ^
ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER;
      | ^
ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  191 |   } __attribute__((gcc_struct, __packed__));
      |   ^
ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  196 |  } __attribute__((gcc_struct, __packed__));
      |  ^
ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR;
      | ^
ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes]
  241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT;
      | ^
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"  },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c: In function 'test_structure_i386':
--- partgpt.o ---
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"  },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:1195:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1195 |  if(nbr_prim_boot++)
      |    ^
--- partgpt.o ---
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"  },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:1197:7: note: here
 1197 |       case STATUS_PRIM:
      |       ^~~~
--- partgpt.o ---
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." },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c: In function 'read_part_i386':
--- partgpt.o ---
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." },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:386:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  386 |  status=STATUS_EXT;
      |  ~~~~~~^~~~~~~~~~~
--- partgpt.o ---
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" },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:388:7: note: here
  388 |       default:
      |       ^~~~~~~
--- partgpt.o ---
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" },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c: In function 'test_MBR_data':
--- partgpt.o ---
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" },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:425:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  425 |  nb_boot++;
      |  ~~~~~~~^~
--- partgpt.o ---
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" },
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- parti386.o ---
parti386.c:426:7: note: here
  426 |       case STATUS_PRIM:
      |       ^~~~
--- partgpt.o ---
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)
      |                                                                               ~~~~~~~~~~^~~~~~~
distcc[23623] ERROR: compile partgpt.c on localhost failed
*** [partgpt.o] Error code 1

make[2]: stopped in /tmp/pkgbuild/sysutils/testdisk/work.sparc/testdisk-7.0/src
1 error

make[2]: stopped in /tmp/pkgbuild/sysutils/testdisk/work.sparc/testdisk-7.0/src

make[1]: stopped in /tmp/pkgbuild/sysutils/testdisk/work.sparc/testdisk-7.0

make: stopped in /tmp/pkgbuild/sysutils/testdisk/work.sparc/testdisk-7.0
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/testdisk
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/testdisk