+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/screws-0.56nb29/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/screws-0.56nb29/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for screws-0.56nb29
<ConfigOptions>


ETCPREFIX?=${PREFIX}
CFGFILE?=${ETCPREFIX}/etc/screws.conf
LOGFILE?=${PREFIX}/var/log/access.log
ERRFILE?=${PREFIX}/var/log/error.log
EXEC?=${PREFIX}/share/screws/exec/main.pl
DIP?=${PREFIX}/share/screws/hsml-inc/
DEP?=/tmp
EXEC_PATH=${PREFIX}/libexec/screws/
MODULE_PATH=${PREFIX}/lib/screws/

DEBUG?=1
POLL?=1
IPV6?=1
LOGS?=1
DLOPEN?=1
SSL?=1

INCORE_LUA?=0

DEFS+= -DPATH_PYTHON=\"${PYTHON}\" -DPATH_SH=\"${SH}\"
DEFS+= -DPATH_LUA=\"${LUA}\" -DPATH_JAVA=\"${JAVA}\"
DEFS+= -DPATH_CSHARP=\"${CSHARP}\"
DEFS+= -DDIP=\"${DIP}\" -DDEP=\"${DEP}\"

</ConfigOptions>
<!-- sleeping 1 second... -->
gmake[1]: Entering directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
[O] Options
 * USE_POLL
 * USE_DEBUG
 * USE_SSL
[screwsd] Accept.c
Accept.c: In function 'Accept':
Accept.c:67:17: warning: implicit declaration of function 'screws_logs_error' [-Wimplicit-function-declaration]
   67 |                 screws_logs_error(n,ERROR_MAXTHR,"");
      |                 ^~~~~~~~~~~~~~~~~
Accept.c:106:19: warning: implicit declaration of function 'SslShowCertificates' [-Wimplicit-function-declaration]
  106 |                   SslShowCertificates(ssl);
      |                   ^~~~~~~~~~~~~~~~~~~
Accept.c:128:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  128 |                 sock=(int)ssl;
      |                      ^
Accept.c:137:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  137 |           if ((int)b>ERROR_NULL && (int)b<ERROR_LASTONE)
      |               ^
Accept.c:137:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  137 |           if ((int)b>ERROR_NULL && (int)b<ERROR_LASTONE)
      |                                    ^
Accept.c:156:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  156 |           if ( ((int)b>0) && ((int)b<ERROR_LASTONE) )
      |                 ^
Accept.c:156:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  156 |           if ( ((int)b>0) && ((int)b<ERROR_LASTONE) )
      |                               ^
Accept.c:157:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  157 |                 return (int)b;
      |                        ^
Accept.c:190:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  190 |         if ( ((int)b<ERROR_LASTONE) && ((int)b>=0))
      |               ^
Accept.c:190:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  190 |         if ( ((int)b<ERROR_LASTONE) && ((int)b>=0))
      |                                         ^
Accept.c:193:17: warning: implicit declaration of function 'screws_socket_close' [-Wimplicit-function-declaration]
  193 |                 screws_socket_close(s);
      |                 ^~~~~~~~~~~~~~~~~~~
Accept.c:219:17: warning: implicit declaration of function 'screws_heads_parse' [-Wimplicit-function-declaration]
  219 |                 screws_heads_parse((int)ssl,b,head,nheads);
      |                 ^~~~~~~~~~~~~~~~~~
Accept.c:219:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  219 |                 screws_heads_parse((int)ssl,b,head,nheads);
      |                                    ^
Accept.c:234:9: warning: implicit declaration of function 'screws_IO' [-Wimplicit-function-declaration]
  234 |         screws_IO(sock,n,head);
      |         ^~~~~~~~~
[screwsd] Args.c
Args.c: In function 'freedup':
Args.c:22:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   22 |         return  (int)dst;
      |                 ^
[screwsd] Config.c
Config.c: In function 'conf_parse_key':
Config.c:670:36: warning: implicit declaration of function 'screws_module_add'; did you mean 'CONF_module_add'? [-Wimplicit-function-declaration]
  670 |                 if (Svr.strict & ! screws_module_add(b[0]) )
      |                                    ^~~~~~~~~~~~~~~~~
      |                                    CONF_module_add
Config.c:684:23: warning: implicit declaration of function 'screws_module_option' [-Wimplicit-function-declaration]
  684 |                 if (! screws_module_option(b[0],b[1]) )
      |                       ^~~~~~~~~~~~~~~~~~~~
[screwsd] Engine.c
Engine.c: In function 'launchListen':
Engine.c:155:24: warning: implicit declaration of function 'screws_socket_listen' [-Wimplicit-function-declaration]
  155 |         Svr.Lis[n].s = screws_socket_listen(
      |                        ^~~~~~~~~~~~~~~~~~~~
Engine.c:168:14: warning: implicit declaration of function 'screws_logs_init' [-Wimplicit-function-declaration]
  168 |         ok = screws_logs_init(n); // TODO catch FALSE!
      |              ^~~~~~~~~~~~~~~~
Engine.c:175:9: warning: implicit declaration of function 'screws_ssl_init' [-Wimplicit-function-declaration]
  175 |         screws_ssl_init(n); // TODO catch FALSE!
      |         ^~~~~~~~~~~~~~~
Engine.c:177:9: warning: implicit declaration of function 'setParentEnv' [-Wimplicit-function-declaration]
  177 |         setParentEnv(n);
      |         ^~~~~~~~~~~~
[screwsd] Env.c
Env.c: In function 'setenv':
Env.c:28:15: error: argument 'var' doesn't match prototype
   28 |         char *var,*val;
      |               ^~~
In file included from main.h:16,
                 from Env.h:5,
                 from Env.c:9:
/usr/include/stdlib.h:249:12: error: prototype declaration
  249 | extern int setenv(const char *, const char *, int);
      |            ^~~~~~
Env.c:28:20: error: argument 'val' doesn't match prototype
   28 |         char *var,*val;
      |                    ^~~
/usr/include/stdlib.h:249:12: error: prototype declaration
  249 | extern int setenv(const char *, const char *, int);
      |            ^~~~~~
Env.c: In function 'setEnv':
Env.c:324:14: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
  324 |         if ( execModule(MOD_ENV) ) return;
      |              ^~~~~~~~~~
      |              execle
gmake[1]: *** [Makefile:24: Env.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
/usr/bin/bash: line 2: cd: src/Hsml: No such file or directory
/usr/bin/bash: line 2: cd: src/Utils: No such file or directory
/usr/bin/bash: line 2: cd: src/Modules: No such file or directory
Build is done