+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pt2-clone-1.49nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pt2-clone-1.49nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pt2-clone-1.49nb3 [ 1%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_aboutscreen.c.o [ 3%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_clear.c.o [ 5%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_diskop.c.o [ 7%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_editop.c.o [ 9%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_font.c.o [ 11%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_icon.c.o [ 12%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_loop_pins.c.o [ 14%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_mod2wav.c.o [ 16%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_mute_buttons.c.o [ 18%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_pat2smp_dialog.c.o [ 20%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_patcursor.c.o [ 22%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_pointer.c.o [ 24%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_posed.c.o [ 25%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_sampler.c.o [ 27%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_spectrum.c.o [ 29%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_tracker.c.o [ 31%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_vumeter.c.o [ 33%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_yes_no_dialog.c.o [ 35%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_audio.c.o [ 37%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_blep.c.o [ 38%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_bmp.c.o [ 40%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_chordmaker.c.o [ 42%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_config.c.o /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:26:20: error: 'PATH_MAX' undeclared here (not in a function) 26 | static char oldCwd[PATH_MAX]; | ^~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c: In function 'loadProTrackerDotIni': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:175:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fread(configBuffer, 1, configFileSize, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c: In function 'loadPTDotConfig': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:525:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 525 | fread(cfgString, 1, 24, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:543:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 543 | fread(&tmp16, 2, 1, f); // stored as Big-Endian | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:550:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:556:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 556 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:562:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | fread(&editor.multiModeNext[0], 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:563:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | fread(&editor.multiModeNext[1], 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:564:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 564 | fread(&editor.multiModeNext[2], 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:565:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 565 | fread(&editor.multiModeNext[3], 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:571:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 571 | fread(&tmp16, 2, 1, f); // stored as Big-Endian | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:578:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 578 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:583:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 583 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:591:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 591 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:599:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 599 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:605:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 605 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:611:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 611 | fread(&tmp8, 1, 1, f); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:626:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 626 | fread(&vuMeterColors[i], 2, 1, f); // stored as Big-Endian | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:634:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 634 | fread(&analyzerColors[i], 2, 1, f); // stored as Big-Endian | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c: In function 'loadColorsDotIni': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:676:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 676 | fread(configBuffer, 1, fileSize, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_diskop.c.o --- CMakeFiles/pt2-clone.dir/src/pt2_config.c.o --- *** [CMakeFiles/pt2-clone.dir/src/pt2_config.c.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:65:28: error: 'PATH_MAX' undeclared here (not in a function) 65 | static char fileNameBuffer[PATH_MAX + 1]; | ^~~~~~~~ In file included from /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_header.h:14, from /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:26: /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c: In function 'bufferCreateEmptyDir': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_unicode.h:34:36: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 34 | #define UNICHAR_STRDUP(a) strdup(a) | ^~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:88:27: note: in expansion of macro 'UNICHAR_STRDUP' 88 | dirEntry->nameU = UNICHAR_STRDUP(PARENT_DIR_STR); | ^~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:88:25: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 88 | dirEntry->nameU = UNICHAR_STRDUP(PARENT_DIR_STR); | ^ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c: In function 'findFirst': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:169:26: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 169 | searchRec->nameU = UNICHAR_STRDUP(fData->d_name); | ^ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:178:52: error: 'S_IFDIR' undeclared (first use in this function); did you mean 'S_ISDIR'? 178 | searchRec->isDir = !!(st.st_mode & S_IFDIR); | ^~~~~~~ | S_ISDIR /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:178:52: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c: In function 'findNext': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:234:26: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 234 | searchRec->nameU = UNICHAR_STRDUP(fData->d_name); | ^ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:243:52: error: 'S_IFDIR' undeclared (first use in this function); did you mean 'S_ISDIR'? 243 | searchRec->isDir = !!(st.st_mode & S_IFDIR); | ^~~~~~~ | S_ISDIR In file included from /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_header.h:14, from /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:26: /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c: In function 'setPathFromDiskOpMode': /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_unicode.h:36:36: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | #define UNICHAR_CHDIR(a) chdir(a) | ^~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:406:9: note: in expansion of macro 'UNICHAR_CHDIR' 406 | UNICHAR_CHDIR((diskop.mode == DISKOP_MODE_MOD) ? editor.modulesPathU : editor.samplesPathU); | ^~~~~~~~~~~~~ --- CMakeFiles/pt2-clone.dir/src/pt2_diskop.c.o --- *** [CMakeFiles/pt2-clone.dir/src/pt2_diskop.c.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 2 errors bmake[2]: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 --- CMakeFiles/pt2-clone.dir/all --- *** [CMakeFiles/pt2-clone.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 1 error bmake[1]: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 1 error bmake: stopped in /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/pt2-clone *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/pt2-clone