+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gpac-1.0.1nb10/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gpac-1.0.1nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gpac-1.0.1nb10
echo "#define GPAC_GIT_REVISION \"release\"" > /home/pbulk/build/multimedia/gpac/work/gpac-1.0.1/include/gpac/revision.h
/usr/bin/bash: git: command not found
No GIT Version found
gmake -C src all
gmake[1]: Entering directory '/home/pbulk/build/multimedia/gpac/work/gpac-1.0.1/src'
cat .deps/utils/os_divers.dep .deps/utils/os_file.dep .deps/utils/list.dep .deps/utils/bitstream.dep .deps/utils/constants.dep .deps/utils/error.dep .deps/utils/alloc.dep .deps/utils/url.dep .deps/utils/configfile.dep .deps/utils/gltools.dep .deps/utils/gzio.dep .deps/utils/sha1.dep .deps/utils/base_encoding.dep .deps/utils/math.dep .deps/utils/os_net.dep .deps/utils/os_thread.dep .deps/utils/os_config_init.dep .deps/utils/cache.dep .deps/utils/downloader.dep .deps/utils/xml_parser.dep .deps/utils/utf.dep .deps/utils/token.dep .deps/utils/color.dep .deps/utils/Remotery.dep .deps/utils/uni_bidi.dep .deps/utils/unicode.dep .deps/utils/os_module.dep .deps/utils/module.dep .deps/utils/path2d.dep .deps/utils/path2d_stroker.dep .deps/crypto/g_crypt.dep .deps/crypto/g_crypt_openssl.dep .deps/crypto/g_crypt_tinyaes.dep .deps/crypto/tiny_aes.dep .deps/scenegraph/base_scenegraph.dep .deps/scenegraph/mpeg4_animators.dep .deps/scenegraph/commands.dep .deps/scenegraph/mpeg4_nodes.dep .deps/scenegraph/mpeg4_valuator.dep .deps/scenegraph/vrml_interpolators.dep .deps/scenegraph/vrml_proto.dep .deps/scenegraph/vrml_route.dep .deps/scenegraph/vrml_script.dep .deps/scenegraph/vrml_js.dep .deps/scenegraph/vrml_tools.dep .deps/scenegraph/x3d_nodes.dep .deps/scenegraph/svg_attributes.dep .deps/scenegraph/svg_types.dep .deps/scenegraph/svg_js.dep .deps/scenegraph/smil_anim.dep .deps/scenegraph/smil_timing.dep .deps/scenegraph/svg_properties.dep .deps/scenegraph/dom_events.dep .deps/scenegraph/dom_js.dep .deps/scenegraph/xml_ns.dep .deps/ietf/rtcp.dep .deps/ietf/rtp.dep .deps/ietf/rtp_packetizer.dep .deps/ietf/rtp_pck_3gpp.dep .deps/ietf/rtp_pck_mpeg12.dep .deps/ietf/rtp_pck_mpeg4.dep .deps/ietf/rtsp_command.dep .deps/ietf/rtsp_common.dep .deps/ietf/rtsp_response.dep .deps/ietf/rtsp_session.dep .deps/ietf/sdp.dep .deps/ietf/rtp_depacketizer.dep .deps/ietf/rtp_streamer.dep .deps/bifs/arith_decoder.dep .deps/bifs/bifs_codec.dep .deps/bifs/bifs_node_tables.dep .deps/bifs/com_dec.dep .deps/bifs/com_enc.dep .deps/bifs/conditional.dep .deps/bifs/field_decode.dep .deps/bifs/field_encode.dep .deps/bifs/memory_decoder.dep .deps/bifs/predictive_mffield.dep .deps/bifs/quantize.dep .deps/bifs/script_dec.dep .deps/bifs/script_enc.dep .deps/bifs/unquantize.dep .deps/isomedia/avc_ext.dep .deps/isomedia/box_code_3gpp.dep .deps/isomedia/box_code_apple.dep .deps/isomedia/box_code_base.dep .deps/isomedia/box_code_drm.dep .deps/isomedia/box_code_meta.dep .deps/isomedia/box_dump.dep .deps/isomedia/box_funcs.dep .deps/isomedia/data_map.dep .deps/isomedia/drm_sample.dep .deps/isomedia/isom_intern.dep .deps/isomedia/isom_read.dep .deps/isomedia/isom_store.dep .deps/isomedia/isom_write.dep .deps/isomedia/media.dep .deps/isomedia/media_odf.dep .deps/isomedia/meta.dep .deps/isomedia/movie_fragments.dep .deps/isomedia/sample_descs.dep .deps/isomedia/stbl_read.dep .deps/isomedia/stbl_write.dep .deps/isomedia/track.dep .deps/isomedia/tx3g.dep .deps/isomedia/iff.dep .deps/isomedia/hint_track.dep .deps/isomedia/hinting.dep .deps/isomedia/box_code_adobe.dep .deps/odf/desc_private.dep .deps/odf/descriptors.dep .deps/odf/odf_code.dep .deps/odf/odf_codec.dep .deps/odf/odf_command.dep .deps/odf/qos.dep .deps/odf/slc.dep .deps/odf/ipmpx_code.dep .deps/odf/oci_codec.dep .deps/odf/ipmpx_dump.dep .deps/odf/ipmpx_parse.dep .deps/odf/odf_dump.dep .deps/odf/odf_parse.dep .deps/media_tools/isom_tools.dep .deps/media_tools/dash_segmenter.dep .deps/media_tools/av_parsers.dep .deps/media_tools/atsc_dmx.dep .deps/media_tools/img.dep .deps/media_tools/media_import.dep .deps/media_tools/mpegts.dep .deps/media_tools/m3u8.dep .deps/media_tools/mpd.dep .deps/media_tools/dash_client.dep .deps/media_tools/media_export.dep .deps/media_tools/m2ts_mux.dep .deps/media_tools/avilib.dep .deps/media_tools/mpeg2_ps.dep .deps/media_tools/gpac_ogg.dep .deps/media_tools/crypt_tools.dep .deps/media_tools/isom_hinter.dep .deps/media_tools/saf.dep .deps/media_tools/vobsub.dep .deps/media_tools/webvtt.dep .deps/scene_manager/scene_manager.dep .deps/scene_manager/text_to_bifs.dep .deps/scene_manager/loader_bt.dep .deps/scene_manager/loader_xmt.dep .deps/scene_manager/loader_isom.dep .deps/scene_manager/loader_qt.dep .deps/scene_manager/loader_svg.dep .deps/scene_manager/swf_parse.dep .deps/scene_manager/swf_bifs.dep .deps/scene_manager/swf_svg.dep .deps/scene_manager/scene_dump.dep .deps/scene_manager/scene_stats.dep .deps/scene_manager/scene_engine.dep .deps/scene_manager/encode_isom.dep .deps/terminal/terminal.dep .deps/compositor/audio_input.dep .deps/compositor/audio_mixer.dep .deps/compositor/audio_render.dep .deps/compositor/bindable.dep .deps/compositor/camera.dep .deps/compositor/compositor.dep .deps/compositor/compositor_2d.dep .deps/compositor/compositor_3d.dep .deps/compositor/compositor_node_init.dep .deps/compositor/drawable.dep .deps/compositor/events.dep .deps/compositor/font_engine.dep .deps/compositor/hc_flash_shape.dep .deps/compositor/hardcoded_protos.dep .deps/compositor/mesh.dep .deps/compositor/mesh_collide.dep .deps/compositor/mesh_tesselate.dep .deps/compositor/mpeg4_animstream.dep .deps/compositor/mpeg4_audio.dep .deps/compositor/mpeg4_background.dep .deps/compositor/mpeg4_background2d.dep .deps/compositor/mpeg4_bitmap.dep .deps/compositor/mpeg4_composite.dep .deps/compositor/mpeg4_form.dep .deps/compositor/mpeg4_geometry_2d.dep .deps/compositor/mpeg4_geometry_3d.dep .deps/compositor/mpeg4_geometry_ifs2d.dep .deps/compositor/mpeg4_geometry_ils2d.dep .deps/compositor/mpeg4_gradients.dep .deps/compositor/mpeg4_grouping.dep .deps/compositor/mpeg4_grouping_2d.dep .deps/compositor/mpeg4_grouping_3d.dep .deps/compositor/mpeg4_layer_2d.dep .deps/compositor/mpeg4_layer_3d.dep .deps/compositor/mpeg4_layout.dep .deps/compositor/mpeg4_lighting.dep .deps/compositor/mpeg4_path_layout.dep .deps/compositor/mpeg4_sensors.dep .deps/compositor/mpeg4_sound.dep .deps/compositor/mpeg4_text.dep .deps/compositor/mpeg4_textures.dep .deps/compositor/mpeg4_timesensor.dep .deps/compositor/mpeg4_viewport.dep .deps/compositor/navigate.dep .deps/compositor/offscreen_cache.dep .deps/compositor/svg_base.dep .deps/compositor/svg_filters.dep .deps/compositor/svg_font.dep .deps/compositor/svg_geometry.dep .deps/compositor/svg_grouping.dep .deps/compositor/svg_media.dep .deps/compositor/svg_paint_servers.dep .deps/compositor/svg_text.dep .deps/compositor/texturing.dep .deps/compositor/texturing_gl.dep .deps/compositor/visual_manager.dep .deps/compositor/visual_manager_2d.dep .deps/compositor/visual_manager_2d_draw.dep .deps/compositor/visual_manager_3d.dep .deps/compositor/visual_manager_3d_gl.dep .deps/compositor/x3d_geometry.dep .deps/compositor/clock.dep .deps/compositor/mpeg4_inputsensor.dep .deps/compositor/mpeg4_mediacontrol.dep .deps/compositor/media_object.dep .deps/compositor/mpeg4_mediasensor.dep .deps/compositor/mpeg4_inline.dep .deps/compositor/scene_ns.dep .deps/compositor/object_manager.dep .deps/compositor/scene.dep .deps/compositor/svg_external.dep .deps/compositor/scene_node_init.dep .deps/laser/lsr_enc.dep .deps/laser/lsr_dec.dep .deps/laser/lsr_tables.dep .deps/evg/ftgrays.dep .deps/evg/raster3d.dep .deps/evg/raster_565.dep .deps/evg/raster_argb.dep .deps/evg/raster_rgb.dep .deps/evg/raster_yuv.dep .deps/evg/stencil.dep .deps/evg/surface.dep .deps/filter_core/filter_pck.dep .deps/filter_core/filter_pid.dep .deps/filter_core/filter_props.dep .deps/filter_core/filter_queue.dep .deps/filter_core/filter_session.dep .deps/filter_core/filter_register.dep .deps/filter_core/filter.dep .deps/filter_core/filter_session_js.dep .deps/filters/bsrw.dep .deps/filters/compose.dep .deps/filters/dasher.dep .deps/filters/dec_ac52.dep .deps/filters/dec_bifs.dep .deps/filters/dec_faad.dep .deps/filters/dec_img.dep .deps/filters/dec_j2k.dep .deps/filters/dec_laser.dep .deps/filters/dec_mad.dep .deps/filters/dec_mediacodec.dep .deps/filters/dec_nvdec.dep .deps/filters/dec_nvdec_sdk.dep .deps/filters/dec_odf.dep .deps/filters/dec_theora.dep .deps/filters/dec_ttml.dep .deps/filters/dec_ttxt.dep .deps/filters/dec_vorbis.dep .deps/filters/dec_vtb.dep .deps/filters/dec_webvtt.dep .deps/filters/dec_xvid.dep .deps/filters/decrypt_cenc_isma.dep .deps/filters/dmx_avi.dep .deps/filters/dmx_dash.dep .deps/filters/dmx_gsf.dep .deps/filters/dmx_m2ts.dep .deps/filters/dmx_mpegps.dep .deps/filters/dmx_nhml.dep .deps/filters/dmx_nhnt.dep .deps/filters/dmx_ogg.dep .deps/filters/dmx_saf.dep .deps/filters/dmx_vobsub.dep .deps/filters/enc_jpg.dep .deps/filters/enc_png.dep .deps/filters/encrypt_cenc_isma.dep .deps/filters/ff_common.dep .deps/filters/ff_avf.dep .deps/filters/ff_dec.dep .deps/filters/ff_dmx.dep .deps/filters/ff_enc.dep .deps/filters/ff_rescale.dep .deps/filters/ff_mx.dep .deps/filters/filelist.dep .deps/filters/hevcmerge.dep .deps/filters/hevcsplit.dep .deps/filters/in_atsc.dep .deps/filters/in_dvb4linux.dep .deps/filters/in_file.dep .deps/filters/in_http.dep .deps/filters/in_pipe.dep .deps/filters/in_rtp.dep .deps/filters/in_rtp_rtsp.dep .deps/filters/in_rtp_sdp.dep .deps/filters/in_rtp_signaling.dep .deps/filters/in_rtp_stream.dep .deps/filters/in_sock.dep .deps/filters/inspect.dep .deps/filters/isoffin_load.dep .deps/filters/isoffin_read.dep .deps/filters/isoffin_read_ch.dep .deps/filters/jsfilter.dep .deps/filters/load_bt_xmt.dep .deps/filters/load_svg.dep .deps/filters/load_text.dep .deps/filters/mux_avi.dep .deps/filters/mux_gsf.dep .deps/filters/mux_isom.dep .deps/filters/mux_ts.dep .deps/filters/out_audio.dep .deps/filters/out_file.dep .deps/filters/out_http.dep .deps/filters/out_pipe.dep .deps/filters/out_rtp.dep .deps/filters/out_rtsp.dep .deps/filters/out_sock.dep .deps/filters/out_video.dep .deps/filters/reframer.dep .deps/filters/reframe_ac3.dep .deps/filters/reframe_adts.dep .deps/filters/reframe_latm.dep .deps/filters/reframe_amr.dep .deps/filters/reframe_av1.dep .deps/filters/reframe_flac.dep .deps/filters/reframe_h263.dep .deps/filters/reframe_img.dep .deps/filters/reframe_mp3.dep .deps/filters/reframe_mpgvid.dep .deps/filters/reframe_nalu.dep .deps/filters/reframe_prores.dep .deps/filters/reframe_qcp.dep .deps/filters/reframe_rawvid.dep .deps/filters/reframe_rawpcm.dep .deps/filters/resample_audio.dep .deps/filters/tileagg.dep .deps/filters/tssplit.dep .deps/filters/unit_test_filter.dep .deps/filters/rewind.dep .deps/filters/rewrite_adts.dep .deps/filters/rewrite_mp4v.dep .deps/filters/rewrite_nalu.dep .deps/filters/rewrite_obu.dep .deps/filters/vflip.dep .deps/filters/vcrop.dep .deps/filters/write_generic.dep .deps/filters/write_nhml.dep .deps/filters/write_nhnt.dep .deps/filters/write_qcp.dep .deps/filters/write_vtt.dep .deps/../modules/dektec_out/dektec_video_decl.dep .deps/filters/dec_opensvc.dep .deps/quickjs/cutils.dep .deps/quickjs/libbf.dep .deps/quickjs/libregexp.dep .deps/quickjs/libunicode.dep .deps/quickjs/quickjs.dep .deps/jsmods/core.dep .deps/jsmods/evg.dep .deps/jsmods/scene_js.dep .deps/jsmods/storage.dep .deps/jsmods/webgl.dep .deps/jsmods/xhr.dep > ".depend"
  CC utils/os_divers.c
  CC utils/os_file.c
  CC utils/list.c
  CC utils/bitstream.c
  CC utils/constants.c
  CC utils/error.c
  CC utils/alloc.c
  CC utils/url.c
  CC utils/configfile.c
  CC utils/gltools.c
  CC utils/gzio.c
  CC utils/sha1.c
  CC utils/base_encoding.c
  CC utils/math.c
  CC utils/os_net.c
