=> 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 bthfp-0.1nb1
rm -f .gdbinit
touch .gdbinit
#   compile  bthfp-0.1/bthfp.o
gcc -O2 -D_FORTIFY_SOURCE=2      -std=gnu99         -c    bthfp.c -o bthfp.o
distcc[5984] ERROR: compile bthfp.c on 10.0.20.124:3632 failed
distcc[5984] (dcc_build_somewhere) Warning: remote compilation of 'bthfp.c' failed, retrying locally
distcc[5984] Warning: failed to distribute bthfp.c to 10.0.20.124:3632, running locally instead
bthfp.c: In function 'listen_rfcomm':
bthfp.c:640:2: error: unknown type name 'sdp_hf_profile_t'
  640 |  sdp_hf_profile_t hf;
      |  ^~~~~~~~~~~~~~~~
bthfp.c:666:4: error: request for member 'server_channel' in something not a structure or union
  666 |  hf.server_channel = server_channel;
      |    ^
bthfp.c:667:4: error: request for member 'supported_features' in something not a structure or union
  667 |  hf.supported_features = 0x0000;
      |    ^
bthfp.c:670:29: warning: implicit declaration of function 'sdp_error'; did you mean 'si_error'? [-Wimplicit-function-declaration]
  670 |  if (ss == NULL || (errno = sdp_error(ss)))
      |                             ^~~~~~~~~
      |                             si_error
bthfp.c:673:6: warning: implicit declaration of function 'sdp_register_service' [-Wimplicit-function-declaration]
  673 |  if (sdp_register_service(ss,
      |      ^~~~~~~~~~~~~~~~~~~~
bthfp.c: In function 'query_hfp_channel':
bthfp.c:1140:2: error: unknown type name 'sdp_attr_t'; did you mean 'sdp_data_t'?
 1140 |  sdp_attr_t value;
      |  ^~~~~~~~~~
      |  sdp_data_t
bthfp.c:1146:7: error: request for member 'flags' in something not a structure or union
 1146 |  value.flags = SDP_ATTR_INVALID;
      |       ^
bthfp.c:1146:16: error: 'SDP_ATTR_INVALID' undeclared (first use in this function)
 1146 |  value.flags = SDP_ATTR_INVALID;
      |                ^~~~~~~~~~~~~~~~
bthfp.c:1146:16: note: each undeclared identifier is reported only once for each function it appears in
bthfp.c:1147:7: error: request for member 'attr' in something not a structure or union
 1147 |  value.attr = 0;
      |       ^
bthfp.c:1148:7: error: request for member 'vlen' in something not a structure or union
 1148 |  value.vlen = sizeof(buffer);
      |       ^
bthfp.c:1149:7: error: request for member 'value' in something not a structure or union
 1149 |  value.value = buffer;
      |       ^
bthfp.c:1153:9: warning: implicit declaration of function 'SDP_ATTR_RANGE' [-Wimplicit-function-declaration]
 1153 |  attr = SDP_ATTR_RANGE(SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST,
      |         ^~~~~~~~~~~~~~
bthfp.c:1161:6: warning: implicit declaration of function 'sdp_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration]
 1161 |  if (sdp_search(ss, 1, &service, 1, &attr, 1, &value) != 0) {
      |      ^~~~~~~~~~
      |      bsearch
bthfp.c:1168:11: error: request for member 'flags' in something not a structure or union
 1168 |  if (value.flags != SDP_ATTR_OK
      |           ^
bthfp.c:1168:21: error: 'SDP_ATTR_OK' undeclared (first use in this function)
 1168 |  if (value.flags != SDP_ATTR_OK
      |                     ^~~~~~~~~~~
bthfp.c:1169:14: error: request for member 'attr' in something not a structure or union
 1169 |      || value.attr != SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST)
      |              ^
bthfp.c:1185:13: error: request for member 'value' in something not a structure or union
 1185 |  ptr = value.value;
      |             ^
bthfp.c:1186:13: error: request for member 'value' in something not a structure or union
 1186 |  end = value.value + value.vlen;
      |             ^
bthfp.c:1186:27: error: request for member 'vlen' in something not a structure or union
 1186 |  end = value.value + value.vlen;
      |                           ^
bthfp.c:1191:2: warning: implicit declaration of function 'SDP_GET8' [-Wimplicit-function-declaration]
 1191 |  SDP_GET8(type, ptr);
      |  ^~~~~~~~
bthfp.c:1198:3: warning: implicit declaration of function 'SDP_GET16'; did you mean 'SDP_DATA_16'? [-Wimplicit-function-declaration]
 1198 |   SDP_GET16(len, ptr);
      |   ^~~~~~~~~
      |   SDP_DATA_16
bthfp.c:1202:3: warning: implicit declaration of function 'SDP_GET32'; did you mean 'SDP_DATA_32'? [-Wimplicit-function-declaration]
 1202 |   SDP_GET32(len, ptr);
      |   ^~~~~~~~~
      |   SDP_DATA_32
distcc[5984] ERROR: compile bthfp.c on localhost failed
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/comms/bthfp/work.vax/bthfp-0.1
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/comms/bthfp
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/comms/bthfp