=> Building textproc/2bsd-diff Started : Thursday, 30 AUG 2018 at 21:07:06 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/textproc/2bsd-diff XDG_CONFIG_HOME=/construction/textproc/2bsd-diff HOME=/construction/textproc/2bsd-diff TMPDIR="/tmp" PATH=/construction/textproc/2bsd-diff/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/textproc/2bsd-diff XDG_CONFIG_HOME=/construction/textproc/2bsd-diff HOME=/construction/textproc/2bsd-diff TMPDIR="/tmp" PATH=/construction/textproc/2bsd-diff/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-error=return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-error=return-type -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- SEPFLAG="" DESTDIR=/construction/textproc/2bsd-diff/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/diff" EXAMPLESDIR="share/examples/diff" DATADIR="share/diff" WWWDIR="www/diff" ETCDIR="etc/diff" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/diff DOCSDIR=/usr/local/share/doc/diff EXAMPLESDIR=/usr/local/share/examples/diff WWWDIR=/usr/local/www/diff ETCDIR=/usr/local/etc/diff -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> 2bsd-diff-2.11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> 2bsd-diff-2.11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of 2bsd-diff-2.11 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by 2bsd-diff-2.11 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by 2bsd-diff-2.11 for building => SHA256 Checksum OK for file8.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by 2bsd-diff-2.11 for building ===> Extracting for 2bsd-diff-2.11 ===> Fetching all distfiles required by 2bsd-diff-2.11 for building => SHA256 Checksum OK for file8.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for 2bsd-diff-2.11 ===> Applying ports patches for 2bsd-diff-2.11 ===> Applying dragonfly patches for 2bsd-diff-2.11 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for 2bsd-diff-2.11 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for 2bsd-diff-2.11 --- diff.o --- --- diffdir.o --- --- diffreg.o --- --- diffh.o --- --- diff.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -c diff.c --- diffdir.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -c diffdir.c --- diffreg.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -c diffreg.c --- diffh.o --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -c diffh.c --- diffdir.o --- diffdir.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] diffdir(argv) ^~~~~~~ diffdir.c: In function 'diffdir': diffdir.c:43:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(title, "diff "); ^~~~~~ diffdir.c:43:2: warning: incompatible implicit declaration of built-in function 'strcpy' diffdir.c:43:2: note: include '' or provide a declaration of 'strcpy' diffdir.c:6:1: +#include /* diffdir.c:43:2: strcpy(title, "diff "); ^~~~~~ diffdir.c:45:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(diffargv[i], "-")) ^~~~~~ diffdir.c:47:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(title, diffargv[i]); ^~~~~~ diffdir.c:47:3: warning: incompatible implicit declaration of built-in function 'strcat' diffdir.c:47:3: note: include '' or provide a declaration of 'strcat' --- diffh.o --- diffh.c: In function 'getl': diffh.c:24:7: warning: type of 'f' defaults to 'int' [-Wimplicit-int] char *getl(f,n) ^~~~ diffh.c:28:8: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] char *malloc(); ^~~~~~ diffh.c:29:11: warning: type defaults to 'int' in declaration of 'delta' [-Wimplicit-int] register delta, nt; ^~~~~ diffh.c:29:18: warning: type defaults to 'int' in declaration of 'nt' [-Wimplicit-int] register delta, nt; ^~ --- diffdir.o --- diffdir.c:52:2: warning: implicit declaration of function 'setfile'; did you mean 'getline'? [-Wimplicit-function-declaration] setfile(&file1, &efile1, file1); ^~~~~~~ getline --- diffh.o --- diffh.c:34:3: warning: implicit declaration of function 'progerr' [-Wimplicit-function-declaration] progerr("1"); ^~~~~~~ --- diffdir.o --- diffdir.c:60:22: warning: implicit declaration of function 'useless'; did you mean 'pselect'? [-Wimplicit-function-declaration] if (d1->d_entry && useless(d1->d_entry)) { ^~~~~~~ pselect diffdir.c:78:5: warning: implicit declaration of function 'only' [-Wimplicit-function-declaration] only(d1, 1); ^~~~ --- diffh.o --- diffh.c:47:7: warning: implicit declaration of function 'hardsynch' [-Wimplicit-function-declaration] if(hardsynch()) ^~~~~~~~~ diffh.c: At top level: diffh.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] clrl(f,n) ^~~~ diffh.c: In function 'clrl': diffh.c:59:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] --- diffdir.o --- diffdir.c:81:4: warning: implicit declaration of function 'compare' [-Wimplicit-function-declaration] compare(d1); ^~~~~~~ --- diffh.o --- diffh.c:62:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i,j; ^ diffh.c:62:13: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i,j; ^ --- diffdir.o --- diffdir.c:93:3: warning: implicit declaration of function 'scanpr'; did you mean 'scandir'? [-Wimplicit-function-declaration] scanpr(dir1, ONLY, "Only in %.*s", file1, efile1, 0, 0); ^~~~~~ scandir --- diffh.o --- diffh.c:65:3: warning: implicit declaration of function 'movstr' [-Wimplicit-function-declaration] movstr(text[f][i+j],text[f][i]); ^~~~~~ diffh.c: At top level: diffh.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] movstr(s,t) ^~~~~~ diffh.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ diffh.c: In function 'main': diffh.c:77:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] --- diffdir.o --- diffdir.c:110:4: warning: implicit declaration of function 'calldiff'; did you mean 'telldir'? [-Wimplicit-function-declaration] calldiff(0); ^~~~~~~~ telldir diffdir.c: At top level: diffdir.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] setfile(fpp, epp, file) ^~~~~~~ --- diffh.o --- diffh.c:92:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("must have 2 file arguments",""); ^~~~~ perror --- diffdir.o --- diffdir.c: In function 'setfile': diffdir.c:126:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(*fpp, file); ^~~~~~ diffdir.c:126:2: note: include '' or provide a declaration of 'strcpy' diffdir.c: At top level: diffdir.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] scanpr(dp, test, title, file1, efile1, file2, efile2) ^~~~~~ --- diffh.o --- diffh.c:100:6: warning: implicit declaration of function 'cmp' [-Wimplicit-function-declaration] if(cmp(s0,s1)!=0) { ^~~ --- diffdir.o --- diffdir.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] only(dp, which) ^~~~ --- diffh.o --- diffh.c:101:8: warning: implicit declaration of function 'easysynch' [-Wimplicit-function-declaration] if(!easysynch()&&!hardsynch()) ^~~~~~~~~ --- diffdir.o --- diffdir.c: In function 'setupdir': diffdir.c:215:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(ep->d_entry, rp->d_name); ^~~~~~ diffdir.c:215:4: note: include '' or provide a declaration of 'strcpy' diffdir.c: At top level: diffdir.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] entcmp(d1, d2) ^~~~~~ diffdir.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] compare(dp) ^~~~~~~ --- diffh.o --- diffh.c:110:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(status); ^~~~ diffh.c:110:3: warning: incompatible implicit declaration of built-in function 'exit' --- diffdir.o --- diffdir.c: In function 'compare': --- diffh.o --- diffh.c:110:3: note: include '' or provide a declaration of 'exit' diffh.c:9:1: +#include diffh.c:110:3: exit(status); ^~~~ --- diffdir.o --- diffdir.c:247:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(efile1, dp->d_entry); ^~~~~~ diffdir.c:247:2: note: include '' or provide a declaration of 'strcpy' diffdir.c:249:7: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] f1 = open(file1, 0); ^~~~ popen diffdir.c:252:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- diffh.o --- diffh.c:112:3: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] output(-1,INF); ^~~~~~ --- diffdir.o --- diffdir.c:238:1: note: declared here compare(dp) ^~~~~~~ --- diffh.o --- diffh.c:115:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ diffh.c:115:2: note: include '' or provide a declaration of 'exit' diffh.c: At top level: diffh.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] easysynch() ^~~~~~~~~ diffh.c: In function 'easysynch': diffh.c:122:11: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k,m; ^ diffh.c:122:13: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] register k,m; ^ --- diffdir.o --- diffdir.c:257:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(f1); ^~~~~ pclose diffdir.c:258:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffdir.c:238:1: note: declared here compare(dp) ^~~~~~~ --- diffh.o --- diffh.c: At top level: diffh.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] output(a,b) ^~~~~~ diffh.c: In function 'output': diffh.c:151:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] diffh.c:151:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] diffh.c:153:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- diffdir.o --- diffdir.c:281:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] i = read(f1, buf1, BUFSIZ); ^~~~ fread --- diffh.o --- diffh.c:156:3: warning: implicit declaration of function 'change' [-Wimplicit-function-declaration] change(n0-1,0,n1,b,"a"); ^~~~~~ --- diffdir.o --- diffdir.c:300:7: warning: implicit declaration of function 'ascii'; did you mean 'toascii'? [-Wimplicit-function-declaration] if (!ascii(f1) || !ascii(f2)) { ^~~~~ toascii --- diffh.o --- diffh.c: At top level: diffh.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] change(a,b,c,d,s) ^~~~~~ diffh.c: In function 'change': diffh.c:182:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] diffh.c:182:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] --- diffdir.o --- diffdir.c:323:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffdir.c:238:1: note: declared here compare(dp) ^~~~~~~ diffdir.c: At top level: diffdir.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] calldiff(wantpr) ^~~~~~~~ --- diffh.o --- diffh.c:186:2: warning: implicit declaration of function 'range'; did you mean 'change'? [-Wimplicit-function-declaration] range(a,b); ^~~~~ change diffh.c: At top level: diffh.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] range(a,b) ^~~~~ diffh.c: In function 'range': diffh.c:192:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] --- diffdir.o --- diffdir.c: In function 'calldiff': --- diffh.o --- diffh.c: At top level: diffh.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] cmp(s,t) ^~~ --- diffdir.o --- diffdir.c:339:3: warning: implicit declaration of function 'pipe'; did you mean 'time'? [-Wimplicit-function-declaration] pipe(pv); ^~~~ time diffdir.c:340:9: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] pid = fork(); ^~~~ diffdir.c:347:4: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] dup(pv[0]); ^~~ diffdir.c:350:4: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(pr+4, prargs); ^~~~~ --- diffh.o --- diffh.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] progerr(s) ^~~~~~~ --- diffdir.o --- diffdir.c:377:9: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] while (wait(&status) != pid) ^~~~ exit --- diffh.o --- diffh.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] error(s,t) ^~~~~ diffh.c: In function 'error': diffh.c:260:2: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^~~~ diffh.c:260:2: note: include '' or provide a declaration of 'exit' diffh.c: At top level: diffh.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] hardsynch() ^~~~~~~~~ --- diffdir.o --- diffdir.c: At top level: diffdir.c:389:1: warning: return type defaults to 'int' [-Wimplicit-int] ascii(f) ^~~~~ diffdir.c: In function 'ascii': diffdir.c:396:2: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] lseek(f, (long)0, 0); ^~~~~ fseek diffdir.c: At top level: diffdir.c:414:1: warning: return type defaults to 'int' [-Wimplicit-int] useless(cp) ^~~~~~~ --- diffreg.o --- diffreg.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] diffreg() ^~~~~~~ diffreg.c: In function 'diffreg': diffreg.c:151:3: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(diffh, diffargv); ^~~~~ diffreg.c:171:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] } else if (!strcmp(file1, "-")) { ^~~~~~ diffreg.c:223:7: warning: implicit declaration of function 'asciifile'; did you mean 'asctime'? [-Wimplicit-function-declaration] if (!asciifile(f1) || !asciifile(f2)) { ^~~~~~~~~ asctime diffreg.c:229:2: warning: implicit declaration of function 'prepare'; did you mean 'rename'? [-Wimplicit-function-declaration] prepare(0, f1); ^~~~~~~ rename diffreg.c:233:2: warning: implicit declaration of function 'prune'; did you mean 'isrune'? [-Wimplicit-function-declaration] prune(); ^~~~~ isrune diffreg.c:234:2: warning: implicit declaration of function 'sort'; did you mean 'qsort'? [-Wimplicit-function-declaration] sort(sfile[0],slen[0]); ^~~~ qsort diffreg.c:238:2: warning: implicit declaration of function 'equiv' [-Wimplicit-function-declaration] equiv(sfile[0], slen[0], sfile[1], slen[1], member); ^~~~~ diffreg.c:242:2: warning: implicit declaration of function 'unsort'; did you mean 'qsort'? [-Wimplicit-function-declaration] unsort(sfile[0], slen[0], class); ^~~~~~ qsort diffreg.c:247:6: warning: implicit declaration of function 'stone'; did you mean 'done'? [-Wimplicit-function-declaration] i = stone(class, slen[0], member, klist); ^~~~~ done diffreg.c:252:2: warning: implicit declaration of function 'unravel' [-Wimplicit-function-declaration] unravel(klist[i]); ^~~~~~~ diffreg.c:258:2: warning: implicit declaration of function 'check'; did you mean 'clock'? [-Wimplicit-function-declaration] check(); ^~~~~ clock diffreg.c:259:2: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] output(); ^~~~~~ diffreg.c: In function 'copytemp': diffreg.c:277:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(tempfile, "/tmp/dXXXXX"); ^~~~~~ diffreg.c:277:2: warning: incompatible implicit declaration of built-in function 'strcpy' diffreg.c:277:2: note: include '' or provide a declaration of 'strcpy' diffreg.c:6:1: +#include /* diffreg.c:277:2: strcpy(tempfile, "/tmp/dXXXXX"); ^~~~~~ diffreg.c:284:14: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ((i = read(0,buf,BUFSIZ)) > 0) ^~~~ fread diffreg.c:285:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(f,buf,i) != i) { ^~~~~ fwrite diffreg.c:290:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(f); ^~~~~ pclose diffreg.c: In function 'splice': diffreg.c:305:9: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] tail = rindex(file, '/'); ^~~~~~ diffreg.c:305:9: warning: incompatible implicit declaration of built-in function 'rindex' diffreg.c: At top level: diffreg.c:314:1: warning: return type defaults to 'int' [-Wimplicit-int] prepare(i, fd) ^~~~~~~ diffreg.c: In function 'prepare': diffreg.c:319:11: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j,h; ^ diffreg.c:319:13: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register j,h; ^ diffreg.c:323:13: warning: implicit declaration of function 'readhash'; did you mean 'realpath'? [-Wimplicit-function-declaration] for(j=0; h=readhash(fd);) { ^~~~~~~~ realpath diffreg.c: At top level: diffreg.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] prune() ^~~~~ diffreg.c: In function 'prune': diffreg.c:333:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i,j; ^ diffreg.c:333:13: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i,j; ^ diffreg.c: At top level: diffreg.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] equiv(a,n,b,m,c) ^~~~~ diffreg.c: In function 'equiv': diffreg.c:348:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] diffreg.c:348:1: warning: type of 'm' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] stone(a,n,b,c) ^~~~~ diffreg.c: In function 'stone': diffreg.c:376:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] diffreg.c:386:9: warning: implicit declaration of function 'newcand'; did you mean 'rewind'? [-Wimplicit-function-declaration] c[0] = newcand(0,0,0); ^~~~~~~ rewind diffreg.c:397:8: warning: implicit declaration of function 'search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] l = search(c, k, y); ^~~~~~ bsearch diffreg.c: At top level: diffreg.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int] newcand(x,y,pred) ^~~~~~~ diffreg.c: In function 'newcand': diffreg.c:417:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] diffreg.c:417:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] diffreg.c:417:1: warning: type of 'pred' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] search(c, k, y) ^~~~~~ diffreg.c: In function 'search': diffreg.c:428:1: warning: type of 'k' defaults to 'int' [-Wimplicit-int] diffreg.c:428:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int] unravel(p) ^~~~~~~ diffreg.c: In function 'unravel': diffreg.c:452:1: warning: type of 'p' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:469:1: warning: return type defaults to 'int' [-Wimplicit-int] check() ^~~~~ diffreg.c: In function 'check': diffreg.c:490:24: warning: implicit declaration of function 'skipline'; did you mean 'splice'? [-Wimplicit-function-declaration] ixold[i] = ctold += skipline(0); ^~~~~~~~ splice diffreg.c: At top level: diffreg.c:568:1: warning: return type defaults to 'int' [-Wimplicit-int] sort(a,n) /*shellsort CACM #201*/ ^~~~ diffreg.c: In function 'sort': diffreg.c:568:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] diffreg.c:578:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:568:1: note: declared here sort(a,n) /*shellsort CACM #201*/ ^~~~ diffreg.c: At top level: diffreg.c:603:1: warning: return type defaults to 'int' [-Wimplicit-int] unsort(f, l, b) ^~~~~~ diffreg.c: In function 'unsort': diffreg.c:603:1: warning: type of 'l' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:617:1: warning: return type defaults to 'int' [-Wimplicit-int] skipline(f) ^~~~~~~~ diffreg.c: In function 'skipline': diffreg.c:617:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] diffreg.c:619:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, c; ^ diffreg.c:619:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register i, c; ^ diffreg.c: At top level: diffreg.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] output() ^~~~~~ diffreg.c: In function 'output': diffreg.c:644:3: warning: implicit declaration of function 'change' [-Wimplicit-function-declaration] change(i0,i1,j0,j1); ^~~~~~ diffreg.c:661:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:627:1: note: declared here output() ^~~~~~ diffreg.c:667:3: warning: implicit declaration of function 'dump_context_vec'; did you mean 'swapcontext_quick'? [-Wimplicit-function-declaration] dump_context_vec(); ^~~~~~~~~~~~~~~~ swapcontext_quick diffreg.c: At top level: diffreg.c:694:1: warning: return type defaults to 'int' [-Wimplicit-int] change(a,b,c,d) ^~~~~~ diffreg.c: In function 'change': diffreg.c:694:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] diffreg.c:694:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] diffreg.c:694:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] diffreg.c:694:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] diffreg.c:701:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:694:1: note: declared here change(a,b,c,d) ^~~~~~ diffreg.c:742:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:694:1: note: declared here change(a,b,c,d) ^~~~~~ diffreg.c:748:3: warning: implicit declaration of function 'range'; did you mean 'change'? [-Wimplicit-function-declaration] range(a,b,","); ^~~~~ change diffreg.c:771:3: warning: implicit declaration of function 'fetch'; did you mean 'getc'? [-Wimplicit-function-declaration] fetch(ixold,a,b,input[0],"< ", 1); ^~~~~ getc diffreg.c: At top level: diffreg.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] range(a,b,separator) ^~~~~ diffreg.c: In function 'range': diffreg.c:784:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] diffreg.c:784:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] diffreg.c: At top level: diffreg.c:793:1: warning: return type defaults to 'int' [-Wimplicit-int] fetch(f,a,b,lb,s,oldfile) ^~~~~ diffreg.c: In function 'fetch': diffreg.c:793:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] diffreg.c:793:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] diffreg.c:793:1: warning: type of 'oldfile' defaults to 'int' [-Wimplicit-int] diffreg.c:816:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:793:1: note: declared here fetch(f,a,b,lb,s,oldfile) ^~~~~ diffreg.c: At top level: diffreg.c:872:1: warning: return type defaults to 'int' [-Wimplicit-int] readhash(f) ^~~~~~~~ diffreg.c: In function 'readhash': diffreg.c:877:11: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] register t; ^ diffreg.c:878:11: warning: type defaults to 'int' in declaration of 'space' [-Wimplicit-int] register space; ^~~~~ diffreg.c: At top level: diffreg.c:939:1: warning: return type defaults to 'int' [-Wimplicit-int] asciifile(f) ^~~~~~~~~ diffreg.c:963:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_context_vec() ^~~~~~~~~~~~~~~~ diffreg.c: In function 'dump_context_vec': diffreg.c:972:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ diffreg.c:963:1: note: declared here dump_context_vec() ^~~~~~~~~~~~~~~~ diffreg.c:974:9: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration] lowa = max(1, cvp->a - context); ^~~ diffreg.c:975:9: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration] upb = min(len[0], context_vec_ptr->b + context); ^~~ --- diff.o --- diff.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ diff.c: In function 'main': diff.c:129:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(file1, "-")) ^~~~~~ diff.c:145:3: warning: implicit declaration of function 'diffdir'; did you mean 'dirfd'? [-Wimplicit-function-declaration] diffdir(argv); ^~~~~~~ dirfd diff.c:147:3: warning: implicit declaration of function 'diffreg' [-Wimplicit-function-declaration] diffreg(); ^~~~~~~ diff.c: In function 'savestr': diff.c:155:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] register char *dp = malloc(strlen(cp)+1); ^~~~~~ diff.c:155:29: warning: incompatible implicit declaration of built-in function 'strlen' diff.c:155:29: note: include '' or provide a declaration of 'strlen' diff.c:6:1: +#include /* diff.c:155:29: register char *dp = malloc(strlen(cp)+1); ^~~~~~ diff.c:161:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(dp, cp); ^~~~~~ diff.c:161:2: warning: incompatible implicit declaration of built-in function 'strcpy' diff.c:161:2: note: include '' or provide a declaration of 'strcpy' diff.c: At top level: diff.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] min(a,b) ^~~ diff.c:172:1: warning: return type defaults to 'int' [-Wimplicit-int] max(a,b) ^~~ diff.c: In function 'done': diff.c:183:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(tempfile); ^~~~~~ unix diff.c: In function 'talloc': diff.c:188:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] talloc(n) ^~~~~~ diff.c:194:2: warning: implicit declaration of function 'noroom' [-Wimplicit-function-declaration] noroom(); ^~~~~~ diff.c: In function 'ralloc': diff.c:198:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ralloc(p,n) ^~~~~~ diff.c: At top level: diff.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] noroom() ^~~~~~ --- diffh --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -o diffh diffh.o --- diff --- cc -pipe -Wno-error=return-type -O2 -fno-strict-aliasing -DDIFF='"/usr/local/bin/2diff"' -DDIFFH='"/usr/local/libexec/2diffh"' -DPR='"/usr/bin/pr"' -o diff diff.o diffdir.o diffreg.o -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for 2bsd-diff-2.11 ===> Generating temporary packing list install -s -m 555 diff /construction/textproc/2bsd-diff/stage/usr/local/bin/2diff install -s -m 555 diffh /construction/textproc/2bsd-diff/stage/usr/local/libexec/2diffh install -m 444 ../../man/man1/diff.1 /construction/textproc/2bsd-diff/stage/usr/local/man/man1/2diff.1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for 2bsd-diff-2.11 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 21:07:13 UTC Duration: 00:00:06