+ 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/pcemu-1.01anb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcemu-1.01anb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pcemu-1.01anb3 --- main.o --- --- cpu.o --- --- bios.o --- --- vga.o --- --- main.o --- gcc -I/opt/pkg/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/opt/pkg/lib/pcemu/DriveA\" -c main.c --- cpu.o --- gcc -I/opt/pkg/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/opt/pkg/lib/pcemu/DriveA\" -c cpu.c --- bios.o --- gcc -I/opt/pkg/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/opt/pkg/lib/pcemu/DriveA\" -c bios.c --- vga.o --- gcc -I/opt/pkg/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/opt/pkg/lib/pcemu/DriveA\" -c vga.c --- cpu.o --- cpu.c: In function 'i_gobios': cpu.c:3608:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3608 | routine = (void (*)(void))dest; | ^ --- bios.o --- bios.c: In function 'set_int': bios.c:169:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 169 | unsigned loc = (unsigned)routine; | ^ bios.c: In function 'init_bios': bios.c:1211:13: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 1211 | exit(1); | ^~~~ bios.c:133:1: note: include '' or provide a declaration of 'exit' 132 | #include "keytabs.h" +++ |+#include 133 | bios.c:1211:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1211 | exit(1); | ^~~~ bios.c:1211:13: note: include '' or provide a declaration of 'exit' bios.c:1228:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1228 | exit(1); | ^~~~ bios.c:1228:9: note: include '' or provide a declaration of 'exit' bios.c: In function 'set_boot_file': bios.c:1252:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1252 | exit(1); | ^~~~ --- vga.o --- vga.c: In function 'scroll': vga.c:157:29: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 157 | if (num == 0 || y2-y1 < abs(num)) | ^~~ vga.c:27:1: note: include '' or provide a declaration of 'abs' 26 | #include "hardware.h" +++ |+#include 27 | vga.c: In function 'init_vga': vga.c:639:5: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 639 | memcpy(&memory[0xf0000+VIDEOFUNCTIONALITY], &functionality, sizeof functionality); | ^~~~~~ vga.c:27:1: note: include '' or provide a declaration of 'memcpy' 26 | #include "hardware.h" +++ |+#include 27 | vga.c:639:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 639 | memcpy(&memory[0xf0000+VIDEOFUNCTIONALITY], &functionality, sizeof functionality); | ^~~~~~ --- bios.o --- bios.c:1252:9: note: include '' or provide a declaration of 'exit' --- vga.o --- vga.c:639:5: note: include '' or provide a declaration of 'memcpy' --- bios.o --- *** [bios.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/emulators/pcemu/work/pcemu1.01alpha --- vga.o --- *** [vga.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/emulators/pcemu/work/pcemu1.01alpha bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/emulators/pcemu/work/pcemu1.01alpha *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcemu *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcemu