+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/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 /usr/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>
gmake[1]: Entering directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
[O] Options


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... -->
 * USE_POLL
 * USE_DEBUG
 * USE_SSL
 * USE_DLOPEN
[screwsd] Accept.c
Accept.c: In function 'Accept':
Accept.c:67:3: warning: implicit declaration of function 'screws_logs_error' [-Wimplicit-function-declaration]
   screws_logs_error(n,ERROR_MAXTHR,"");
   ^~~~~~~~~~~~~~~~~
Accept.c:106:5: warning: implicit declaration of function 'SslShowCertificates'; did you mean 'OBJ_cACertificate'? [-Wimplicit-function-declaration]
     SslShowCertificates(ssl);
     ^~~~~~~~~~~~~~~~~~~
     OBJ_cACertificate
Accept.c:128:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   sock=(int)ssl;
        ^
Accept.c:137:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    if ((int)b>ERROR_NULL && (int)b<ERROR_LASTONE)
        ^
Accept.c:137:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    if ((int)b>ERROR_NULL && (int)b<ERROR_LASTONE)
                             ^
Accept.c:156:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    if ( ((int)b>0) && ((int)b<ERROR_LASTONE) )
          ^
Accept.c:156:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    if ( ((int)b>0) && ((int)b<ERROR_LASTONE) )
                        ^
Accept.c:157:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   return (int)b;
          ^
Accept.c:190:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ( ((int)b<ERROR_LASTONE) && ((int)b>=0))
        ^
Accept.c:190:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ( ((int)b<ERROR_LASTONE) && ((int)b>=0))
                                  ^
Accept.c:193:3: warning: implicit declaration of function 'screws_socket_close'; did you mean 'BIO_set_close'? [-Wimplicit-function-declaration]
   screws_socket_close(s);
   ^~~~~~~~~~~~~~~~~~~
   BIO_set_close
Accept.c:219:3: warning: implicit declaration of function 'screws_heads_parse' [-Wimplicit-function-declaration]
   screws_heads_parse((int)ssl,b,head,nheads);
   ^~~~~~~~~~~~~~~~~~
Accept.c:219:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   screws_heads_parse((int)ssl,b,head,nheads);
                      ^
Accept.c:234:2: warning: implicit declaration of function 'screws_IO' [-Wimplicit-function-declaration]
  screws_IO(sock,n,head);
  ^~~~~~~~~
[screwsd] Args.c
Args.c: In function 'freedup':
Args.c:22:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return  (int)dst;
          ^
[screwsd] Config.c
Config.c: In function 'conf_parse_key':
Config.c:670:22: warning: implicit declaration of function 'screws_module_add'; did you mean 'CONF_module_add'? [-Wimplicit-function-declaration]
   if (Svr.strict & ! screws_module_add(b[0]) )
                      ^~~~~~~~~~~~~~~~~
                      CONF_module_add
Config.c:684:9: warning: implicit declaration of function 'screws_module_option'; did you mean 'screws_ssl_init'? [-Wimplicit-function-declaration]
   if (! screws_module_option(b[0],b[1]) )
         ^~~~~~~~~~~~~~~~~~~~
         screws_ssl_init
Config.c: In function 'ReadConfig':
Config.c:742:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
   fgets(buf[0],BUFSIZE,f);
   ^~~~~~~~~~~~~~~~~~~~~~~
