+ 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/mad-flute-1.7nb25/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mad-flute-1.7nb25/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mad-flute-1.7nb25
-------------------
*** ALC library ***
-------------------
mkdir lib; cd alclib; /opt/pkg/bin/gmake clean; /opt/pkg/bin/gmake                   
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/alclib'
rm -f ../lib/libalc.a *.o *~
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/alclib'
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/alclib'
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_channel.o alc_channel.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_hdr.o alc_hdr.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_rx.o alc_rx.c
alc_rx.c: In function 'recv_packet':
alc_rx.c:1080:13: warning: variable 'fromlen' set but not used [-Wunused-but-set-variable]
 1080 |   socklen_t fromlen;
      |             ^~~~~~~
alc_rx.c:1070:27: warning: variable 'from' set but not used [-Wunused-but-set-variable]
 1070 |   struct sockaddr_storage from;
      |                           ^~~~
alc_rx.c: In function 'rx_thread':
alc_rx.c:1321:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable]
 1321 |   int retval = 0;
      |       ^~~~~~
alc_rx.c: In function 'analyze_packet':
alc_rx.c:678:79: warning: '%s' directive writing 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  678 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                                               ^~                    ~~~~~~~~~~~~~~~
alc_rx.c:678:57: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024
  678 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alc_rx.c:672:79: warning: '%s' directive writing 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  672 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                                               ^~                    ~~~~~~~~~~~~~~~
alc_rx.c:672:57: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024
  672 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alc_rx.c:667:79: warning: '%s' directive writing 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  667 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                                               ^~                    ~~~~~~~~~~~~~~~
alc_rx.c:667:57: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024
  667 |                                                         sprintf(filename, "%s/%s", ch->s->base_dir, "object_XXXXXX");
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alc_rx.c:713:71: warning: '%s' directive writing 9 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  713 |                                                 sprintf(filename, "%s/%s", ch->s->base_dir, "st_XXXXXX");
      |                                                                       ^~                    ~~~~~~~~~~~
