+ 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.56nb28/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.56nb28/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for screws-0.56nb28 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}\" gmake[1]: Entering directory '/home/pbulk/build/www/screws/work/screws-0.56/src/Server' [O] Options [screwsd] Accept.c [screwsd] Config.c [screwsd] Args.c [screwsd] Engine.c [screwsd] Env.c [screwsd] Error.c * USE_POLL * USE_DEBUG * USE_SSL Error.c: In function 'Error': Error.c:53:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 53 | free(cwd); | ^~~~ Error.c:53:4: warning: incompatible implicit declaration of built-in function 'free' Error.c:8:1: note: include '' or provide a declaration of 'free' 7 | #include "Error.h" +++ |+#include 8 | [screwsd] Fmutex.c [screwsd] Logs.c Args.c: In function 'freedup': Args.c:22:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 22 | return (int)dst; | ^ 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; | ^~~ 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: In function 'setEnv': Env.c:324:7: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration] 324 | if ( execModule(MOD_ENV) ) return; | ^~~~~~~~~~ | execle Config.c: In function 'conf_parse_key': Config.c:670:22: warning: implicit declaration of function 'screws_module_add' [-Wimplicit-function-declaration] 670 | if (Svr.strict & ! screws_module_add(b[0]) ) | ^~~~~~~~~~~~~~~~~ Config.c:684:9: warning: implicit declaration of function 'screws_module_option' [-Wimplicit-function-declaration] 684 | if (! screws_module_option(b[0],b[1]) ) | ^~~~~~~~~~~~~~~~~~~~ Fmutex.c: In function 'fmutex_init': Fmutex.c:23:7: warning: implicit declaration of function 'creat' [-Wimplicit-function-declaration] 23 | if (creat(file,S_IRWXU) <0) | ^~~~~ [screwsd] Signal.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] 80 | 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] 215 | screws_logs_write( Svr.Lis[n].S[_LOGFILE], b); | ^~~~~~~~~~~~~~~~~ | screws_logs_init Logs.c: In function 'screws_logs_write': Logs.c:267:9: warning: implicit declaration of function 'creat' [-Wimplicit-function-declaration] 267 | if ( creat(file,S_IWUSR) <0) | ^~~~~ Logs.c:280:8: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 280 | fd = open(file, O_APPEND|O_WRONLY); /* Open mode */ | ^~~~ | popen [screwsd] Ssl.c [screwsd] Modules.c gmake[1]: *** [Makefile:24: Env.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... Signal.c: In function 'catchTimeout': Signal.c:40:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 40 | 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] 95 | ret|=(int)( signal(SIGINT,(void *)my_SIGINT ) ); | ^ Signal.c:98:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 98 | ret|=(int)( signal(SIGPIPE,SIG_IGN) ); | ^ Ssl.c: In function 'SslInit': Ssl.c:86:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | sm=SSLv23_server_method(); | ^ Ssl.c:89:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 89 | sm=TLSv1_server_method(); | ^~ In file included from /home/pbulk/build/www/screws/work/.buildlink/include/openssl/e_os2.h:13, from /home/pbulk/build/www/screws/work/.buildlink/include/openssl/ssl.h:15, from main.h:45, from Ssl.h:4, from Ssl.c:6: /home/pbulk/build/www/screws/work/.buildlink/include/openssl/ssl.h:1888:45: note: declared here 1888 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/screws/work/.buildlink/include/openssl/opensslconf.h:112:37: note: in definition of macro 'DECLARE_DEPRECATED' 112 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); | ^ /home/pbulk/build/www/screws/work/.buildlink/include/openssl/ssl.h:1888:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' 1888 | 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] 89 | sm=TLSv1_server_method(); | ^ Accept.c: In function 'Accept': Accept.c:67:3: warning: implicit declaration of function 'screws_logs_error' [-Wimplicit-function-declaration] 67 | screws_logs_error(n,ERROR_MAXTHR,""); | ^~~~~~~~~~~~~~~~~ Engine.c: In function 'launchListen': Engine.c:155:17: warning: implicit declaration of function 'screws_socket_listen' [-Wimplicit-function-declaration] 155 | Svr.Lis[n].s = screws_socket_listen( | ^~~~~~~~~~~~~~~~~~~~ Accept.c:106:5: warning: implicit declaration of function 'SslShowCertificates' [-Wimplicit-function-declaration] 106 | SslShowCertificates(ssl); | ^~~~~~~~~~~~~~~~~~~ Accept.c:128:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 128 | sock=(int)ssl; | ^ Accept.c:137:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 137 | 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] 190 | if ( ((int)b=0)) | ^ Engine.c:168:7: warning: implicit declaration of function 'screws_logs_init' [-Wimplicit-function-declaration] 168 | ok = screws_logs_init(n); // TODO catch FALSE! | ^~~~~~~~~~~~~~~~ Engine.c:175:2: warning: implicit declaration of function 'screws_ssl_init' [-Wimplicit-function-declaration] 175 | screws_ssl_init(n); // TODO catch FALSE! | ^~~~~~~~~~~~~~~ Accept.c:193:3: warning: implicit declaration of function 'screws_socket_close' [-Wimplicit-function-declaration] 193 | screws_socket_close(s); | ^~~~~~~~~~~~~~~~~~~ Engine.c:177:2: warning: implicit declaration of function 'setParentEnv' [-Wimplicit-function-declaration] 177 | setParentEnv(n); | ^~~~~~~~~~~~ Accept.c:219:3: warning: implicit declaration of function 'screws_heads_parse' [-Wimplicit-function-declaration] 219 | 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] 219 | screws_heads_parse((int)ssl,b,head,nheads); | ^ Accept.c:234:2: warning: implicit declaration of function 'screws_IO' [-Wimplicit-function-declaration] 234 | screws_IO(sock,n,head); | ^~~~~~~~~ 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