utils/os_net.c: In function 'gf_sk_get_ipv6_addr':
utils/os_net.c:274:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  274 |   strncpy(node, PeerName, MAX_PEER_NAME_LEN);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils/os_net.c:277:4: warning: 'strncpy' accessing 1024 bytes at offsets 0 and 1 overlaps between 1 and 1023 bytes at offset 1 [-Wrestrict]
  277 |    strncpy(node, &node[1], MAX_PEER_NAME_LEN);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC utils/os_thread.c
  CC utils/os_config_init.c
utils/os_config_init.c: In function 'gf_sys_set_cfg_option':
utils/os_config_init.c:1302:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 1302 |  strncpy(szVal, sep2+1, sepIdx);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils/os_config_init.c:1299:11: note: length computed here
 1299 |  sepIdx = strlen(sep2+1);
      |           ^~~~~~~~~~~~~~
  CC utils/cache.c
  CC utils/downloader.c
In file included from utils/downloader.c:39:
utils/downloader.c: In function 'gf_ssl_server_context_new':
/home/pbulk/build/multimedia/gpac/work/.buildlink/include/openssl/ssl.h:1496:52: warning: statement with no effect [-Wunused-value]
 1496 | #  define SSL_CTX_set_ecdh_auto(dummy, onoff)      ((onoff) != 0)
      |                                                    ^
