=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for screws-0.56nb23
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 '/tmp/pkgbuild/www/screws/work.x86_64/screws-0.56/src/Server'
[O] Options
[screwsd] Accept.c
[screwsd] Args.c
[screwsd] Config.c
[screwsd] Engine.c
[screwsd] Env.c
[screwsd] Error.c
[screwsd] Fmutex.c
[screwsd] Logs.c
[screwsd] Signal.c
[screwsd] Request.c
[screwsd] Modules.c
[screwsd] Ssl.c
[screwsd] main.c
[screwsd] Headers.c
* USE_POLL
* USE_DEBUG
* USE_SSL
[screwsd] IO.c
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 '' or provide a declaration of 'free'
[screwsd] IO_direct.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,"");
^~~~~~~~~~~~~~~~~
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;
^
Signal.c: In function 'catchTimeout':
Accept.c:106:5: warning: implicit declaration of function 'SslShowCertificates'; did you mean 'OBJ_cACertificate'? [-Wimplicit-function-declaration]
SslShowCertificates(ssl);
^~~~~~~~~~~~~~~~~~~
OBJ_cACertificate
Signal.c:40:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int]
catchTimeout(s,time,type)
^~~~~~~~~~~~
Accept.c:128:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
sock=(int)ssl;
^
Signal.c: In function 'catchSignals':
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))
^
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);
^~~~~~~~~~~~~~~~~~
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
main.c: In function 'main':
Request.c: In function 'doExec':
main.c:132:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
exit((int)NULL);
^
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)
^~~~~~~~~~~~~~~~~
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)));
^~~~~~~~~~~~~
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
Config.c: In function 'conf_parse_key':
Config.c:673:22: warning: implicit declaration of function 'screws_module_add' [-Wimplicit-function-declaration]
if (Svr.strict & ! screws_module_add(b[0]) )
^~~~~~~~~~~~~~~~~
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
Ssl.c: In function 'SslInit':
Ssl.c:86:6: warning: implicit declaration of function 'SSLv3_server_method'; did you mean 'SSLv23_server_method'? [-Wimplicit-function-declaration]
sm=SSLv3_server_method();
^~~~~~~~~~~~~~~~~~~
SSLv23_server_method
Ssl.c:86:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
sm=SSLv3_server_method();
^
Ssl.c:89:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
sm=SSLv23_server_method();
^
Ssl.c:92:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]
sm=TLSv1_server_method();
^~
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/ssl.h:15,
from main.h:45,
from Ssl.h:4,
from Ssl.c:6:
/usr/include/openssl/ssl.h:1878:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))
^
Ssl.c:92:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
sm=TLSv1_server_method();
^
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
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);
^~~~~~~~~~~~~~~~~~
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(
^~~~~~~~~~~~~~~~~~~~
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);
^~~~~~~~~~~~~~~~~~
Config.c:687: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
[screwsd] IO_buffer.c
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
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);
^
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
[screwsd] IO_poll.c
Accept.c:234:2: warning: implicit declaration of function 'screws_IO' [-Wimplicit-function-declaration]
screws_IO(sock,n,head);
^~~~~~~~~
IO_direct.c: In function 'IO_direct':
IO_direct.c:23:2: warning: implicit declaration of function 'doExec' [-Wimplicit-function-declaration]
doExec(s,n,head);
^~~~~~
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' [-Wimplicit-function-declaration]
doExec(s,n,head);
^~~~~~
IO.c:64:4: warning: implicit declaration of function 'IO_poll'; did you mean 'poll'? [-Wimplicit-function-declaration]
IO_poll(s,f_in[1],f_out[0],f_err[0]);
^~~~~~~
poll
[screwsd] IO_select.c
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
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 'select'? [-Wimplicit-function-declaration]
IO_select(n,s,f_out[0]);
^~~~~~~~~
select
[screwsd] Socket.c
Engine.c:177:2: warning: implicit declaration of function 'setParentEnv'; did you mean 'setgrent'? [-Wimplicit-function-declaration]
setParentEnv(n);
^~~~~~~~~~~~
setgrent
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:6: 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:6: note: expected 'char *' but argument is of type 'int'
bool screws_send(int s,int b, char *i);
^~~~~~~~~~~
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);
^
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'; did you mean 'setmode'? [-Wimplicit-function-declaration]
setHTTPCode(b,j);
^~~~~~~~~~~
setmode
IO_select.c: In function 'IO_select':
IO_select.c:61:5: warning: implicit declaration of function 'setHTTPCode'; did you mean 'setmode'? [-Wimplicit-function-declaration]
setHTTPCode(buf,nb);
^~~~~~~~~~~
setmode
IO_poll.c:79:9: warning: implicit declaration of function 'screws_send' [-Wimplicit-function-declaration]
if (!screws_send(s,b,j))
^~~~~~~~~~~
IO_select.c:62:5: warning: implicit declaration of function 'screws_send' [-Wimplicit-function-declaration]
screws_send(in,buf,nb);
^~~~~~~~~~~
[L] Linking...
ld: Ssl.o: in function `SslInit':
/tmp/pkgbuild/www/screws/work.x86_64/screws-0.56/src/Server/Ssl.c:86: undefined reference to `SSLv3_server_method'
gmake[1]: *** [Makefile:28: all] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/www/screws/work.x86_64/screws-0.56/src/Server'
cd: can't cd to src/Hsml
cd: can't cd to src/Utils
cd: can't cd to src/Modules
Build is done
=> Creating /tmp/pkgbuild/www/screws/work.x86_64/.rc.d/screws