===> Building for heirloom-ed-070715
set -e; cd /Users/pbulk/build/textproc/heirloom-ed/work/heirloom-070715;  test -f makefile.hl || mv makefile makefile.hl;  /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build MACOSX_DEPLOYMENT_TARGET=12.3 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CPPFLAGS=-I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CXX=clang++ CXXFLAGS=-pipe\ -Os\ -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=/Users/pbulk/build/textproc/heirloom-ed/work/.cwrapper/bin:/Users/pbulk/build/textproc/heirloom-ed/work/.buildlink/bin:/Users/pbulk/build/textproc/heirloom-ed/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/textproc/heirloom-ed/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/heirloom-ed/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/textproc/heirloom-ed/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/textproc/heirloom-ed/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/textproc/heirloom-ed/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/textproc/heirloom-ed/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/textproc/heirloom-ed/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/textproc/heirloom-ed/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/textproc/heirloom-ed/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/heirloom-ed/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build ed" UCBINST=/usr/bin/install ROOT=/Users/pbulk/build/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\ pbulk\ -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=\ -pipe\ -Os\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGSS=\ -pipe\ -Os\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGS2=\ -pipe\ -Os\ -I/opt/pkg/include/heirloom\ -I/opt/pkg/include/uxre CFLAGS=\ -pipe\ -Os\ -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
for i in build ed ; 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
cc -pipe -Os -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.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++)
                             ^
                             ==
13 warnings generated.
cc -pipe -Os -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.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++)
                             ^
                             ==
13 warnings generated.
cc -pipe -Os -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.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++)
                             ^
                             ==
13 warnings generated.
cc -pipe -Os -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
In file included from ed.c:274:
/Users/pbulk/build/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]
                                *ep++ = CCL|CMB;
                                      ~ ~~~^~~~
/Users/pbulk/build/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;
                                               ~ ~~~~^~~~
/Users/pbulk/build/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.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++)
                             ^
                             ==
16 warnings generated.
clang -L/opt/pkg/lib ed_s42.o -lheirloomcommon -luxre   -o ed_s42
clang -L/opt/pkg/lib ed_sus.o -lheirloomcommon -luxre   -o ed_sus
clang -L/opt/pkg/lib ed_su3.o -lheirloomcommon -luxre   -o ed_su3
clang -L/opt/pkg/lib ed.o -lheirloomcommon   -o ed
duplicate symbol '_step' in:
    ed.o
    /Users/pbulk/build/textproc/heirloom-ed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o)
duplicate symbol '_compile' in:
    ed.o
    /Users/pbulk/build/textproc/heirloom-ed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o)
duplicate symbol '_advance' in:
    ed.o
    /Users/pbulk/build/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 making "all" in /Users/pbulk/build/textproc/heirloom-ed/work/heirloom-070715/ed
bmake[1]: 1 error

bmake[1]: stopped making "all" in /Users/pbulk/build/textproc/heirloom-ed/work/heirloom-070715/ed
*** [all] Error code 2

bmake: stopped making "all" in /Users/pbulk/build/textproc/heirloom-ed/work/heirloom-070715
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/textproc/heirloom-ed/work/heirloom-070715
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/heirloom-ed
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/heirloom-ed