utils/downloader.c:499:5: note: in expansion of macro 'SSL_CTX_set_ecdh_auto'
  499 |     SSL_CTX_set_ecdh_auto(ctx, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
  CC utils/xml_parser.c
  CC utils/utf.c
  CC utils/token.c
  CC utils/color.c
  CC utils/Remotery.c
utils/Remotery.c: In function 'rmtGetProcAddress':
utils/Remotery.c:220:1: warning: no return statement in function returning non-void [-Wreturn-type]
  220 | }
      | ^
utils/Remotery.c: In function 'usTimer_Get':
utils/Remotery.c:331:1: warning: no return statement in function returning non-void [-Wreturn-type]
  331 | }
      | ^
utils/Remotery.c: In function 'tlsGet':
utils/Remotery.c:435:1: warning: no return statement in function returning non-void [-Wreturn-type]
  435 | }
      | ^
utils/Remotery.c: In function 'AtomicCompareAndSwap':
utils/Remotery.c:455:1: warning: no return statement in function returning non-void [-Wreturn-type]
  455 | }
      | ^
utils/Remotery.c: In function 'AtomicCompareAndSwapPointer':
utils/Remotery.c:469:1: warning: no return statement in function returning non-void [-Wreturn-type]
  469 | }
      | ^
utils/Remotery.c: In function 'AtomicAdd':
utils/Remotery.c:484:1: warning: no return statement in function returning non-void [-Wreturn-type]
  484 | }
      | ^