[screwsd] Engine.c
[screwsd] Env.c
Engine.c: In function 'launchListen':
Engine.c:155:17: warning: implicit declaration of function 'screws_socket_listen' [-Wimplicit-function-declaration]
  Svr.Lis[n].s = screws_socket_listen(
                 ^~~~~~~~~~~~~~~~~~~~
Engine.c:168:7: warning: implicit declaration of function 'screws_logs_init'; did you mean 'pthread_cond_init'? [-Wimplicit-function-declaration]
  ok = screws_logs_init(n); // TODO catch FALSE!
       ^~~~~~~~~~~~~~~~
       pthread_cond_init
Engine.c:175:2: warning: implicit declaration of function 'screws_ssl_init'; did you mean 'DH_meth_set_init'? [-Wimplicit-function-declaration]
  screws_ssl_init(n); // TODO catch FALSE!
  ^~~~~~~~~~~~~~~
  DH_meth_set_init
Engine.c:177:2: warning: implicit declaration of function 'setParentEnv'; did you mean 'setgrent'? [-Wimplicit-function-declaration]
  setParentEnv(n);
  ^~~~~~~~~~~~
  setgrent
[screwsd] Error.c
Env.c: In function 'setEnv':
Env.c:324:7: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
  if ( execModule(MOD_ENV) ) return;
       ^~~~~~~~~~
       execle
Error.c: In function 'Error':
Error.c:53:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
    free(cwd);
    ^~~~
Error.c:53:4: warning: incompatible implicit declaration of built-in function 'free'
Error.c:53:4: note: include '<stdlib.h>' or provide a declaration of 'free'
Error.c:8:1:
+#include <stdlib.h>
 
Error.c:53:4:
    free(cwd);
    ^~~~
[screwsd] Fmutex.c
[screwsd] Logs.c
Logs.c: In function 'screws_logs_access':
Logs.c:80:7: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
  if ( execModule(MOD_LOGS) ) return 0;
       ^~~~~~~~~~
       execle
Logs.c:215:2: warning: implicit declaration of function 'screws_logs_write'; did you mean 'screws_logs_init'? [-Wimplicit-function-declaration]
  screws_logs_write( Svr.Lis[n].S[_LOGFILE], b);
  ^~~~~~~~~~~~~~~~~
  screws_logs_init
Logs.c: In function 'screws_logs_write':
Logs.c:289:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fd,msg,strlen(msg));
   ^~~~~~~~~~~~~~~~~~~~~~~~~
[screwsd] Signal.c
[screwsd] Ssl.c
Ssl.c: In function 'SslInit':
Ssl.c:86:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   sm=SSLv23_server_method();
     ^
Ssl.c:89:3: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
   sm=TLSv1_server_method();
   ^~
In file included from main.h:45,
                 from Ssl.h:4,
                 from Ssl.c:6:
/home/pbulk/build/www/screws/work/.buildlink/include/openssl/ssl.h:2064:50: note: declared here
 OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void);
                                                  ^~~~~~~~~~~~~~~~~~~
Ssl.c:89:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   sm=TLSv1_server_method();
     ^
[screwsd] Modules.c
Signal.c: In function 'catchTimeout':
Signal.c:40:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int]
 catchTimeout(s,time,type)
 ^~~~~~~~~~~~
Signal.c: In function 'catchSignals':
Signal.c:95:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   ret|=(int)( signal(SIGINT,(void *)my_SIGINT ) );
        ^
Signal.c:98:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   ret|=(int)( signal(SIGPIPE,SIG_IGN) );
        ^
[screwsd] Request.c
[screwsd] main.c
main.c: In function 'main':
main.c:132:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  exit((int)NULL);
       ^
Request.c: In function 'doExec':
Request.c:39:8: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
  if (! execModule(MOD_EXEC) )
        ^~~~~~~~~~
        execle
Request.c: At top level:
Request.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int]
 printExecveFailed(n)
 ^~~~~~~~~~~~~~~~~
Request.c: In function 'readRequest':
Request.c:158:7: warning: implicit declaration of function 'screws_socket_recv' [-Wimplicit-function-declaration]
   ret=screws_socket_recv(s,b+i,1);
       ^~~~~~~~~~~~~~~~~~
Request.c: In function 'doExec':
Request.c:66:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
    fread(buf,2,1,fd);
    ^~~~~~~~~~~~~~~~~
Request.c: In function 'printExecveFailed':
Request.c:113:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
  getcwd(buf,200);
  ^~~~~~~~~~~~~~~
[screwsd] Headers.c
[screwsd] IO.c
Headers.c: In function 'screws_heads_parse':
Headers.c:159:4: warning: implicit declaration of function 'screws_socket_recv' [-Wimplicit-function-declaration]
    screws_socket_recv(s,content,clength);
    ^~~~~~~~~~~~~~~~~~
Headers.c:223:24: warning: implicit declaration of function 'custom_memmem' [-Wimplicit-function-declaration]
   printf("FOUND(%s)\n",custom_memmem(begin,strlen(begin),token,strlen(token)));
                        ^~~~~~~~~~~~~
[screwsd] IO_direct.c
IO.c: In function 'screws_IO':
IO.c:20:3: warning: implicit declaration of function 'screws_logs_access' [-Wimplicit-function-declaration]
   screws_logs_access(n);
   ^~~~~~~~~~~~~~~~~~
IO.c:21:3: warning: implicit declaration of function 'IO_direct'; did you mean 'BN_div_recp'? [-Wimplicit-function-declaration]
   IO_direct(s,n,head);
   ^~~~~~~~~
   BN_div_recp
