+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libdivecomputer-0.8.0/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libdivecomputer-0.8.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libdivecomputer-0.8.0
--- all ---
/usr/pkg/bin/bmake -s all-recursive
Making all in include
Making all in libdivecomputer
Making all in src
  GEN      revision.h
  CC       version.lo
  CC       descriptor.lo
In file included from version.c:26:
version.c: In function 'dc_version_check':
../include/libdivecomputer/version.h:35:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
  (DC_VERSION_MAJOR > (major) || \
                    ^
version.c:51:9: note: in expansion of macro 'DC_VERSION_CHECK'
  return DC_VERSION_CHECK (major,minor,micro);
         ^~~~~~~~~~~~~~~~
descriptor.c: In function 'dc_descriptor_iterator_next':
descriptor.c:854:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  *item = (dc_descriptor_t *) &g_descriptors[iterator->current++];
          ^
  CC       iostream.lo
  CC       iterator.lo
  CC       common.lo
  CC       context.lo
  CC       device.lo
  CC       parser.lo
  CC       datetime.lo
  CC       timer.lo
  CC       suunto_common.lo
  CC       suunto_common2.lo
  CC       suunto_solution.lo
  CC       suunto_solution_parser.lo
  CC       suunto_eon.lo
  CC       suunto_eon_parser.lo
  CC       suunto_vyper.lo
  CC       suunto_vyper_parser.lo
  CC       suunto_vyper2.lo
  CC       suunto_d9.lo
  CC       suunto_d9_parser.lo
suunto_d9_parser.c: In function 'suunto_d9_parser_samples_foreach':
suunto_d9_parser.c:577:40: warning: variable 'number' set but not used [-Wunused-but-set-variable]
     unsigned int seconds, type, state, number, heading;
                                        ^~~~~~
suunto_d9_parser.c:577:33: warning: variable 'state' set but not used [-Wunused-but-set-variable]
     unsigned int seconds, type, state, number, heading;
                                 ^~~~~
  CC       suunto_eonsteel.lo
  CC       suunto_eonsteel_parser.lo
  CC       reefnet_sensus.lo
suunto_eonsteel_parser.c: In function 'suunto_eonsteel_parser_samples_foreach':
suunto_eonsteel_parser.c:1014:9: warning: missing initializer for field 'state_type' of 'struct sample_data' [-Wmissing-field-initializers]
  struct sample_data data = { eon, callback, userdata, 0 };
         ^~~~~~~~~~~
suunto_eonsteel_parser.c:463:8: note: 'state_type' declared here
  char *state_type, *notify_type;
        ^~~~~~~~~~
  CC       reefnet_sensus_parser.lo
  CC       reefnet_sensuspro.lo
  CC       reefnet_sensuspro_parser.lo
  CC       reefnet_sensusultra.lo
  CC       reefnet_sensusultra_parser.lo
  CC       uwatec_aladin.lo
  CC       uwatec_memomouse.lo
  CC       uwatec_memomouse_parser.lo
uwatec_memomouse_parser.c: In function 'uwatec_memomouse_parser_get_field':
uwatec_memomouse_parser.c:140:36: warning: variable 'is_air' set but not used [-Wunused-but-set-variable]
  int is_nitrox = 0, is_oxygen = 0, is_air = 0;
                                    ^~~~~~
uwatec_memomouse_parser.c: In function 'uwatec_memomouse_parser_samples_foreach':
uwatec_memomouse_parser.c:224:36: warning: variable 'is_air' set but not used [-Wunused-but-set-variable]
  int is_nitrox = 0, is_oxygen = 0, is_air = 0;
                                    ^~~~~~
  CC       uwatec_smart.lo
  CC       uwatec_smart_parser.lo
  CC       oceanic_common.lo
  CC       oceanic_atom2.lo
  CC       oceanic_atom2_parser.lo
  CC       oceanic_veo250.lo
  CC       oceanic_veo250_parser.lo
  CC       oceanic_vtpro.lo
  CC       oceanic_vtpro_parser.lo
  CC       mares_common.lo
  CC       mares_nemo.lo
  CC       mares_nemo_parser.lo
  CC       mares_puck.lo
  CC       mares_darwin.lo
  CC       mares_darwin_parser.lo
  CC       mares_iconhd.lo
  CC       mares_iconhd_parser.lo
mares_iconhd_parser.c: In function 'mares_genius_cache':
mares_iconhd_parser.c:593:16: warning: unused variable 'changed' [-Wunused-variable]
   unsigned int changed = (gasmixparams >> 23) & 0x01;
                ^~~~~~~
mares_iconhd_parser.c: In function 'mares_iconhd_parser_samples_foreach':
mares_iconhd_parser.c:1019:17: warning: unused variable 'maxdepth' [-Wunused-variable]
    unsigned int maxdepth = array_uint16_le (data + offset + 0);
                 ^~~~~~~~
mares_iconhd_parser.c:1076:60: warning: variable 'tts' set but not used [-Wunused-but-set-variable]
    unsigned int decostop = 0, decodepth = 0, decotime = 0, tts = 0;
                                                            ^~~
  CC       ihex.lo
ihex.c: In function 'dc_ihex_file_read':
ihex.c:145:11: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
  if (type < 0 || type > 5) {
           ^
  CC       hw_ostc.lo
  CC       hw_ostc_parser.lo
  CC       hw_frog.lo
hw_frog.c: In function 'hw_frog_device_foreach':
hw_frog.c:387:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
   if (begin < RB_PROFILE_BEGIN ||
             ^
hw_frog.c:389:8: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
    end < RB_PROFILE_BEGIN ||
        ^
  CC       hw_ostc3.lo
  CC       aes.lo
  CC       cressi_edy.lo
  CC       cressi_edy_parser.lo
  CC       cressi_leonardo.lo
  CC       cressi_leonardo_parser.lo
  CC       cressi_goa.lo
  CC       cressi_goa_parser.lo
  CC       zeagle_n2ition3.lo
  CC       atomics_cobalt.lo
zeagle_n2ition3.c: In function 'zeagle_n2ition3_device_foreach':
zeagle_n2ition3.c:271:12: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
  if (first < RB_LOGBOOK_BEGIN || first >= RB_LOGBOOK_END ||
            ^
zeagle_n2ition3.c:272:8: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
   last < RB_LOGBOOK_BEGIN || last >= RB_LOGBOOK_END) {
        ^
  CC       atomics_cobalt_parser.lo
  CC       shearwater_common.lo
  CC       shearwater_predator.lo
  CC       shearwater_predator_parser.lo
  CC       shearwater_petrel.lo
shearwater_predator_parser.c: In function 'shearwater_predator_parser_samples_foreach':
shearwater_predator_parser.c:1094:17: warning: unused variable 'timestamp' [-Wunused-variable]
    unsigned int timestamp = array_uint32_be (data + offset + 4);
                 ^~~~~~~~~
  CC       diverite_nitekq.lo
  CC       diverite_nitekq_parser.lo
  CC       citizen_aqualand.lo
  CC       citizen_aqualand_parser.lo
  CC       divesystem_idive.lo
  CC       divesystem_idive_parser.lo
  CC       platform.lo
  CC       ringbuffer.lo
  CC       rbstream.lo
  CC       checksum.lo
rbstream.c:42:1: warning: 'ifloor' defined but not used [-Wunused-function]
 ifloor (unsigned int x, unsigned int n)
 ^~~~~~
  CC       array.lo
  CC       buffer.lo
  CC       cochran_commander.lo
  CC       cochran_commander_parser.lo
  CC       tecdiving_divecomputereu.lo
  CC       tecdiving_divecomputereu_parser.lo
  CC       mclean_extreme.lo
  CC       mclean_extreme_parser.lo
  CC       liquivision_lynx.lo
  CC       liquivision_lynx_parser.lo
liquivision_lynx_parser.c: In function 'liquivision_lynx_parser_samples_foreach':
liquivision_lynx_parser.c:402:17: warning: unused variable 'timestamp' [-Wunused-variable]
    unsigned int timestamp = array_uint32_le (data + offset + 2);
                 ^~~~~~~~~
  CC       sporasub_sp2.lo
  CC       sporasub_sp2_parser.lo
  CC       deepsix_excursion.lo
  CC       deepsix_excursion_parser.lo
  CC       seac_screen.lo
deepsix_excursion_parser.c: In function 'deepsix_excursion_parser_samples_foreach_v0':
deepsix_excursion_parser.c:435:17: warning: unused variable 'alarm_value' [-Wunused-variable]
    unsigned int alarm_value = array_uint16_le(data + offset + 6);
                 ^~~~~~~~~~~
deepsix_excursion_parser.c:434:17: warning: unused variable 'alarm_time' [-Wunused-variable]
    unsigned int alarm_time  = array_uint16_le(data + offset + 4);
                 ^~~~~~~~~~
deepsix_excursion_parser.c:450:17: warning: unused variable 'deco' [-Wunused-variable]
    unsigned int deco = array_uint16_le(data + offset + 4);
                 ^~~~
deepsix_excursion_parser.c:453:17: warning: unused variable 'ceiling_time' [-Wunused-variable]
    unsigned int ceiling_time  = array_uint16_le(data + offset + 6);
                 ^~~~~~~~~~~~
deepsix_excursion_parser.c:452:17: warning: unused variable 'ceiling_depth' [-Wunused-variable]
    unsigned int ceiling_depth = array_uint16_le(data + offset + 4);
                 ^~~~~~~~~~~~~
deepsix_excursion_parser.c:421:16: warning: unused variable 'misc' [-Wunused-variable]
   unsigned int misc = data[offset + 1];
                ^~~~
  CC       seac_screen_parser.lo
  CC       deepblu_cosmiq.lo
  CC       deepblu_cosmiq_parser.lo
  CC       oceans_s1_common.lo
  CC       oceans_s1.lo
  CC       oceans_s1_parser.lo
  CC       divesoft_freedom.lo
  CC       divesoft_freedom_parser.lo
divesoft_freedom_parser.c: In function 'divesoft_freedom_parser_samples_foreach':
divesoft_freedom_parser.c:963:18: warning: unused variable 'tts' [-Wunused-variable]
     unsigned int tts  = (misc & 0x000FFC00) >> 10;
                  ^~~
  CC       hdlc.lo
  CC       packet.lo
  CC       socket.lo
  CC       irda.lo
  CC       usb.lo
  CC       usbhid.lo
  CC       bluetooth.lo
  CC       custom.lo
  CC       serial_posix.lo
  GEN      libdivecomputer.exp
  CCLD     libdivecomputer.la
/bin/ld:.libs/libdivecomputer.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
--- libdivecomputer.la ---
*** [libdivecomputer.la] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src
bmake[3]: 1 error

bmake[3]: stopped making "all-am" in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src
--- all ---

bmake[2]: stopped making "all" in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src
--- all-recursive ---

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0

bmake: stopped making "all" in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/libdivecomputer
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/libdivecomputer