+ 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/z80-asm-2.3.7nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/z80-asm-2.3.7nb1/work.log ===> Building for z80-asm-2.3.7nb1 cd hardware; /opt/pkg/bin/gmake DEFINES="-DZ80_PORTS="\"\\\"./.Z80_ports\"\\\"" -DFURTHER_HARDWARE -DSSL_ZDS" hard.a gmake[1]: Entering directory '/home/pbulk/build/devel/z80-asm/work/z80-asm-2.3.7/hardware' gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o quartz.o quartz.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o daisy_chain.o daisy_chain.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-ctc.o z80-ctc.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o port_buffer.o port_buffer.c z80-ctc.c: In function 'read_word': z80-ctc.c:73:39: warning: unused parameter 'port' [-Wunused-parameter] 73 | unsigned char read_word(unsigned char port) | ~~~~~~~~~~~~~~^~~~ gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o analyzer.o analyzer.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o ssl_zds.o ssl_zds.c rm -f hard.a ar rcs hard.a quartz.o daisy_chain.o z80-ctc.o port_buffer.o analyzer.o \ ssl_zds.o gmake[1]: Leaving directory '/home/pbulk/build/devel/z80-asm/work/z80-asm-2.3.7/hardware' make z80-asm make[1]: Entering directory '/home/pbulk/build/devel/z80-asm/work/z80-asm-2.3.7' gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-asm.o z80-asm.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-cpu.o z80-cpu.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o dummy.o dummy.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o asm.o asm.c z80-asm.c: In function 'main': z80-asm.c:219:35: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 219 | qsort(ele,b,sizeof(struct info),compare); | ^~~~~~~ | | | int (*)(const struct info *, const struct info *) In file included from /usr/include/stdlib.h:41, from z80-asm.c:3: /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const struct info *, const struct info *)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [: z80-asm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... asm.c: In function 'compile': asm.c:564:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 564 | if (a) error(lineno,txt,msg[a]);ret=1; | ^~ asm.c:564:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 564 | if (a) error(lineno,txt,msg[a]);ret=1; | ^~~ make[1]: Leaving directory '/home/pbulk/build/devel/z80-asm/work/z80-asm-2.3.7' gmake: *** [Makefile:38: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/z80-asm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/z80-asm