+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/raspberrypi-usbboot-1.0/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/raspberrypi-usbboot-1.0/work.log ===> Building for raspberrypi-usbboot-1.0 xxd -i msd/bootcode.bin > msd/bootcode.h xxd -i msd/start.elf > msd/start.h xxd -i msd/bootcode4.bin > msd/bootcode4.h gcc -Wall -Wextra -g -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -o rpiboot main.c bootfiles.c decode_duid.c `pkg-config --cflags --libs libusb-1.0` -DGIT_VER="\"windows-v1.0\"" -DPKG_VER="\"1.0\"" -DBUILD_DATE="\"2026/04/21\"" -DDEFAULT_MSG_DIR=\"/opt/local/share/rpiboot/mass-storage-gadget64/\" -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 In file included from main.c:23: fmemopen.c: In function 'fmemopen': fmemopen.c:107:10: warning: implicit declaration of function 'funopen'; did you mean 'fdopen'? [-Wimplicit-function-declaration] 107 | return funopen(mem, readfn, writefn, seekfn, closefn); | ^~~~~~~ | fdopen fmemopen.c:107:10: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion] 107 | return funopen(mem, readfn, writefn, seekfn, closefn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Undefined first referenced symbol in file funopen /var/tmp//ccTbaK9p.o ld: fatal: symbol referencing errors. No output written to rpiboot collect2: error: ld returned 1 exit status gmake: *** [Makefile:13: rpiboot] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/raspberrypi-usbboot *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/raspberrypi-usbboot