alc_rx.c:713:49: note: 'sprintf' output between 11 and 1034 bytes into a destination of size 1024
  713 |                                                 sprintf(filename, "%s/%s", ch->s->base_dir, "st_XXXXXX");
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_session.o alc_session.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_socket.o alc_socket.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_tx.o alc_tx.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o lct_hdr.o lct_hdr.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o mad.o mad.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o transport.o transport.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o blocking_alg.o blocking_alg.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o null_fec.o null_fec.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o xor_fec.o xor_fec.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o fec.o fec.c
fec.c: In function 'fec_free':
fec.c:672:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  672 |        p->magic != ( ( (FEC_MAGIC ^ p->k) ^ p->n) ^ (int)(p->enc_matrix)) ) {
      |                                                     ^
fec.c: In function 'fec_new':
fec.c:708:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  708 |     retval->magic = ( ( FEC_MAGIC ^ k) ^ n) ^ (int)(retval->enc_matrix) ;
      |                                               ^
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o rs_fec.o rs_fec.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o mad_rlc.o mad_rlc.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE  -o alc_list.o alc_list.c
creating library ../lib/libalc.a...
ar rc ../lib/libalc.a alc_channel.o alc_hdr.o alc_rx.o alc_session.o alc_socket.o alc_tx.o lct_hdr.o mad.o transport.o blocking_alg.o null_fec.o xor_fec.o fec.o rs_fec.o mad_rlc.o alc_list.o
ranlib ../lib/libalc.a
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/alclib'
done
-------------------
*** SDP library ***
-------------------
mkdir lib; cd sdplib; /opt/pkg/bin/gmake clean; /opt/pkg/bin/gmake                   
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/sdplib'
rm -f ../lib/libsdp.a *.o *~
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/sdplib'
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/sdplib'
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -DSTDC_HEADERS -DHAVE_CTYPE_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H -DHAVE_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_SYS_UNISTD_H -DHAVE_SYS_SELECT_H -DHAVE_PTH_PTHREAD_H -o osip_port.o osip_port.c
osip_port.c: In function 'osip_hash':
osip_port.c:1095:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1095 |   while (c = *str++)
      |          ^
osip_port.c: At top level:
osip_port.c:104:27: warning: 'trace_func' defined but not used [-Wunused-variable]
  104 | static osip_trace_func_t *trace_func = 0;
      |                           ^~~~~~~~~~
osip_port.c:103:12: warning: 'use_syslog' defined but not used [-Wunused-variable]
  103 | static int use_syslog = 0;
      |            ^~~~~~~~~~
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -DSTDC_HEADERS -DHAVE_CTYPE_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H -DHAVE_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_SYS_UNISTD_H -DHAVE_SYS_SELECT_H -DHAVE_PTH_PTHREAD_H -o osip_list.o osip_list.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -DSTDC_HEADERS -DHAVE_CTYPE_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H -DHAVE_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_SYS_UNISTD_H -DHAVE_SYS_SELECT_H -DHAVE_PTH_PTHREAD_H -o sdp_accessor.o sdp_accessor.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -DSTDC_HEADERS -DHAVE_CTYPE_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H -DHAVE_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_SYS_UNISTD_H -DHAVE_SYS_SELECT_H -DHAVE_PTH_PTHREAD_H -o sdp_message.o sdp_message.c
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -DSTDC_HEADERS -DHAVE_CTYPE_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H -DHAVE_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_SYS_UNISTD_H -DHAVE_SYS_SELECT_H -DHAVE_PTH_PTHREAD_H -o sdplib.o sdplib.c
creating library ../lib/libsdp.a...
ar rc ../lib/libsdp.a osip_port.o osip_list.o sdp_accessor.o sdp_message.o sdplib.o
ranlib ../lib/libsdp.a
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/sdplib'
done
---------------------
*** FLUTE library ***
---------------------
mkdir lib; cd flutelib; /opt/pkg/bin/gmake clean; /opt/pkg/bin/gmake
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/flutelib'
rm -f ../lib/libflutelib.a *.o *~
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/flutelib'
gmake[1]: Entering directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/flutelib'
gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -O3 -g -fPIC -DLINUX -D_LARGE_FILE_API -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE -D_XOPEN_SOURCE=500 -I/opt/pkg/ssl/include -I/opt/pkg/include/curl -o flute.o flute.c
In file included from ../alclib/alc_session.h:45,
                 from flute.c:56:
../alclib/mad.h:138:34: warning: 'struct in6_addr' declared inside parameter list will not be visible outside of this definition or declaration
  138 | int increase_ipv6_address(struct in6_addr *ipv6);
      |                                  ^~~~~~~~
In file included from ../alclib/alc_channel.h:47,
                 from ../alclib/alc_rx.h:40,
                 from flute.c:58:
../alclib/linux_ssm.h:74:27: error: field 'gr_group' has incomplete type
   74 |   struct sockaddr_storage gr_group;     /**< group address */
      |                           ^~~~~~~~
../alclib/linux_ssm.h:83:27: error: field 'gsr_group' has incomplete type
   83 |   struct sockaddr_storage gsr_group;    /**< group address */
      |                           ^~~~~~~~~
../alclib/linux_ssm.h:84:27: error: field 'gsr_source' has incomplete type
   84 |   struct sockaddr_storage gsr_source;   /**< source address */
      |                           ^~~~~~~~~~
../alclib/alc_channel.h:85:31: error: field 'source_imr' has incomplete type
   85 |         struct ip_mreq_source source_imr;       /**< for SSM join/leave */
      |                               ^~~~~~~~~~
../alclib/alc_channel.h:93:24: error: field 'imr' has incomplete type
   93 |         struct ip_mreq imr;                                     /**< for join/leave */
      |                        ^~~
../alclib/alc_channel.h:94:26: error: field 'imr6' has incomplete type
   94 |         struct ipv6_mreq imr6;                          /**< for IPv6 join/leave*/
      |                          ^~~~
../alclib/alc_channel.h:97:29: error: field 'remote6' has incomplete type
   97 |         struct sockaddr_in6 remote6;            /**< remote IPv6 multicast address */
      |                             ^~~~~~~
In file included from flute.h:43,
                 from flute.c:60:
parse_args.h:116:72: error: 'INET6_ADDRSTRLEN' undeclared here (not in a function)
  116 | int parse_sdp_file(arguments_t *a, char addrs[MAX_CHANNELS_IN_SESSION][INET6_ADDRSTRLEN],
      |                                                                        ^~~~~~~~~~~~~~~~
flute.c: In function 'flute_sender':
flute.c:431:29: error: storage size of 'ipv6' isn't known
  431 |         struct sockaddr_in6 ipv6;
      |                             ^~~~
flute.c:433:45: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
  433 |         char addrs[MAX_CHANNELS_IN_SESSION][INET6_ADDRSTRLEN];  /* Mcast addresses on which to send */
      |                                             ^~~~~~~~~~~~~~~~
flute.c:433:45: note: each undeclared identifier is reported only once for each function it appears in
flute.c:491:38: error: type of formal parameter 2 is incomplete
  491 |                 if(parse_sdp_file(a, addrs, ports, sdp_buf) == -1) {
      |                                      ^~~~~
flute.c:516:25: warning: implicit declaration of function 'inet_pton'; did you mean 'inet_aton'? [-Wimplicit-function-declaration]
  516 |                         inet_pton(AF_INET6, a->alc_a.addr, &ipv6.sin6_addr);
      |                         ^~~~~~~~~
      |                         inet_aton
flute.c:528:33: warning: implicit declaration of function 'inet_ntop'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration]
  528 |                                 inet_ntop(AF_INET6, &ipv6.sin6_addr, addrs[j], sizeof(addrs[j]));
      |                                 ^~~~~~~~~
      |                                 inet_ntoa
flute.c:451:13: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable]
  451 |         int nbytes;
      |             ^~~~~~
flute.c:433:14: warning: unused variable 'addrs' [-Wunused-variable]
  433 |         char addrs[MAX_CHANNELS_IN_SESSION][INET6_ADDRSTRLEN];  /* Mcast addresses on which to send */
      |              ^~~~~
flute.c:431:29: warning: unused variable 'ipv6' [-Wunused-variable]
  431 |         struct sockaddr_in6 ipv6;
      |                             ^~~~
flute.c: In function 'flute_receiver_report':
flute.c:754:29: error: storage size of 'ipv6' isn't known
  754 |         struct sockaddr_in6 ipv6;
      |                             ^~~~
flute.c:756:45: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
  756 |         char addrs[MAX_CHANNELS_IN_SESSION][INET6_ADDRSTRLEN];  /* Mcast addresses */
      |                                             ^~~~~~~~~~~~~~~~
flute.c:842:38: error: type of formal parameter 2 is incomplete
  842 |                 if(parse_sdp_file(a, addrs, ports, sdp_buf) == -1) {
      |                                      ^~~~~
flute.c:1325:61: warning: the comparison will always evaluate as 'true' for the address of 'sessionDescriptionURI' will never be NULL [-Waddress]
 1325 |                 if(apd->bmFileRepair->sessionDescriptionURI != NULL) {
      |                                                             ^~
In file included from flute.c:73:
apd.h:78:8: note: 'sessionDescriptionURI' declared here
   78 |   char sessionDescriptionURI[MAX_HTTP_URL_LENGTH];      /**< URI where to fecth file repair session description */
      |        ^~~~~~~~~~~~~~~~~~~~~
flute.c:779:13: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable]
  779 |         int nbytes;
      |             ^~~~~~
flute.c:756:14: warning: unused variable 'addrs' [-Wunused-variable]
  756 |         char addrs[MAX_CHANNELS_IN_SESSION][INET6_ADDRSTRLEN];  /* Mcast addresses */
      |              ^~~~~
flute.c:754:29: warning: unused variable 'ipv6' [-Wunused-variable]
  754 |         struct sockaddr_in6 ipv6;
      |                             ^~~~
gmake[1]: *** [Makefile:13: flute.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/devel/mad-flute/work/mad_fcl_v1.7_src/flutelib'
gmake: *** [Makefile:21: flutelib] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mad-flute
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mad-flute