utils/Remotery.c: In function 'rmtThread_Valid':
utils/Remotery.c:1082:17: warning: implicit declaration of function 'pthread_equal' [-Wimplicit-function-declaration]
 1082 |         return !pthread_equal(thread->handle, pthread_self());
      |                 ^~~~~~~~~~~~~
utils/Remotery.c:1082:47: warning: implicit declaration of function 'pthread_self' [-Wimplicit-function-declaration]
 1082 |         return !pthread_equal(thread->handle, pthread_self());
      |                                               ^~~~~~~~~~~~
utils/Remotery.c: In function 'rmtThread_Constructor':
utils/Remotery.c:1113:25: warning: implicit declaration of function 'pthread_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration]
 1113 |         int32_t error = pthread_create( &thread->handle, NULL, StartFunc, thread );
      |                         ^~~~~~~~~~~~~~
      |                         timer_create
utils/Remotery.c: In function 'rmtThread_Join':
utils/Remotery.c:1143:5: warning: implicit declaration of function 'pthread_join'; did you mean 'rmtThread_Join'? [-Wimplicit-function-declaration]
 1143 |     pthread_join(thread->handle, NULL);
      |     ^~~~~~~~~~~~
      |     rmtThread_Join
utils/Remotery.c: In function 'TCPSocket_RunServer':
utils/Remotery.c:2298:24: error: storage size of 'sin' isn't known
 2298 |     struct sockaddr_in sin;
      |                        ^~~
