===> Building for heirloom-sed-070715 set -e; cd /Users/pbulk/build/textproc/heirloom-sed/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-sed/work/.cwrapper/bin:/Users/pbulk/build/textproc/heirloom-sed/work/.buildlink/bin:/Users/pbulk/build/textproc/heirloom-sed/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-sed/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/heirloom-sed/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-sed/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/textproc/heirloom-sed/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/textproc/heirloom-sed/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/textproc/heirloom-sed/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/textproc/heirloom-sed/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/textproc/heirloom-sed/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/textproc/heirloom-sed/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/heirloom-sed/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build sed" UCBINST=/usr/bin/install ROOT=/Users/pbulk/build/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\ 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 sed/Makefile.mk build/mk.tail >sed/Makefile for i in build sed ; do (cd "$i" && /opt/pkg/bin/bmake all) || exit ; done 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 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 -D_FILE_OFFSET_BITS=64L -DSUS -c sed0.c -o 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 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++) { ^ == 4 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 -D_FILE_OFFSET_BITS=64L -DSUS -c sed1.c -o sed1_sus.o sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -pipe -Os -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 cc -pipe -Os -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 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++) { ^ == 4 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 -D_FILE_OFFSET_BITS=64L -DSU3 -c sed1.c -o sed1_su3.o sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -pipe -Os -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 cc -pipe -Os -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 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++) { ^ == 4 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 -D_FILE_OFFSET_BITS=64L -DS42 -c sed1.c -o sed1_s42.o sed1.c:627:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -pipe -Os -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 cc -pipe -Os -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.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++) { ^ == 4 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 -D_FILE_OFFSET_BITS=64L -c sed1.c In file included from sed1.c:57: /Users/pbulk/build/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; ~ ~~~^~~~ /Users/pbulk/build/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; ~ ~~~~^~~~ /Users/pbulk/build/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 ^ 4 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 -D_FILE_OFFSET_BITS=64L -c version.c clang -L/opt/pkg/lib sed0_sus.o sed1_sus.o version_sus.o -luxre -lheirloomcommon -o sed_sus clang -L/opt/pkg/lib sed0_su3.o sed1_su3.o version_su3.o -luxre -lheirloomcommon -o sed_su3 clang -L/opt/pkg/lib sed0_s42.o sed1_s42.o version_s42.o -luxre -lheirloomcommon -o sed_s42 clang -L/opt/pkg/lib sed0.o sed1.o version.o -lheirloomcommon -o sed duplicate symbol '_step' in: sed1.o /Users/pbulk/build/textproc/heirloom-sed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_compile' in: sed1.o /Users/pbulk/build/textproc/heirloom-sed/work/.buildlink/lib/libheirloomcommon.a(regexpr.o) duplicate symbol '_advance' in: sed1.o /Users/pbulk/build/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 making "all" in /Users/pbulk/build/textproc/heirloom-sed/work/heirloom-070715/sed bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/textproc/heirloom-sed/work/heirloom-070715/sed *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/textproc/heirloom-sed/work/heirloom-070715 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/textproc/heirloom-sed/work/heirloom-070715 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/heirloom-sed *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/heirloom-sed