+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libdivecomputer-0.8.0/work.log + su pbulk -c '"$@"' make /opt/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 /opt/pkg/bin/bmake -s all-recursive Making all in include Making all in libdivecomputer Making all in src GEN revision.h CC version.lo In file included from version.c:26: version.c: In function 'dc_version_check': ../include/libdivecomputer/version.h:35:27: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 35 | (DC_VERSION_MAJOR > (major) || \ | ^ version.c:51:16: note: in expansion of macro 'DC_VERSION_CHECK' 51 | return DC_VERSION_CHECK (major,minor,micro); | ^~~~~~~~~~~~~~~~ CC descriptor.lo descriptor.c: In function 'dc_descriptor_iterator_next': descriptor.c:854:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 854 | *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:68: warning: variable 'number' set but not used [-Wunused-but-set-variable] 577 | unsigned int seconds, type, state, number, heading; | ^~~~~~ suunto_d9_parser.c:577:61: warning: variable 'state' set but not used [-Wunused-but-set-variable] 577 | unsigned int seconds, type, state, number, heading; | ^~~~~ CC suunto_eonsteel.lo CC suunto_eonsteel_parser.lo suunto_eonsteel_parser.c: In function 'suunto_eonsteel_parser_samples_foreach': suunto_eonsteel_parser.c:1014:16: warning: missing initializer for field 'state_type' of 'struct sample_data' [-Wmissing-field-initializers] 1014 | struct sample_data data = { eon, callback, userdata, 0 }; | ^~~~~~~~~~~ suunto_eonsteel_parser.c:463:15: note: 'state_type' declared here 463 | char *state_type, *notify_type; | ^~~~~~~~~~ CC reefnet_sensus.lo 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:43: warning: variable 'is_air' set but not used [-Wunused-but-set-variable] 140 | 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:43: warning: variable 'is_air' set but not used [-Wunused-but-set-variable] 224 | 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:30: warning: unused variable 'changed' [-Wunused-variable] 593 | unsigned int changed = (gasmixparams >> 23) & 0x01; | ^~~~~~~ mares_iconhd_parser.c: In function 'mares_iconhd_parser_samples_foreach': mares_iconhd_parser.c:1019:38: warning: unused variable 'maxdepth' [-Wunused-variable] 1019 | unsigned int maxdepth = array_uint16_le (data + offset + 0); | ^~~~~~~~ mares_iconhd_parser.c:1076:81: warning: variable 'tts' set but not used [-Wunused-but-set-variable] 1076 | unsigned int decostop = 0, decodepth = 0, decotime = 0, tts = 0; | ^~~ CC ihex.lo ihex.c: In function 'dc_ihex_file_read': ihex.c:145:18: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 145 | 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:27: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 387 | if (begin < RB_PROFILE_BEGIN || | ^ hw_frog.c:389:29: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 389 | 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 zeagle_n2ition3.c: In function 'zeagle_n2ition3_device_foreach': zeagle_n2ition3.c:271:19: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 271 | if (first < RB_LOGBOOK_BEGIN || first >= RB_LOGBOOK_END || | ^ zeagle_n2ition3.c:272:22: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 272 | last < RB_LOGBOOK_BEGIN || last >= RB_LOGBOOK_END) { | ^ CC atomics_cobalt.lo CC atomics_cobalt_parser.lo CC shearwater_common.lo CC shearwater_predator.lo CC shearwater_predator_parser.lo shearwater_predator_parser.c: In function 'shearwater_predator_parser_samples_foreach': shearwater_predator_parser.c:1094:38: warning: unused variable 'timestamp' [-Wunused-variable] 1094 | unsigned int timestamp = array_uint32_be (data + offset + 4); | ^~~~~~~~~ CC shearwater_petrel.lo 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 rbstream.c:42:1: warning: 'ifloor' defined but not used [-Wunused-function] 42 | ifloor (unsigned int x, unsigned int n) | ^~~~~~ CC checksum.lo 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:38: warning: unused variable 'timestamp' [-Wunused-variable] 402 | 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 deepsix_excursion_parser.c: In function 'deepsix_excursion_parser_samples_foreach_v0': deepsix_excursion_parser.c:435:38: warning: unused variable 'alarm_value' [-Wunused-variable] 435 | unsigned int alarm_value = array_uint16_le(data + offset + 6); | ^~~~~~~~~~~ deepsix_excursion_parser.c:434:38: warning: unused variable 'alarm_time' [-Wunused-variable] 434 | unsigned int alarm_time = array_uint16_le(data + offset + 4); | ^~~~~~~~~~ deepsix_excursion_parser.c:450:38: warning: unused variable 'deco' [-Wunused-variable] 450 | unsigned int deco = array_uint16_le(data + offset + 4); | ^~~~ deepsix_excursion_parser.c:453:38: warning: unused variable 'ceiling_time' [-Wunused-variable] 453 | unsigned int ceiling_time = array_uint16_le(data + offset + 6); | ^~~~~~~~~~~~ deepsix_excursion_parser.c:452:38: warning: unused variable 'ceiling_depth' [-Wunused-variable] 452 | unsigned int ceiling_depth = array_uint16_le(data + offset + 4); | ^~~~~~~~~~~~~ deepsix_excursion_parser.c:421:30: warning: unused variable 'misc' [-Wunused-variable] 421 | unsigned int misc = data[offset + 1]; | ^~~~ CC seac_screen.lo 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:46: warning: unused variable 'tts' [-Wunused-variable] 963 | unsigned int tts = (misc & 0x000FFC00) >> 10; | ^~~ CC hdlc.lo CC packet.lo CC socket.lo socket.c: In function 'dc_socket_get_available': socket.c:196:34: error: 'FIONREAD' undeclared (first use in this function); did you mean 'UIO_READ'? 196 | if (S_IOCTL (socket->fd, FIONREAD, &bytes) != 0) { | ^~~~~~~~ | UIO_READ socket.c:196:34: note: each undeclared identifier is reported only once for each function it appears in *** [socket.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src 1 error bmake[3]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src *** [all] Error code 2 bmake[2]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src 1 error bmake[2]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0 1 error bmake[1]: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0 1 error bmake: stopped in /home/pbulk/build/misc/libdivecomputer/work/libdivecomputer-0.8.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/libdivecomputer *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/libdivecomputer