=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cddbd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for cddbd-1.3.1p1nb3 --- cddbd.o --- --- db.o --- gcc -O -c db.c --- cddbd.o --- gcc -O -c cddbd.c --- db.o --- db.c: In function 'cddbd_update': db.c:378:41: error: implicit declaration of function 'unlink'; did you mean 'db_unlink'? [-Wimplicit-function-declaration] 378 | unlink(file); | ^~~~~~ | db_unlink db.c: In function 'cddbd_check_db': db.c:746:44: error: implicit declaration of function 'chown' [-Wimplicit-function-declaration] 746 | if(chown(file, db_uid, db_gid)) { | ^~~~~ db.c: In function 'db_read': db.c:1154:38: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types] 1154 | func = db_free_multi; | ^ db.c:65:6: note: 'db_free_multi' declared here 65 | void db_free_multi(void *); | ^~~~~~~~~~~~~ db.c:1158:38: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types] 1158 | func = db_free_string; | ^ --- cddbd.o --- cddbd.c:297:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 297 | { "cddb", do_cddb, cddb_help, CF_SUBCMD }, | ^~~~~~~ --- db.o --- db.c:66:6: note: 'db_free_string' declared here 66 | void db_free_string(void *); | ^~~~~~~~~~~~~~ --- cddbd.o --- cddbd.c:297:21: note: (near initialization for 'cmd[0].func') cddbd.c:66:6: note: 'do_cddb' declared here 66 | void do_cddb(arg_t *); | ^~~~~~~ cddbd.c:298:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 298 | { "get", do_get, get_help, 0 }, | ^~~~~~ cddbd.c:298:21: note: (near initialization for 'cmd[1].func') --- db.o --- db.c:1160:63: error: passing argument 3 of 'list_init' from incompatible pointer type [-Wincompatible-pointer-types] 1160 | db->db_phase[phase] = list_init(0, 0, func, 0); | ^~~~ | | | void (*)(void) --- cddbd.o --- cddbd.c:72:6: note: 'do_get' declared here 72 | void do_get(arg_t *); | ^~~~~~ cddbd.c:299:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 299 | { "help", do_help, help_help, 0 }, | ^~~~~~~ cddbd.c:299:21: note: (near initialization for 'cmd[2].func') cddbd.c:73:6: note: 'do_help' declared here 73 | void do_help(arg_t *); | ^~~~~~~ --- db.o --- db.c:110:12: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 110 | void (*free_func)(void *), void (*hfree_func)(void *)) | ~~~~~~~^~~~~~~~~~~~~~~~~~ --- cddbd.o --- cddbd.c:300:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 300 | { "log", do_log, log_help, 0 }, | ^~~~~~ cddbd.c:300:21: note: (near initialization for 'cmd[3].func') cddbd.c:74:6: note: 'do_log' declared here 74 | void do_log(arg_t *); | ^~~~~~ cddbd.c:301:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 301 | { "motd", do_motd, motd_help, 0 }, | ^~~~~~~ cddbd.c:301:21: note: (near initialization for 'cmd[4].func') cddbd.c:75:6: note: 'do_motd' declared here 75 | void do_motd(arg_t *); | ^~~~~~~ cddbd.c:302:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 302 | { "proto", do_proto, proto_help, 0 }, | ^~~~~~~~ cddbd.c:302:21: note: (near initialization for 'cmd[5].func') cddbd.c:76:6: note: 'do_proto' declared here 76 | void do_proto(arg_t *); | ^~~~~~~~ cddbd.c:303:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 303 | { "quit", do_quit, quit_help, 0 }, | ^~~~~~~ cddbd.c:303:21: note: (near initialization for 'cmd[6].func') cddbd.c:77:6: note: 'do_quit' declared here 77 | void do_quit(arg_t *); | ^~~~~~~ cddbd.c:304:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 304 | { "sites", do_sites, sites_help, 0 }, | ^~~~~~~~ cddbd.c:304:21: note: (near initialization for 'cmd[7].func') cddbd.c:78:6: note: 'do_sites' declared here 78 | void do_sites(arg_t *); | ^~~~~~~~ cddbd.c:305:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 305 | { "stat", do_stat, stat_help, 0 }, | ^~~~~~~ cddbd.c:305:21: note: (near initialization for 'cmd[8].func') cddbd.c:79:6: note: 'do_stat' declared here 79 | void do_stat(arg_t *); | ^~~~~~~ cddbd.c:306:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 306 | { "update", do_update, update_help, 0 }, | ^~~~~~~~~ cddbd.c:306:21: note: (near initialization for 'cmd[9].func') cddbd.c:80:6: note: 'do_update' declared here 80 | void do_update(arg_t *); | ^~~~~~~~~ cddbd.c:307:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 307 | { "ver", do_ver, ver_help, 0 }, | ^~~~~~ cddbd.c:307:21: note: (near initialization for 'cmd[10].func') cddbd.c:81:6: note: 'do_ver' declared here 81 | void do_ver(arg_t *); | ^~~~~~ cddbd.c:308:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 308 | { "whom", do_whom, whom_help, 0 }, | ^~~~~~~ cddbd.c:308:21: note: (near initialization for 'cmd[11].func') cddbd.c:82:6: note: 'do_whom' declared here 82 | void do_whom(arg_t *); | ^~~~~~~ cddbd.c:313:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 313 | { "hello", do_cddb_hello, hello_help, 0 }, | ^~~~~~~~~~~~~ cddbd.c:313:20: note: (near initialization for 'cddb_cmd[0].func') cddbd.c:67:6: note: 'do_cddb_hello' declared here 67 | void do_cddb_hello(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:314:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 314 | { "query", do_cddb_query, query_help, (CF_HELLO | CF_ACCESS) }, | ^~~~~~~~~~~~~ cddbd.c:314:20: note: (near initialization for 'cddb_cmd[1].func') cddbd.c:68:6: note: 'do_cddb_query' declared here 68 | void do_cddb_query(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:315:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 315 | { "read", do_cddb_read, read_help, (CF_HELLO | CF_ACCESS) }, | ^~~~~~~~~~~~ cddbd.c:315:20: note: (near initialization for 'cddb_cmd[2].func') cddbd.c:69:6: note: 'do_cddb_read' declared here 69 | void do_cddb_read(arg_t *); | ^~~~~~~~~~~~ cddbd.c:316:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 316 | { "srch", do_cddb_srch, srch_help, (CF_HELLO | CF_ACCESS) }, | ^~~~~~~~~~~~ cddbd.c:316:20: note: (near initialization for 'cddb_cmd[3].func') cddbd.c:70:6: note: 'do_cddb_srch' declared here 70 | void do_cddb_srch(arg_t *); | ^~~~~~~~~~~~ cddbd.c:317:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 317 | { "write", do_cddb_write, write_help, (CF_HELLO | CF_ACCESS) }, | ^~~~~~~~~~~~~ cddbd.c:317:20: note: (near initialization for 'cddb_cmd[4].func') cddbd.c:71:6: note: 'do_cddb_write' declared here 71 | void do_cddb_write(arg_t *); | ^~~~~~~~~~~~~ cddbd.c: In function 'cddbd_serve': cddbd.c:622:20: error: implicit declaration of function 'is_valid' [-Wimplicit-function-declaration] 622 | if(is_valid(args.buf)) { | ^~~~~~~~ cddbd.c:640:42: error: too many arguments to function 'c->func'; expected 0, have 1 640 | (*(c->func))(&args); | ~^~~~~~~~~~~ ~~~~~ In file included from cddbd.c:51: cddbd.h:242:19: note: declared here 242 | void (*func)(); /* Command function. */ | ^~~~ --- db.o --- db.c: In function 'is_blank': db.c:2245:31: error: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 2245 | while(*buf != '\0' && isspace(*buf) && (!slash || (*buf == '/'))) | ^~~~~~~ db.c:39:1: note: include '' or provide a declaration of 'isspace' 38 | #include "patchlevel.h" +++ |+#include 39 | db.c: In function 'is_valid': db.c:2263:20: error: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 2263 | if(isprint(*buf) || is_space(*buf) || is_iso(*buf)) | ^~~~~~~ db.c:2263:20: note: include '' or provide a declaration of 'isprint' db.c: In function 'is_space': db.c:2282:24: warning: 'isspace' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2282 | return(isspace((unsigned int)c) && c != 0x0C); | ^~~~~~~~~~~~~~~ : note: built-in 'isspace' declared here --- cddbd.o --- cddbd.c: In function 'do_cddb': cddbd.c:2606:18: error: too many arguments to function 'c->func'; expected 0, have 1 2606 | (*(c->func))(args); | ~^~~~~~~~~~~ ~~~~ cddbd.h:242:19: note: declared here 242 | void (*func)(); /* Command function. */ | ^~~~ --- db.o --- *** [db.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/cddbd/work/cddbd-1.3.1 --- cddbd.o --- *** [cddbd.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/cddbd/work/cddbd-1.3.1 bmake: 2 errors bmake: stopped making "all" in /tmp/work/audio/cddbd/work/cddbd-1.3.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cddbd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cddbd