utils/Remotery.c:2307:9: warning: implicit declaration of function 'socket' [-Wimplicit-function-declaration]
 2307 |     s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
      |         ^~~~~~
utils/Remotery.c:2307:16: error: 'AF_INET' undeclared (first use in this function)
 2307 |     s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
      |                ^~~~~~~
utils/Remotery.c:2307:16: note: each undeclared identifier is reported only once for each function it appears in
utils/Remotery.c:2307:25: error: 'SOCK_STREAM' undeclared (first use in this function)
 2307 |     s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
      |                         ^~~~~~~~~~~
utils/Remotery.c:2307:38: error: 'IPPROTO_TCP' undeclared (first use in this function)
 2307 |     s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
      |                                      ^~~~~~~~~~~
utils/Remotery.c:2313:13: warning: unused variable 'enable' [-Wunused-variable]
 2313 |         int enable = 1;
      |             ^~~~~~
utils/Remotery.c:2332:27: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration]
 2332 |     sin.sin_addr.s_addr = htonl(limit_connections_to_localhost ? INADDR_LOOPBACK : INADDR_ANY);
      |                           ^~~~~
utils/Remotery.c:2332:66: error: 'INADDR_LOOPBACK' undeclared (first use in this function)
 2332 |     sin.sin_addr.s_addr = htonl(limit_connections_to_localhost ? INADDR_LOOPBACK : INADDR_ANY);
      |                                                                  ^~~~~~~~~~~~~~~
utils/Remotery.c:2332:84: error: 'INADDR_ANY' undeclared (first use in this function)
 2332 |     sin.sin_addr.s_addr = htonl(limit_connections_to_localhost ? INADDR_LOOPBACK : INADDR_ANY);
      |                                                                                    ^~~~~~~~~~
utils/Remotery.c:2333:20: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration]
 2333 |     sin.sin_port = htons(port);
      |                    ^~~~~
