+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rman-3.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rman-3.2nb1/work.log ===> Building for rman-3.2nb1 --- rman --- gcc -DNDEBUG -DVOLLIST='"1:2:3:4:5:6:7:8:9:o:l:n:p"' -DMANTITLEPRINTF='"%s(%s) manual page"' -DMANREFPRINTF='"%s.%s"' -DPOLYGLOTMANVERSION=\"3.2\" -O2 -finline-functions -Wl,-R/opt/pkg/lib -o rman rman.c rman.c: In function 'casify': rman.c:364:99: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types] 364 | exp = (char **)bsearch(&p, lcexceptions, lcexceptionslen, sizeof(char *), lcexceptionscmp); | ^~~~~~~~~~~~~~~ | | | int (*)(const char **, const char **) In file included from /usr/include/stdlib.h:41, from rman.c:24: /usr/include/iso/stdlib_iso.h:127:9: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const char **, const char **)' 127 | int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rman.c: In function 'source_command': rman.c:4174:44: warning: passing argument 1 of 'source_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4174 | if (fcharout) { source_out(tcltkOP[i]); source_out(": "); } | ~~~~~~~^~~ rman.c:3558:24: note: expected 'char *' but argument is of type 'const char *' 3558 | char *source_out(char *p) { | ~~~~~~^ rman.c: In function 'main': rman.c:4669:61: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 4669 | qsort(lcexceptions, lcexceptionslen, sizeof(char*), lcexceptionscmp); | ^~~~~~~~~~~~~~~ | | | int (*)(const char **, const char **) /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const char **, const char **)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [rman] Error code 1 bmake: stopped making "all" in /home/pbulk/build/textproc/rman/work/rman-3.2 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/textproc/rman/work/rman-3.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/rman *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/rman