+ 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
make[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}\"
* USE_POLL
* USE_DEBUG
* USE_SSL
* USE_DLOPEN
[screwsd] Accept.c
Accept.c: In function 'Accept':
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)bERROR_NULL && (int)b0) && ((int)b0) && ((int)b=0))
^
Accept.c:190:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ( ((int)b=0))
^
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);
^
[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 'ReadConfig':
Config.c:742:8: 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
[screwsd] Error.c
Error.c: In function 'Error':
Error.c:53:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(cwd);
^
[screwsd] Fmutex.c
[screwsd] Logs.c
Logs.c: In function 'screws_logs_write':
Logs.c:289:8: 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
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] Modules.c
Ssl.c: In function 'SslInit':
Ssl.c:86:5: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
sm=SSLv23_server_method();
^
Ssl.c:89:3: warning: 'TLSv1_server_method' is deprecated (declared at /home/pbulk/build/www/screws/work/.buildlink/include/openssl/ssl.h:2019): Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
sm=TLSv1_server_method();
^
Ssl.c:89:5: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
sm=TLSv1_server_method();
^
[screwsd] Request.c
Request.c: In function 'doExec':
Request.c:66:9: 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:8: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
getcwd(buf,200);
^
[screwsd] main.c
[screwsd] Headers.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);
^
[screwsd] IO.c
[screwsd] IO_direct.c
IO.c: In function 'screws_IO':
IO.c:25:8: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
pipe(f_in);
^
IO.c:26:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
pipe(f_out);
^
IO.c:27:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
pipe(f_err);
^
IO.c:52:10: 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
[screwsd] IO_poll.c
IO_buffer.c: In function 'IO_buffer':
IO_buffer.c:49:3: warning: passing argument 2 of 'screws_send' makes integer from pointer without a cast [enabled by default]
screws_send(s,buf,1);
^
IO_buffer.c:10:6: note: expected 'int' but argument is of type 'char *'
bool screws_send(int s,int b, char *i);
^
IO_buffer.c:49:3: warning: passing argument 3 of 'screws_send' makes pointer from integer without a cast [enabled by default]
screws_send(s,buf,1);
^
IO_buffer.c:10:6: 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:63:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(in,b,nb);
^
IO_poll.c:88:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read(pfd[2].fd, bff,1);
^
[screwsd] Socket.c
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
make[1]: *** [all] Error 1
make[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