=> 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-ed-070715 set -e; cd /opt/work/textproc/heirloom-ed/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-ed/work/.cwrapper/bin:/opt/work/textproc/heirloom-ed/work/.buildlink/bin:/opt/work/textproc/heirloom-ed/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-ed/work/.home CWRAPPERS_CONFIG_DIR=/opt/work/textproc/heirloom-ed/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-ed/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/opt/work/textproc/heirloom-ed/work/.buildlink/lib/pkgconfig:/opt/work/textproc/heirloom-ed/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/opt/work/textproc/heirloom-ed/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/opt/work/textproc/heirloom-ed/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build ed" UCBINST=/usr/bin/install ROOT=/opt/work/textproc/heirloom-ed/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 ed/Makefile.mk build/mk.tail >ed/Makefile --- all --- for i in build ed ; 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 --- ed_s42.o --- --- ed_sus.o --- --- ed_su3.o --- --- ed.o --- --- ed_s42.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -DS42 -DSHELL='"/bin/sh"' -c ed.c -o ed_s42.o --- ed_sus.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -DSUS -DSHELL='"/bin/sh"' -c ed.c -o ed_sus.o --- ed_su3.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -DSU3 -DSHELL='"/bin/sh"' -c ed.c -o ed_su3.o --- ed.o --- cc -O2 -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -I/opt/pkg/include/heirloom -I/opt/pkg/include/uxre -DSHELL='"/bin/sh"' -c ed.c --- ed_sus.o --- ed.c:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (savedfile[i] = (*argv)[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~ ed.c:348:23: note: place parentheses around the assignment to silence this warning while (savedfile[i] = (*argv)[i]); ^ ( ) ed.c:348:23: note: use '==' to turn this assignment into an equality comparison while (savedfile[i] = (*argv)[i]); ^ == ed.c:919:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p2++ = *p1++) ~~~~~~^~~~~~~ ed.c:919:16: note: place parentheses around the assignment to silence this warning while (*p2++ = *p1++) ^ ( ) ed.c:919:16: note: use '==' to turn this assignment into an equality comparison while (*p2++ = *p1++) ^ == ed.c:941:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:941:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:941:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1068:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lastc=peekc) { ~~~~~^~~~~~ ed.c:1068:11: note: place parentheses around the assignment to silence this warning if (lastc=peekc) { ^ ( ) ed.c:1068:11: note: use '==' to turn this assignment into an equality comparison if (lastc=peekc) { ^ == --- ed_s42.o --- ed.c:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (savedfile[i] = (*argv)[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~ ed.c:348:23: note: place parentheses around the assignment to silence this warning while (savedfile[i] = (*argv)[i]); ^ ( ) ed.c:348:23: note: use '==' to turn this assignment into an equality comparison while (savedfile[i] = (*argv)[i]); ^ == --- ed_sus.o --- ed.c:1408:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*lp++ = *bp++) { ~~~~~~^~~~~~~ ed.c:1408:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *bp++) { ^ ( ) ed.c:1408:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *bp++) { ^ == ed.c:1434:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*bp = *lp++) { ~~~~^~~~~~~ ed.c:1434:13: note: place parentheses around the assignment to silence this warning while (*bp = *lp++) { ^ ( ) ed.c:1434:13: note: use '==' to turn this assignment into an equality comparison while (*bp = *lp++) { ^ == ed.c:1616:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j] = linebuf[i++]) ~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1616:20: note: place parentheses around the assignment to silence this warning while (genbuf[j] = linebuf[i++]) ^ ( ) ed.c:1616:20: note: use '==' to turn this assignment into an equality comparison while (genbuf[j] = linebuf[i++]) ^ == --- ed.o --- In file included from ed.c:274: /opt/work/textproc/heirloom-ed/work/.buildlink/include/heirloom/regexp.h:473:16: warning: implicit conversion from 'int' to 'char' changes value from 140 to -116 [-Wconstant-conversion] --- ed_sus.o --- ed.c:1622:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed.o --- *ep++ = CCL|CMB; ~ ~~~^~~~ /opt/work/textproc/heirloom-ed/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; ~ ~~~~^~~~ --- ed_sus.o --- while (linebuf[i++] = genbuf[j++]) ~~~~~~~~~~~~~^~~~~~~~~~~~~ --- ed.o --- /opt/work/textproc/heirloom-ed/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; ~ ~~~~^~~~ --- ed_sus.o --- ed.c:1622:22: note: place parentheses around the assignment to silence this warning while (linebuf[i++] = genbuf[j++]) ^ ( ) ed.c:1622:22: note: use '==' to turn this assignment into an equality comparison while (linebuf[i++] = genbuf[j++]) ^ == --- ed_s42.o --- ed.c:919:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p2++ = *p1++) ~~~~~~^~~~~~~ ed.c:919:16: note: place parentheses around the assignment to silence this warning while (*p2++ = *p1++) ^ ( ) ed.c:919:16: note: use '==' to turn this assignment into an equality comparison while (*p2++ = *p1++) ^ == ed.c:941:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:941:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:941:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1068:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lastc=peekc) { ~~~~~^~~~~~ ed.c:1068:11: note: place parentheses around the assignment to silence this warning if (lastc=peekc) { ^ ( ) ed.c:1068:11: note: use '==' to turn this assignment into an equality comparison if (lastc=peekc) { ^ == ed.c:1408:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed_sus.o --- ed.c:1749:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed_s42.o --- while (*lp++ = *bp++) { ~~~~~~^~~~~~~ ed.c:1408:15: note: place parentheses around the assignment to silence this warning --- ed_sus.o --- while (*p1++ = *p2++) ~~~~~~^~~~~~~ --- ed_s42.o --- while (*lp++ = *bp++) { ^ ( ) ed.c:1408:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *bp++) { ^ == --- ed_sus.o --- ed.c:1749:15: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) --- ed_s42.o --- ed.c:1434:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed_sus.o --- ed.c:1749:15: note: use '==' to turn this assignment into an equality comparison --- ed_s42.o --- while (*bp = *lp++) { ~~~~^~~~~~~ ed.c:1434:13: note: place parentheses around the assignment to silence this warning while (*bp = *lp++) { ^ ( ) --- ed_sus.o --- while (*p1++ = *p2++) ^ == --- ed_s42.o --- ed.c:1434:13: note: use '==' to turn this assignment into an equality comparison while (*bp = *lp++) { ^ == --- ed_sus.o --- ed.c:1769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = rhsbuf[k++]&0377) { ~~^~~~~~~~~~~~~~~~~~ ed.c:1769:11: note: place parentheses around the assignment to silence this warning while (c = rhsbuf[k++]&0377) { ^ ( ) ed.c:1769:11: note: use '==' to turn this assignment into an equality comparison --- ed.o --- ed.c:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed_sus.o --- while (c = rhsbuf[k++]&0377) { ^ == --- ed.o --- while (savedfile[i] = (*argv)[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~ --- ed_s42.o --- ed.c:1616:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed.o --- ed.c:348:23: note: place parentheses around the assignment to silence this warning while (savedfile[i] = (*argv)[i]); ^ ( ) --- ed_s42.o --- while (genbuf[j] = linebuf[i++]) ~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1616:20: note: place parentheses around the assignment to silence this warning while (genbuf[j] = linebuf[i++]) ^ ( ) --- ed.o --- ed.c:348:23: note: use '==' to turn this assignment into an equality comparison while (savedfile[i] = (*argv)[i]); ^ == --- ed_s42.o --- ed.c:1616:20: note: use '==' to turn this assignment into an equality comparison while (genbuf[j] = linebuf[i++]) ^ == ed.c:1622:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (linebuf[i++] = genbuf[j++]) ~~~~~~~~~~~~~^~~~~~~~~~~~~ --- ed_sus.o --- ed.c:1796:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j++] = linebuf[i++]) ~~~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1796:21: note: place parentheses around the assignment to silence this warning while (genbuf[j++] = linebuf[i++]) --- ed_s42.o --- ed.c:1622:22: note: place parentheses around the assignment to silence this warning --- ed_sus.o --- ^ ( ) ed.c:1796:21: note: use '==' to turn this assignment into an equality comparison while (genbuf[j++] = linebuf[i++]) ^ == --- ed_s42.o --- while (linebuf[i++] = genbuf[j++]) ^ ( ) --- ed_sus.o --- ed.c:1806:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*lp++ = *sp++) ~~~~~~^~~~~~~ ed.c:1806:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *sp++) ^ ( ) ed.c:1806:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *sp++) ^ == --- ed_s42.o --- ed.c:1622:22: note: use '==' to turn this assignment into an equality comparison while (linebuf[i++] = genbuf[j++]) ^ == --- ed_sus.o --- ed.c:1905:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1905:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1905:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == --- ed.o --- ed.c:919:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p2++ = *p1++) ~~~~~~^~~~~~~ ed.c:919:16: note: place parentheses around the assignment to silence this warning while (*p2++ = *p1++) ^ ( ) ed.c:919:16: note: use '==' to turn this assignment into an equality comparison while (*p2++ = *p1++) ^ == ed.c:941:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:941:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:941:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1068:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lastc=peekc) { ~~~~~^~~~~~ ed.c:1068:11: note: place parentheses around the assignment to silence this warning if (lastc=peekc) { ^ ( ) ed.c:1068:11: note: use '==' to turn this assignment into an equality comparison if (lastc=peekc) { ^ == --- ed_s42.o --- ed.c:1749:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1749:15: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1749:15: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = rhsbuf[k++]&0377) { ~~^~~~~~~~~~~~~~~~~~ ed.c:1769:11: note: place parentheses around the assignment to silence this warning while (c = rhsbuf[k++]&0377) { ^ ( ) ed.c:1769:11: note: use '==' to turn this assignment into an equality comparison while (c = rhsbuf[k++]&0377) { ^ == --- ed.o --- ed.c:1408:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*lp++ = *bp++) { ~~~~~~^~~~~~~ ed.c:1408:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *bp++) { ^ ( ) ed.c:1408:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *bp++) { ^ == ed.c:1434:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*bp = *lp++) { ~~~~^~~~~~~ ed.c:1434:13: note: place parentheses around the assignment to silence this warning while (*bp = *lp++) { ^ ( ) ed.c:1434:13: note: use '==' to turn this assignment into an equality comparison while (*bp = *lp++) { ^ == --- ed_s42.o --- ed.c:1796:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j++] = linebuf[i++]) ~~~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1796:21: note: place parentheses around the assignment to silence this warning while (genbuf[j++] = linebuf[i++]) ^ ( ) ed.c:1796:21: note: use '==' to turn this assignment into an equality comparison while (genbuf[j++] = linebuf[i++]) ^ == ed.c:1806:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed.o --- ed.c:1616:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j] = linebuf[i++]) ~~~~~~~~~~^~~~~~~~~~~~~~ --- ed_s42.o --- while (*lp++ = *sp++) ~~~~~~^~~~~~~ --- ed.o --- ed.c:1616:20: note: place parentheses around the assignment to silence this warning while (genbuf[j] = linebuf[i++]) ^ ( ) --- ed_s42.o --- ed.c:1806:15: note: place parentheses around the assignment to silence this warning --- ed.o --- ed.c:1616:20: note: use '==' to turn this assignment into an equality comparison while (genbuf[j] = linebuf[i++]) ^ == --- ed_s42.o --- while (*lp++ = *sp++) ^ ( ) --- ed.o --- ed.c:1622:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (linebuf[i++] = genbuf[j++]) ~~~~~~~~~~~~~^~~~~~~~~~~~~ ed.c:1622:22: note: place parentheses around the assignment to silence this warning while (linebuf[i++] = genbuf[j++]) ^ ( ) --- ed_s42.o --- ed.c:1806:15: note: use '==' to turn this assignment into an equality comparison --- ed.o --- ed.c:1622:22: note: use '==' to turn this assignment into an equality comparison --- ed_s42.o --- while (*lp++ = *sp++) ^ == --- ed.o --- while (linebuf[i++] = genbuf[j++]) ^ == ed.c:1749:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1749:15: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1749:15: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = rhsbuf[k++]&0377) { ~~^~~~~~~~~~~~~~~~~~ ed.c:1769:11: note: place parentheses around the assignment to silence this warning while (c = rhsbuf[k++]&0377) { ^ ( ) --- ed_s42.o --- ed.c:1905:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ --- ed.o --- ed.c:1769:11: note: use '==' to turn this assignment into an equality comparison while (c = rhsbuf[k++]&0377) { ^ == --- ed_s42.o --- ed.c:1905:16: note: place parentheses around the assignment to silence this warning --- ed.o --- ed.c:1796:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j++] = linebuf[i++]) ~~~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1796:21: note: place parentheses around the assignment to silence this warning --- ed_s42.o --- while (*p1++ = *p2++) ^ ( ) --- ed.o --- while (genbuf[j++] = linebuf[i++]) ^ ( ) ed.c:1796:21: note: use '==' to turn this assignment into an equality comparison --- ed_s42.o --- ed.c:1905:16: note: use '==' to turn this assignment into an equality comparison --- ed.o --- while (genbuf[j++] = linebuf[i++]) ^ == ed.c:1806:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ed_s42.o --- while (*p1++ = *p2++) ^ == --- ed.o --- while (*lp++ = *sp++) ~~~~~~^~~~~~~ ed.c:1806:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *sp++) ^ ( ) ed.c:1806:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *sp++) ^ == ed.c:1905:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1905:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1905:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == --- ed_su3.o --- ed.c:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (savedfile[i] = (*argv)[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~ ed.c:348:23: note: place parentheses around the assignment to silence this warning while (savedfile[i] = (*argv)[i]); ^ ( ) ed.c:348:23: note: use '==' to turn this assignment into an equality comparison while (savedfile[i] = (*argv)[i]); ^ == ed.c:919:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p2++ = *p1++) ~~~~~~^~~~~~~ ed.c:919:16: note: place parentheses around the assignment to silence this warning while (*p2++ = *p1++) ^ ( ) ed.c:919:16: note: use '==' to turn this assignment into an equality comparison while (*p2++ = *p1++) ^ == ed.c:941:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:941:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:941:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1068:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lastc=peekc) { ~~~~~^~~~~~ ed.c:1068:11: note: place parentheses around the assignment to silence this warning if (lastc=peekc) { ^ ( ) ed.c:1068:11: note: use '==' to turn this assignment into an equality comparison if (lastc=peekc) { ^ == ed.c:1408:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*lp++ = *bp++) { ~~~~~~^~~~~~~ ed.c:1408:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *bp++) { ^ ( ) ed.c:1408:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *bp++) { ^ == ed.c:1434:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*bp = *lp++) { ~~~~^~~~~~~ ed.c:1434:13: note: place parentheses around the assignment to silence this warning while (*bp = *lp++) { ^ ( ) ed.c:1434:13: note: use '==' to turn this assignment into an equality comparison while (*bp = *lp++) { ^ == ed.c:1616:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j] = linebuf[i++]) ~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1616:20: note: place parentheses around the assignment to silence this warning while (genbuf[j] = linebuf[i++]) ^ ( ) ed.c:1616:20: note: use '==' to turn this assignment into an equality comparison while (genbuf[j] = linebuf[i++]) ^ == ed.c:1622:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (linebuf[i++] = genbuf[j++]) ~~~~~~~~~~~~~^~~~~~~~~~~~~ ed.c:1622:22: note: place parentheses around the assignment to silence this warning while (linebuf[i++] = genbuf[j++]) ^ ( ) ed.c:1622:22: note: use '==' to turn this assignment into an equality comparison while (linebuf[i++] = genbuf[j++]) ^ == ed.c:1749:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1749:15: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1749:15: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == ed.c:1769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = rhsbuf[k++]&0377) { ~~^~~~~~~~~~~~~~~~~~ ed.c:1769:11: note: place parentheses around the assignment to silence this warning while (c = rhsbuf[k++]&0377) { ^ ( ) ed.c:1769:11: note: use '==' to turn this assignment into an equality comparison while (c = rhsbuf[k++]&0377) { ^ == ed.c:1796:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (genbuf[j++] = linebuf[i++]) ~~~~~~~~~~~~^~~~~~~~~~~~~~ ed.c:1796:21: note: place parentheses around the assignment to silence this warning while (genbuf[j++] = linebuf[i++]) ^ ( ) ed.c:1796:21: note: use '==' to turn this assignment into an equality comparison while (genbuf[j++] = linebuf[i++]) ^ == ed.c:1806:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*lp++ = *sp++) ~~~~~~^~~~~~~ ed.c:1806:15: note: place parentheses around the assignment to silence this warning while (*lp++ = *sp++) ^ ( ) ed.c:1806:15: note: use '==' to turn this assignment into an equality comparison while (*lp++ = *sp++) ^ == ed.c:1905:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p1++ = *p2++) ~~~~~~^~~~~~~ ed.c:1905:16: note: place parentheses around the assignment to silence this warning while (*p1++ = *p2++) ^ ( ) ed.c:1905:16: note: use '==' to turn this assignment into an equality comparison while (*p1++ = *p2++) ^ == --- ed_s42.o --- 13 warnings generated. --- ed_sus.o --- 13 warnings generated. --- ed_sus --- --- ed_s42 --- --- ed_sus --- clang -L/opt/pkg/lib ed_sus.o -lheirloomcommon -luxre -o ed_sus --- ed_s42 --- clang -L/opt/pkg/lib ed_s42.o -lheirloomcommon -luxre -o ed_s42 --- ed_su3.o --- 13 warnings generated. --- ed_su3 --- clang -L/opt/pkg/lib ed_su3.o -lheirloomcommon -luxre -o ed_su3 --- ed.o --- 16 warnings generated. --- ed --- clang -L/opt/pkg/lib ed.o -lheirloomcommon -o ed duplicate symbol '_step' in: ed.o /opt/work/textproc/heirloom-ed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_compile' in: ed.o /opt/work/textproc/heirloom-ed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_advance' in: ed.o /opt/work/textproc/heirloom-ed/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) *** [ed] Error code 1 bmake[1]: stopped in /opt/work/textproc/heirloom-ed/work/heirloom-070715/ed 1 error bmake[1]: stopped in /opt/work/textproc/heirloom-ed/work/heirloom-070715/ed *** [all] Error code 2 bmake: stopped in /opt/work/textproc/heirloom-ed/work/heirloom-070715 1 error bmake: stopped in /opt/work/textproc/heirloom-ed/work/heirloom-070715 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/heirloom-ed *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/heirloom-ed