IO.c:37:36: warning: implicit declaration of function 'setChildOptions' [-Wimplicit-function-declaration]
      if (!  Error( Svr.Lis[n].name,setChildOptions(n) )  )
                                    ^~~~~~~~~~~~~~~
IO.c:50:5: warning: implicit declaration of function 'doExec'; did you mean 'rexec'? [-Wimplicit-function-declaration]
     doExec(s,n,head);
     ^~~~~~
     rexec
IO.c:64:4: warning: implicit declaration of function 'IO_poll'; did you mean 'ppoll'? [-Wimplicit-function-declaration]
    IO_poll(s,f_in[1],f_out[0],f_err[0]);
    ^~~~~~~
    ppoll
IO.c:68:4: warning: implicit declaration of function 'IO_buffer'; did you mean 'BIO_f_buffer'? [-Wimplicit-function-declaration]
    IO_buffer(n,s,f_out[0]);
    ^~~~~~~~~
    BIO_f_buffer
IO.c:71:4: warning: implicit declaration of function 'IO_select'; did you mean 'pselect'? [-Wimplicit-function-declaration]
    IO_select(n,s,f_out[0]);
    ^~~~~~~~~
    pselect
IO.c:25:4: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
    pipe(f_in);
    ^~~~~~~~~~
IO.c:26:2: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
  pipe(f_out);
  ^~~~~~~~~~~
IO.c:27:2: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
  pipe(f_err);
  ^~~~~~~~~~~
IO.c:52:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(f_out[1],"Internal error\n",15);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[screwsd] IO_buffer.c
IO_direct.c: In function 'IO_direct':
IO_direct.c:23:2: warning: implicit declaration of function 'doExec'; did you mean 'rexec'? [-Wimplicit-function-declaration]
  doExec(s,n,head);
  ^~~~~~
  rexec
[screwsd] IO_poll.c
IO_buffer.c: In function 'IO_buffer':
IO_buffer.c:49:17: warning: passing argument 2 of 'screws_send' makes integer from pointer without a cast [-Wint-conversion]
   screws_send(s,buf,1);
                 ^~~
IO_buffer.c:10:28: note: expected 'int' but argument is of type 'char *'
 bool screws_send(int s,int b, char *i);
                        ~~~~^
IO_buffer.c:49:21: warning: passing argument 3 of 'screws_send' makes pointer from integer without a cast [-Wint-conversion]
   screws_send(s,buf,1);
                     ^
IO_buffer.c:10:37: note: expected 'char *' but argument is of type 'int'
 bool screws_send(int s,int b, char *i);
                               ~~~~~~^
[screwsd] IO_select.c
IO_poll.c: In function 'IO_poll':
IO_poll.c:58:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     SSL_read((SSL *)pfd[0].fd, b, tcpwin);
              ^
IO_poll.c:78:4: warning: implicit declaration of function 'setHTTPCode' [-Wimplicit-function-declaration]
    setHTTPCode(b,j);
    ^~~~~~~~~~~
IO_poll.c:79:9: warning: implicit declaration of function 'screws_send' [-Wimplicit-function-declaration]
    if (!screws_send(s,b,j))
         ^~~~~~~~~~~
IO_poll.c:63:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(in,b,nb);
    ^~~~~~~~~~~~~~
IO_poll.c:88:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
    read(pfd[2].fd, bff,1);
    ^~~~~~~~~~~~~~~~~~~~~~
[screwsd] Socket.c
IO_select.c: In function 'IO_select':
IO_select.c:61:5: warning: implicit declaration of function 'setHTTPCode' [-Wimplicit-function-declaration]
     setHTTPCode(buf,nb);
     ^~~~~~~~~~~
IO_select.c:62:5: warning: implicit declaration of function 'screws_send' [-Wimplicit-function-declaration]
     screws_send(in,buf,nb);
     ^~~~~~~~~~~
Socket.c: In function 'screws_send':
Socket.c:104:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    ret=SSL_write((SSL*)s,b,i);
                  ^
Socket.c: In function 'screws_socket_recv':
Socket.c:136:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   ret=SSL_read((SSL*)s,buf,len);
                ^
[L] Linking...
/bin/ld: Ssl.o: undefined reference to symbol 'OPENSSL_init_crypto@@OPENSSL_3.0.0'
//usr/pkg/lib/libcrypto.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:28: all] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server'
/bin/sh: line 2: cd: src/Hsml: No such file or directory
/bin/sh: line 2: cd: src/Utils: No such file or directory
/bin/sh: line 2: cd: src/Modules: No such file or directory
Build is done
=> Creating /home/pbulk/build/www/screws/work/.rc.d/screws