+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/ap24-encoding-20021209/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/ap24-encoding-20021209/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ap24-encoding-20021209 /opt/pkg/libexec/apr/libtool --silent --mode=compile gcc -prefer-pic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -I/opt/pkg/include/apr-1 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/httpd -I/opt/pkg/include/apr-1 -I/opt/pkg/include/apr-1 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/apr-1 -I/usr/include -c -o mod_encoding.lo mod_encoding.c && touch mod_encoding.slo mod_encoding.c: In function 'get_client_encoding': mod_encoding.c:228:38: error: implicit declaration of function 'apr_pstrdup' [-Wimplicit-function-declaration] 228 | *((char **)apr_array_push(encs)) = apr_pstrdup(r->pool, "UTF-8"); | ^~~~~~~~~~~ mod_encoding.c:228:36: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 228 | *((char **)apr_array_push(encs)) = apr_pstrdup(r->pool, "UTF-8"); | ^ mod_encoding.c: In function 'set_server_encoding': mod_encoding.c:267:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 267 | conf->server_encoding = apr_pstrdup(cmd->pool, arg); | ^ mod_encoding.c: In function 'add_client_encoding': mod_encoding.c:298:36: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 298 | *(void **)apr_array_push(encs) = apr_pstrdup(cmd->pool, arg); | ^ mod_encoding.c: In function 'default_client_encoding': mod_encoding.c:324:7: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 324 | = apr_pstrdup(cmd->pool, arg); | ^ mod_encoding.c: At top level: mod_encoding.c:355:4: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(cmd_parms *, encoding_config *, int)' {aka 'const char * (*)(struct cmd_parms_struct *, encoding_config *, int)'} [-Wincompatible-pointer-types] 355 | set_encoding_engine, NULL, | ^~~~~~~~~~~~~~~~~~~ mod_encoding.c:355:4: note: (near initialization for 'mod_enc_commands[0].func.no_args') mod_encoding.c:359:4: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(cmd_parms *, encoding_config *, char *)' {aka 'const char * (*)(struct cmd_parms_struct *, encoding_config *, char *)'} [-Wincompatible-pointer-types] 359 | set_server_encoding, NULL, | ^~~~~~~~~~~~~~~~~~~ mod_encoding.c:359:4: note: (near initialization for 'mod_enc_commands[1].func.no_args') mod_encoding.c:363:4: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(cmd_parms *, encoding_config *, char *)' {aka 'const char * (*)(struct cmd_parms_struct *, encoding_config *, char *)'} [-Wincompatible-pointer-types] 363 | add_client_encoding, NULL, | ^~~~~~~~~~~~~~~~~~~ mod_encoding.c:363:4: note: (near initialization for 'mod_enc_commands[2].func.no_args') mod_encoding.c:367:4: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(cmd_parms *, encoding_config *, char *)' {aka 'const char * (*)(struct cmd_parms_struct *, encoding_config *, char *)'} [-Wincompatible-pointer-types] 367 | default_client_encoding, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~ mod_encoding.c:367:4: note: (near initialization for 'mod_enc_commands[3].func.no_args') mod_encoding.c:371:4: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(cmd_parms *, encoding_config *, int)' {aka 'const char * (*)(struct cmd_parms_struct *, encoding_config *, int)'} [-Wincompatible-pointer-types] 371 | set_normalize_username, NULL, | ^~~~~~~~~~~~~~~~~~~~~~ mod_encoding.c:371:4: note: (near initialization for 'mod_enc_commands[4].func.no_args') mod_encoding.c: In function 'mod_enc_parse': mod_encoding.c:550:17: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 550 | if ((user = index(r->user, '\\')) == NULL) | ^~~~~ mod_encoding.c:550:17: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] mod_encoding.c:556:31: error: implicit declaration of function 'apr_psprintf'; did you mean 'ap_rprintf'? [-Wimplicit-function-declaration] 556 | apr_psprintf(r->pool, "%s:%s", user + 1, pass)); | ^~~~~~~~~~~~ | ap_rprintf mod_encoding.c:556:31: error: passing argument 2 of 'ap_pbase64encode' makes pointer from integer without a cast [-Wint-conversion] 556 | apr_psprintf(r->pool, "%s:%s", user + 1, pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from mod_encoding.c:71: /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/httpd/httpd.h:2027:58: note: expected 'char *' but argument is of type 'int' 2027 | AP_DECLARE(char *) ap_pbase64encode(apr_pool_t *p, char *string); | ~~~~~~^~~~~~ mod_encoding.c:558:20: error: implicit declaration of function 'apr_pstrcat'; did you mean 'apr_stat'? [-Wimplicit-function-declaration] 558 | apr_pstrcat(r->pool, "Basic ", buff, NULL)); | ^~~~~~~~~~~ | apr_stat mod_encoding.c:558:20: error: passing argument 3 of 'apr_table_set' makes pointer from integer without a cast [-Wint-conversion] 558 | apr_pstrcat(r->pool, "Basic ", buff, NULL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/apr-1/apr_hooks.h:22, from /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/httpd/ap_hooks.h:40, from /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/httpd/ap_config.h:25, from /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/httpd/httpd.h:44: /home/pbulk/build/www/ap2-encoding/work/.buildlink/include/apr-1/apr_tables.h:292:45: note: expected 'const char *' but argument is of type 'int' 292 | const char *val); | ~~~~~~~~~~~~^~~ apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ap2-encoding *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ap2-encoding