+ 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/heirloom-awk-070715/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heirloom-awk-070715/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for heirloom-awk-070715 set -e; cd /home/pbulk/build/lang/heirloom-awk/work/heirloom-070715; test -f makefile.hl || mv makefile makefile.hl; /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/lang/heirloom-awk/work/.cwrapper/bin:/home/pbulk/build/lang/heirloom-awk/work/.buildlink/bin:/home/pbulk/build/lang/heirloom-awk/work/.gcc/bin:/home/pbulk/build/lang/heirloom-awk/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/lang/heirloom-awk/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/lang/heirloom-awk/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/lang/heirloom-awk/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/lang/heirloom-awk/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/lang/heirloom-awk/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/lang/heirloom-awk/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/lang/heirloom-awk/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/lang/heirloom-awk/work/.buildlink/lib/pkgconfig:/home/pbulk/build/lang/heirloom-awk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/lang/heirloom-awk/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/lang/heirloom-awk/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build oawk nawk" UCBINST=/opt/pkg/bin/bsdinstall ROOT=/home/pbulk/build/lang/heirloom-awk/work/.destdir DEFBIN=/opt/pkg/heirloom/bin SV3BIN=/opt/pkg/heirloom/bin S42BIN=/opt/pkg/heirloom/bin/s42 SUSBIN=/opt/pkg/heirloom/bin/posix SU3BIN=/opt/pkg/heirloom/bin/posix2001 UCBBIN=/opt/pkg/heirloom/ucb CCSBIN=/opt/pkg/heirloom/bin/ccs DEFLIB=/opt/pkg/heirloom/lib DEFSBIN=/opt/pkg/heirloom/sbin MANDIR=/opt/pkg/heirloom/man DFLDIR=/opt/pkg/heirloom/etc/default SPELLHIST=/opt/pkg/heirloom/var/adm/spellhist SULOG=/opt/pkg/heirloom/var/log/sulog MANINST=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 LCURS= LIBZ=-lz USE_ZLIB= LIBBZ2=-lbz2 USE_BZLIB= LD=gcc LDFLAGS=\ \ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib CPPFLAGS=\ \ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CFLAGSS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CFLAGS2=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre\ -I/opt/pkg/include STRIP=true LCRYPT= UCBINST=/opt/pkg/bin/bsdinstall ICOMMON= LCOMMON=\ -lheirloomcommon IUXRE= LUXRE=-luxre NO_INSTALL_INTRO=1 -f makefile.hl makefiles cat build/mk.head build/mk.config Makefile.mk build/mk.tail >Makefile cat build/mk.head build/mk.config build/Makefile.mk build/mk.tail >build/Makefile cat build/mk.head build/mk.config oawk/Makefile.mk build/mk.tail >oawk/Makefile cat build/mk.head build/mk.config nawk/Makefile.mk build/mk.tail >nawk/Makefile for i in build oawk nawk ; do (cd "$i" && /opt/pkg/bin/bmake all) || exit ; done <maninst.sh >maninst sed ' s,@DEFLIB@,/opt/pkg/heirloom/lib,g; s,@SPELLHIST@,/opt/pkg/heirloom/var/adm/spellhist,g; s,@MAGIC@,/opt/pkg/heirloom/lib/magic,g; s,@DFLDIR@,/opt/pkg/heirloom/etc/default,g; s,@DEFBIN@,/opt/pkg/heirloom/bin,g; s,@SV3BIN@,/opt/pkg/heirloom/bin,g; s,@S42BIN@,/opt/pkg/heirloom/bin/s42,g; s,@SUSBIN@,/opt/pkg/heirloom/bin/posix,g; s,@SU3BIN@,/opt/pkg/heirloom/bin/posix2001,g; s,@UCBBIN@,/opt/pkg/heirloom/ucb,g; s,@CCSBIN@,/opt/pkg/heirloom/bin/ccs,g' chmod 755 maninst <crossln.sh >crossln sed 's,@LNS@,ln -s,g' chmod 755 crossln cat genintro.sh >genintro chmod 755 genintro yacc -d awk.g.y awk.g.y: warning: 96 shift/reduce conflicts [-Wconflicts-sr] awk.g.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples mv -f y.tab.c awk.g.c mv -f y.tab.h awk.g.h grep '^#[ ]*define[ ]*[^Yy][^Yy]' awk.g.h >awk.h cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c awk.g.c lex awk.lx.l mv lex.yy.c awk.lx.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c awk.lx.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c b.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c main.c echo '#include "awk.h"' > token.c echo 'struct toke' >> token.c echo '{ char *tnm;' >> token.c echo 'int yval;' >> token.c echo '} tok[] = {' >> token.c sed 's/#[ ]*define[ ]\{1,\}\([^ ]*\)[ ]\{1,\}\(.*\)/{ "\1", \2 },/' < awk.h >> token.c echo '};' >> token.c echo 'char *tokname(int n)' >> token.c echo '{' >> token.c echo ' if (n < FIRSTTOKEN || n >= LASTTOKEN)' >> token.c echo ' n = FIRSTTOKEN;' >> token.c echo ' return(tok[n - FIRSTTOKEN].tnm);' >> token.c echo '}' >> token.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c token.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c tran.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c lib.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c run.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c parse.c cc -o proc proc.c ./proc > proctab.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c proctab.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c version.c gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib awk.g.o awk.lx.o b.o main.o token.o tran.o lib.o run.o parse.o proctab.o version.o -luxre -lm -lheirloomcommon -o awk yacc -d awk.g.y awk.g.y: warning: 43 shift/reduce conflicts [-Wconflicts-sr] awk.g.y: warning: 181 reduce/reduce conflicts [-Wconflicts-rr] awk.g.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples mv -f y.tab.c awk.g.c awk 'NR==1 {print "#include <inttypes.h>"} {print}' y.tab.h > y.tab.h_ mv y.tab.h_ y.tab.h cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c awk.g.c lex awk.lx.l mv lex.yy.c awk.lx.c cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include -D_FILE_OFFSET_BITS=64L -c awk.lx.c In file included from awk.lx.l:74: /usr/include/unistd.h:383:7: error: expected identifier or '(' before 'const' 383 | char *gettxt(const char *, const char *); | ^~~~~~ *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/lang/heirloom-awk/work/heirloom-070715/nawk *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/lang/heirloom-awk/work/heirloom-070715 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/heirloom-awk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/heirloom-awk