utils/Remotery.c:2334:9: warning: implicit declaration of function 'bind' [-Wimplicit-function-declaration]
 2334 |     if (bind(s, (struct sockaddr*)&sin, sizeof(sin)) == SOCKET_ERROR)
      |         ^~~~
utils/Remotery.c:2341:9: warning: implicit declaration of function 'listen' [-Wimplicit-function-declaration]
 2341 |     if (listen(s, 1) == SOCKET_ERROR)
      |         ^~~~~~
utils/Remotery.c:2349:13: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
 2349 |         if (fcntl(tcp_socket->socket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR)
      |             ^~~~~
utils/Remotery.c:2349:39: error: 'F_SETFL' undeclared (first use in this function)
 2349 |         if (fcntl(tcp_socket->socket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR)
      |                                       ^~~~~~~
utils/Remotery.c:2349:48: error: 'O_NONBLOCK' undeclared (first use in this function)
 2349 |         if (fcntl(tcp_socket->socket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR)
      |                                                ^~~~~~~~~~
utils/Remotery.c:2298:24: warning: unused variable 'sin' [-Wunused-variable]
 2298 |     struct sockaddr_in sin;
      |                        ^~~
utils/Remotery.c: In function 'TCPSocket_Close':
utils/Remotery.c:2364:22: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration]
 2364 |         int result = shutdown(tcp_socket->socket, SD_SEND);
      |                      ^~~~~~~~
utils/Remotery.c:2226:21: error: 'SHUT_WR' undeclared (first use in this function)
 2226 |     #define SD_SEND SHUT_WR
      |                     ^~~~~~~
utils/Remotery.c:2364:51: note: in expansion of macro 'SD_SEND'
 2364 |         int result = shutdown(tcp_socket->socket, SD_SEND);
      |                                                   ^~~~~~~
utils/Remotery.c:2372:31: warning: implicit declaration of function 'recv' [-Wimplicit-function-declaration]
 2372 |                 result = (int)recv(tcp_socket->socket, temp_buf, sizeof(temp_buf), 0);
      |                               ^~~~
utils/Remotery.c:2227:25: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
 2227 |     #define closesocket close
      |                         ^~~~~
utils/Remotery.c:2378:9: note: in expansion of macro 'closesocket'
 2378 |         closesocket(tcp_socket->socket);
      |         ^~~~~~~~~~~
utils/Remotery.c: In function 'TCPSocket_AcceptConnection':
utils/Remotery.c:2445:9: warning: implicit declaration of function 'accept' [-Wimplicit-function-declaration]
 2445 |     s = accept(tcp_socket->socket, 0, 0);
      |         ^~~~~~
utils/Remotery.c: In function 'TCPSocketWouldBlock':
utils/Remotery.c:2478:17: error: 'errno' undeclared (first use in this function)
 2478 |     int error = errno;
      |                 ^~~~~
utils/Remotery.c:100:1: note: 'errno' is defined in header '<errno.h>'; did you forget to '#include <errno.h>'?
   99 |     #include <assert.h>
  +++ |+#include <errno.h>
  100 | 
utils/Remotery.c:2479:22: error: 'EAGAIN' undeclared (first use in this function)
 2479 |     return (error == EAGAIN || error == EWOULDBLOCK);
      |                      ^~~~~~
utils/Remotery.c:2479:41: error: 'EWOULDBLOCK' undeclared (first use in this function)
 2479 |     return (error == EAGAIN || error == EWOULDBLOCK);
      |                                         ^~~~~~~~~~~
utils/Remotery.c: In function 'TCPSocket_Send':
utils/Remotery.c:2523:27: warning: implicit declaration of function 'send' [-Wimplicit-function-declaration]
 2523 |         bytes_sent = (int)send(tcp_socket->socket, cur_data, (int)(end_data - cur_data), send_flags);
      |                           ^~~~
utils/Remotery.c: In function 'TCPSocketWouldBlock':
utils/Remotery.c:2482:1: warning: control reaches end of non-void function [-Wreturn-type]
 2482 | }
      | ^
At top level:
utils/Remotery.c:187:14: warning: 'rmtLoadLibrary' defined but not used [-Wunused-function]
  187 | static void* rmtLoadLibrary(const char* path)
      |              ^~~~~~~~~~~~~~
gmake[1]: *** [../config.mak:155: utils/Remotery.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/multimedia/gpac/work/gpac-1.0.1/src'
gmake: *** [Makefile:13: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/multimedia/gpac
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/multimedia/gpac