+ 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/frotz-2.54nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/frotz-2.54nb3/work.log ===> Building for frotz-2.54nb3 ** Generating src/common/hash.h ** Generating src/common/defs.h ** Generating src/curses/ux_defines.h /opt/pkg/bin/gmake -C src/common gmake[1]: Entering directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/common' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -fPIC -fpic -o fastmem.o -c fastmem.c fastmem.c: In function 'z_restore': fastmem.c:842:36: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 842 | f_setup.aux_name = strdup(default_name); | ^~~~~~ | strcmp fastmem.c:842:34: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 842 | f_setup.aux_name = strdup(default_name); | ^ fastmem.c:865:35: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 865 | f_setup.save_name = strdup(new_name); | ^ fastmem.c: In function 'z_save': fastmem.c:1068:34: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1068 | f_setup.aux_name = strdup(default_name); | ^ fastmem.c:1094:35: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1094 | f_setup.save_name = strdup(new_name); | ^ gmake[1]: *** [Makefile:29: fastmem.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -fPIC -fpic -o err.o -c err.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -fPIC -fpic -o buffer.o -c buffer.c gmake[1]: Leaving directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/common' gmake: *** [Makefile:449: src/common/frotz_common.a] Error 2 gmake: *** Waiting for unfinished jobs.... /opt/pkg/bin/gmake -C src/blorb gmake[1]: Entering directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/blorb' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -I../common -fPIC -fpic -o blorblib.o -c blorblib.c ar rc blorblib.a blorblib.o /opt/tools/bin/ranlib blorblib.a ** Done with Blorb library. gmake[1]: Leaving directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/blorb' /opt/pkg/bin/gmake -C src/curses gmake[1]: Entering directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/curses' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_audio_oss.o -c ux_audio_oss.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_audio_none.o -c ux_audio_none.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_blorb.o -c ux_blorb.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_audio.o -c ux_audio.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_input.o -c ux_input.c ux_input.c: In function 'os_read_line': ux_input.c:717:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 717 | if (scrpos >= width) | ^~ In file included from ux_input.c:39: /home/pbulk/build/games/frotz/work/.buildlink/include/ncurses/ncurses.h:1315:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1315 | #define move(y,x) wmove(stdscr,(y),(x)) | ^~~~~ ux_input.c:719:25: note: in expansion of macro 'move' 719 | move(y, x + scrpos); | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_pic.o -c ux_pic.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_init.o -c ux_init.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_screen.o -c ux_screen.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNCURSES_WIDECHAR=1 -I/opt/pkg/include/ncurses -I/opt/pkg/include -Wall -std=c99 -pthread -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_XOPEN_SOURCE_EXTENDED -fPIC -fpic -o ux_text.o -c ux_text.c ar rc frotz_curses.a ux_audio.o ux_audio_none.o ux_audio_oss.o ux_blorb.o ux_init.o ux_input.o ux_pic.o ux_screen.o ux_text.o /opt/tools/bin/ranlib frotz_curses.a ** Done with curses interface. gmake[1]: Leaving directory '/home/pbulk/build/games/frotz/work/frotz-2.54/src/curses' *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/frotz *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/frotz