=> Bootstrap dependency digest>=20010302: found digest-20111104 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ap24-scgi-1.13nb2 /usr/pkg/libexec/apr/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O3 -pipe -fstack-protector -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -c -o mod_scgi.lo mod_scgi.c && touch mod_scgi.slo mod_scgi.c: In function 'log_err': mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'server' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'server' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'server' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'log' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:141:5: error: request for member 'server' in something not a structure or union mod_scgi.c:141:5: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast /tmp/pkgsrc/www/ap-scgi/work/.buildlink/include/httpd/http_log.h:456:18: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:141:5: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type /tmp/pkgsrc/www/ap-scgi/work/.buildlink/include/httpd/http_log.h:456:18: note: expected 'const struct request_rec *' but argument is of type 'char *' mod_scgi.c: In function 'log_debug': mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'server' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'server' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'server' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'log' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'connection' in something not a structure or union mod_scgi.c:147:5: error: request for member 'server' in something not a structure or union mod_scgi.c:147:5: error: expected expression before ')' token mod_scgi.c:147:5: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast /tmp/pkgsrc/www/ap-scgi/work/.buildlink/include/httpd/http_log.h:456:18: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:147:5: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type /tmp/pkgsrc/www/ap-scgi/work/.buildlink/include/httpd/http_log.h:456:18: note: expected 'const struct request_rec *' but argument is of type 'const char *' mod_scgi.c: In function 'send_headers': mod_scgi.c:315:5: error: 'conn_rec' has no member named 'remote_addr' mod_scgi.c:317:5: warning: passing argument 3 of 'log_debug' makes pointer from integer without a cast mod_scgi.c:144:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:317:5: warning: passing argument 4 of 'log_debug' from incompatible pointer type mod_scgi.c:144:13: note: expected 'const char *' but argument is of type 'struct request_rec *' mod_scgi.c:317:5: error: too many arguments to function 'log_debug' mod_scgi.c:144:13: note: declared here mod_scgi.c:327:5: warning: implicit declaration of function 'ap_get_server_version' mod_scgi.c:327:5: warning: passing argument 3 of 'add_header' makes pointer from integer without a cast mod_scgi.c:190:13: note: expected 'const char *' but argument is of type 'int' mod_scgi.c:334:47: error: 'conn_rec' has no member named 'remote_ip' mod_scgi.c: In function 'open_socket': mod_scgi.c:446:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:446:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:446:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:446:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:454:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:454:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:454:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:454:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:460:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:460:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:460:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:460:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:477:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:477:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:477:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:477:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c: In function 'scgi_handler': mod_scgi.c:506:5: warning: passing argument 3 of 'log_debug' makes pointer from integer without a cast mod_scgi.c:144:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:506:5: warning: passing argument 4 of 'log_debug' from incompatible pointer type mod_scgi.c:144:13: note: expected 'const char *' but argument is of type 'struct request_rec *' mod_scgi.c:506:5: error: too many arguments to function 'log_debug' mod_scgi.c:144:13: note: declared here mod_scgi.c:517:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:517:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:517:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:517:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:523:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:523:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:523:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:523:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:529:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:529:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:529:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:529:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:533:5: warning: passing argument 3 of 'log_debug' makes pointer from integer without a cast mod_scgi.c:144:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:533:5: warning: passing argument 4 of 'log_debug' from incompatible pointer type mod_scgi.c:144:13: note: expected 'const char *' but argument is of type 'struct request_rec *' mod_scgi.c:533:5: error: too many arguments to function 'log_debug' mod_scgi.c:144:13: note: declared here mod_scgi.c:543:13: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:543:13: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:543:13: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:543:13: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here mod_scgi.c:578:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int' mod_scgi.c:578:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *' mod_scgi.c:578:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t' mod_scgi.c:578:9: error: too many arguments to function 'log_err' mod_scgi.c:138:13: note: declared here apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap-scgi *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap-scgi