+ 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_loop_pins.c.o [ 12%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_icon.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_vumeter.c.o [ 31%] Building C object CMakeFiles/pt2-clone.dir/src/gfx/pt2_gfx_tracker.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 [ 44%] Building C object CMakeFiles/pt2-clone.dir/src/pt2_diskop.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); did you mean 'RAND_MAX'? static char oldCwd[PATH_MAX]; ^~~~~~~~ RAND_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:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(cfgString, 1, 24, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:543:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:556:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:562:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&editor.multiModeNext[0], 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:563:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&editor.multiModeNext[1], 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:564:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&editor.multiModeNext[2], 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:565:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&editor.multiModeNext[3], 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:571:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:583:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:591:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:599:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:605:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:611:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmp8, 1, 1, f); ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_config.c:626:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(configBuffer, 1, fileSize, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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); did you mean 'RAND_MAX'? static char fileNameBuffer[PATH_MAX + 1]; ^~~~~~~~ RAND_MAX 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] #define UNICHAR_STRDUP(a) strdup(a) ^~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:88:20: note: in expansion of macro 'UNICHAR_STRDUP' dirEntry->nameU = UNICHAR_STRDUP(PARENT_DIR_STR); ^~~~~~~~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:88:18: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 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:19: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] searchRec->nameU = UNICHAR_STRDUP(fData->d_name); ^ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:178:38: error: 'S_IFDIR' undeclared (first use in this function); did you mean 'S_ISDIR'? 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:38: 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:19: warning: assignment to 'UNICHAR *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] searchRec->nameU = UNICHAR_STRDUP(fData->d_name); ^ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:243:38: error: 'S_IFDIR' undeclared (first use in this function); did you mean 'S_ISDIR'? 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] #define UNICHAR_CHDIR(a) chdir(a) ^~~~~~~~ /home/pbulk/build/audio/pt2-clone/work/pt2-clone-1.49/src/pt2_diskop.c:406:2: note: in expansion of macro 'UNICHAR_CHDIR' 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-el8-trunk-x86_64/audio/pt2-clone *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/audio/pt2-clone