=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for heirloom-sed-070715 set -e; cd /opt/work/textproc/heirloom-sed/work/heirloom-070715; test -f makefile.hl || mv makefile makefile.hl; /usr/bin/env USETOOLS=no CC=clang CFLAGS=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CPPFLAGS=-I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CXX=clang++ CXXFLAGS=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 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 LINKER_RPATH_FLAG=-L PATH=/opt/work/textproc/heirloom-sed/work/.cwrapper/bin:/opt/work/textproc/heirloom-sed/work/.buildlink/bin:/opt/work/textproc/heirloom-sed/work/.tools/bin:/opt/pkg/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/pkg-dev/bin:/opt/pkg-dev/sbin:/opt/pkg/bin:/opt/X11/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/opt/work/textproc/heirloom-sed/work/.home CWRAPPERS_CONFIG_DIR=/opt/work/textproc/heirloom-sed/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/X11 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/opt/work/textproc/heirloom-sed/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/opt/work/textproc/heirloom-sed/work/.buildlink/lib/pkgconfig:/opt/work/textproc/heirloom-sed/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/opt/work/textproc/heirloom-sed/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/opt/work/textproc/heirloom-sed/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build sed" UCBINST=/usr/bin/install ROOT=/opt/work/textproc/heirloom-sed/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=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 LCURS= LIBZ=-lz USE_ZLIB= LIBBZ2=-lbz2 USE_BZLIB= LD=clang LDFLAGS=\ \ \ -L/opt/pkg/lib CPPFLAGS=\ \ \ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGS=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGSS=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGS2=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGS=-O2\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre STRIP=true LCRYPT= UCBINST=/usr/bin/install 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 sed/Makefile.mk build/mk.tail >sed/Makefile --- all --- for i in build sed ; do (cd "$i" && /opt/pkg/bin/bmake all) || exit ; done --- maninst --- --- crossln --- --- genintro --- --- maninst --- 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' --- crossln --- crossln sed 's,@LNS@,ln -s,g' --- genintro --- cat genintro.sh >genintro chmod 755 genintro --- maninst --- chmod 755 maninst --- crossln --- chmod 755 crossln --- sed0_sus.o --- --- sed1_sus.o --- --- version_sus.o --- --- sed0_su3.o --- --- sed1_su3.o --- --- version_su3.o --- --- sed0_s42.o --- --- sed1_s42.o --- --- sed0_sus.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSUS -c sed0.c -o sed0_sus.o --- sed1_sus.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSUS -c sed1.c -o sed1_sus.o --- version_sus.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSUS -c version.c -o version_sus.o --- sed0_su3.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSU3 -c sed0.c -o sed0_su3.o --- sed1_su3.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSU3 -c sed1.c -o sed1_su3.o --- version_su3.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DSU3 -c version.c -o version_su3.o --- sed0_s42.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DS42 -c sed0.c -o sed0_s42.o --- sed1_s42.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DS42 -c sed1.c -o sed1_s42.o --- version_s42.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -DS42 -c version.c -o version_s42.o --- sed0.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -c sed0.c --- sed0_sus.o --- sed0.c:339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:339:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:339:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:422:12: note: place parentheses around the assignment to silence this warning --- sed1_sus.o --- sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- sed0_sus.o --- if(lpt = search(L(lab))) { ^ ( ) sed0.c:422:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:641:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:641:23: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:641:23: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == sed0.c:662:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:662:22: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:662:22: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == --- sed0_s42.o --- sed0.c:339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:339:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:339:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:422:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:422:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:641:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:641:23: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:641:23: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == sed0.c:662:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:662:22: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:662:22: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == --- sed1_su3.o --- sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- sed0_su3.o --- sed0.c:339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:339:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:339:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:422:12: note: place parentheses around the assignment to silence this warning --- sed1_s42.o --- sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- sed0_su3.o --- if(lpt = search(L(lab))) { ^ ( ) sed0.c:422:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:641:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:641:23: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:641:23: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == sed0.c:662:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:662:22: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:662:22: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == --- sed1.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -c sed1.c --- sed0.o --- sed0.c:339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:339:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:339:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lpt = search(L(lab))) { ~~~~^~~~~~~~~~~~~~~~ sed0.c:422:12: note: place parentheses around the assignment to silence this warning if(lpt = search(L(lab))) { ^ ( ) sed0.c:422:12: note: use '==' to turn this assignment into an equality comparison if(lpt = search(L(lab))) { ^ == sed0.c:641:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:641:23: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:641:23: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == sed0.c:662:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(linebuf[++c] = *q++) { ~~~~~~~~~~~~~^~~~~~ sed0.c:662:22: note: place parentheses around the assignment to silence this warning while(linebuf[++c] = *q++) { ^ ( ) sed0.c:662:22: note: use '==' to turn this assignment into an equality comparison while(linebuf[++c] = *q++) { ^ == --- sed1.o --- In file included from sed1.c:57: /opt/work/textproc/heirloom-sed/work/.buildlink/include/heirloom/regexp.h:473:16: warning: implicit conversion from 'int' to 'char' changes value from 140 to -116 [-Wconstant-conversion] *ep++ = CCL|CMB; ~ ~~~^~~~ /opt/work/textproc/heirloom-sed/work/.buildlink/include/heirloom/regexp.h:482:19: warning: implicit conversion from 'int' to 'char' changes value from 168 to -88 [-Wconstant-conversion] ep[-2] = CNCL|CMB; ~ ~~~~^~~~ /opt/work/textproc/heirloom-sed/work/.buildlink/include/heirloom/regexp.h:635:18: warning: implicit conversion from 'int' to 'char' changes value from 132 to -124 [-Wconstant-conversion] *ep++ = CCHR|CMB; ~ ~~~~^~~~ sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- sed1_s42.o --- 1 warning generated. --- version.o --- --- sed1_sus.o --- 1 warning generated. --- version.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -D_FILE_OFFSET_BITS=64L -c version.c --- sed1_su3.o --- 1 warning generated. --- sed0_sus.o --- 4 warnings generated. --- sed_sus --- clang -L/opt/pkg/lib sed0_sus.o sed1_sus.o version_sus.o -luxre -lheirloomcommon -o sed_sus --- sed0_s42.o --- 4 warnings generated. --- sed_s42 --- clang -L/opt/pkg/lib sed0_s42.o sed1_s42.o version_s42.o -luxre -lheirloomcommon -o sed_s42 --- sed0_su3.o --- 4 warnings generated. --- sed_su3 --- clang -L/opt/pkg/lib sed0_su3.o sed1_su3.o version_su3.o -luxre -lheirloomcommon -o sed_su3 --- sed0.o --- 4 warnings generated. --- sed1.o --- 4 warnings generated. --- sed --- clang -L/opt/pkg/lib sed0.o sed1.o version.o -lheirloomcommon -o sed duplicate symbol '_step' in: sed1.o /opt/work/textproc/heirloom-sed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_compile' in: sed1.o /opt/work/textproc/heirloom-sed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_advance' in: sed1.o /opt/work/textproc/heirloom-sed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) ld: 3 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [sed] Error code 1 bmake[1]: stopped in /opt/work/textproc/heirloom-sed/work/heirloom-070715/sed 1 error bmake[1]: stopped in /opt/work/textproc/heirloom-sed/work/heirloom-070715/sed *** [all] Error code 2 bmake: stopped in /opt/work/textproc/heirloom-sed/work/heirloom-070715 1 error bmake: stopped in /opt/work/textproc/heirloom-sed/work/heirloom-070715 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/heirloom-sed *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/heirloom-sed