+ 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
===> Building for screws-0.56nb29
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] Args.c
* USE_POLL
* USE_DEBUG
* USE_SSL
[screwsd] Config.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;
| ^
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)bERROR_NULL && (int)b0) && ((int)b0) && ((int)b=0))
| ^
Accept.c:190:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
190 | if ( ((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);
| ^~~~~~~~~
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
[screwsd] Engine.c
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] Env.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!
| ^~~~~~~~~~~~~~~
[screwsd] Error.c
Engine.c:177:9: warning: implicit declaration of function 'setParentEnv' [-Wimplicit-function-declaration]
177 | setParentEnv(n);
| ^~~~~~~~~~~~
Error.c: In function 'Error':
Error.c:53:25: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
53 | free(cwd);
| ^~~~
Error.c:8:1: note: include '' or provide a declaration of 'free'
7 | #include "Error.h"
+++ |+#include
8 |
Error.c:53:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
53 | free(cwd);
| ^~~~
Error.c:53:25: note: include '' or provide a declaration of 'free'
[screwsd] Fmutex.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:250:12: error: prototype declaration
250 | 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:250:12: error: prototype declaration
250 | 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
[screwsd] Logs.c
gmake[1]: *** [Makefile:24: Env.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Fmutex.c: In function 'fmutex_init':
Fmutex.c:23:21: warning: implicit declaration of function 'creat' [-Wimplicit-function-declaration]
23 | if (creat(file,S_IRWXU) <0)
| ^~~~~
Logs.c: In function 'screws_logs_access':
Logs.c:80:14: warning: implicit declaration of function 'execModule'; did you mean 'execle'? [-Wimplicit-function-declaration]
80 | if ( execModule(MOD_LOGS) ) return 0;
| ^~~~~~~~~~
| execle
Logs.c:215:9: 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:30: warning: implicit declaration of function 'creat' [-Wimplicit-function-declaration]
267 | if ( creat(file,S_IWUSR) <0)
| ^~~~~
Logs.c:280:22: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
280 | fd = open(file, O_APPEND|O_WRONLY); /* Open mode */
| ^~~~
| popen
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