+ 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/3proxy-0.8.11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/3proxy-0.8.11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for 3proxy-0.8.11
cat Makefile.unix > src/Makefile.var
gcc -omycryptmain.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN mycrypt.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP pop3p.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP smtpp.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP ftppr.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP tcppm.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP icqpr.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP udppm.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP socks.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL StringsPlugin.c
gcc -o../../StringsPlugin.so -pthread -shared StringsPlugin.o
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL TrafficPlugin.c
gcc -o../../TrafficPlugin.so -pthread -shared TrafficPlugin.o
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_compile.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_config.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dfa_exec.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_exec.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_fullinfo.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_get.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_globals.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_info.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_maketables.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_newline.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_ord2utf8.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_refcount.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_study.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_tables.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_try_flipped.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_ucp_searchfuncs.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_valid_utf8.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_version.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL  pcre_xclass.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dftables.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_plugin.c
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcreposix.c
gcc -o../../PCREPlugin.so -pthread -shared pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcre_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o pcre_xclass.o pcre_dftables.o pcre_plugin.o pcreposix.o
gcc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pamauth.c
pamauth.c: In function 'pamfunc':
pamauth.c:77:9: warning: initialization of 'int (*)(int,  struct pam_message **, struct pam_response **, void *)' from incompatible pointer type 'int (*)(int,  const struct pam_message **, struct pam_response **, void *)' [-Wincompatible-pointer-types]
   77 |         &password_conversation,
      |         ^
pamauth.c:77:9: note: (near initialization for 'conv.conv')
gcc -o../../pamauth.so -pthread -shared -lpam pamauth.o
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c
gcc -omainfunc.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c
gcc -osrvproxy.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c
gcc -osrvpop3p.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c
gcc -osrvsmtpp.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c
gcc -osrvftppr.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c
gcc -osrvsocks.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c
gcc -osrvtcppm.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c
gcc -osrvicqpr.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL icqpr.c
gcc -osrvudppm.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL udppm.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockmap.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockgetchar.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL myalloc.c
gcc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL common.c
common.c:162:2: warning: initialization of 'int (*)(int,  struct sockaddr *, socklen_t *)' {aka 'int (*)(int,  struct sockaddr *, unsigned int *)'} from incompatible pointer type 'int (*)(int,  struct sockaddr * restrict,  void *)' [-Wincompatible-pointer-types]
  162 |  accept,
      |  ^~~~~~
common.c:162:2: note: (near initialization for 'so._accept')
common.c:166:2: warning: initialization of 'int (*)(int,  struct sockaddr *, socklen_t *)' {aka 'int (*)(int,  struct sockaddr *, unsigned int *)'} from incompatible pointer type 'int (*)(int,  struct sockaddr * restrict,  void *)' [-Wincompatible-pointer-types]
  166 |  getpeername,
      |  ^~~~~~~~~~~
common.c:166:2: note: (near initialization for 'so._getpeername')
common.c:167:2: warning: initialization of 'int (*)(int,  struct sockaddr *, socklen_t *)' {aka 'int (*)(int,  struct sockaddr *, unsigned int *)'} from incompatible pointer type 'int (*)(int,  struct sockaddr * restrict,  void *)' [-Wincompatible-pointer-types]
  167 |  getsockname,
      |  ^~~~~~~~~~~
common.c:167:2: note: (near initialization for 'so._getsockname')
common.c:168:2: warning: initialization of 'int (*)(int,  int,  int,  void *, socklen_t *)' {aka 'int (*)(int,  int,  int,  void *, unsigned int *)'} from incompatible pointer type 'int (*)(int,  int,  int,  void * restrict,  void *)' [-Wincompatible-pointer-types]
  168 |  getsockopt,
      |  ^~~~~~~~~~
common.c:168:2: note: (near initialization for 'so._getsockopt')
common.c:171:2: warning: initialization of 'int (*)(struct pollfd *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct pollfd *, nfds_t,  int)' {aka 'int (*)(struct pollfd *, long unsigned int,  int)'} [-Wincompatible-pointer-types]
  171 |  poll,
      |  ^~~~
common.c:171:2: note: (near initialization for 'so._poll')
common.c: In function 'dobuf2':
common.c:387:15: error: 'struct tm' has no member named 'tm_gmtoff'
  387 |  timezone = tm->tm_gmtoff / 60;
      |               ^~
*** [common.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/3proxy/work/3proxy/src
1 error

bmake[1]: stopped in /home/pbulk/build/net/3proxy/work/3proxy/src
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/3proxy/work/3proxy
1 error

bmake: stopped in /home/pbulk/build/net/3proxy/work/3proxy
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/3proxy
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/3proxy