=> Building textproc/2bsd-diff build started at Wed Oct 5 11:45:42 PDT 2016 port directory: /usr/ports/textproc/2bsd-diff building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: risner@stdio.com ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../01//usr/ports/textproc/2bsd-diff/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=2bsd-diff-2.11 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/textproc/2bsd-diff XDG_CONFIG_HOME=/wrkdirs/textproc/2bsd-diff HOME=/wrkdirs/textproc/2bsd-diff TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/textproc/2bsd-diff XDG_CONFIG_HOME=/wrkdirs/textproc/2bsd-diff HOME=/wrkdirs/textproc/2bsd-diff TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/diff" EXAMPLESDIR="share/examples/diff" DATADIR="share/diff" WWWDIR="www/diff" ETCDIR="etc/diff" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> 2bsd-diff-2.11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> 2bsd-diff-2.11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of 2bsd-diff-2.11 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by 2bsd-diff-2.11 for building =========================================================================== =================================================== ===> Fetching all distfiles required by 2bsd-diff-2.11 for building => SHA256 Checksum OK for file8.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for 2bsd-diff-2.11 ===> Applying ports patches for 2bsd-diff-2.11 ===> Applying DragonFly patches for 2bsd-diff-2.11 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for 2bsd-diff-2.11 =========================================================================== =================================================== ===> 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 --- 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' [-Wimplicit-function-declaration] if (!asciifile(f1) || !asciifile(f2)) { ^ diffreg.c:229:2: warning: implicit declaration of function 'prepare' [-Wimplicit-function-declaration] prepare(0, f1); ^ diffreg.c:233:2: warning: implicit declaration of function 'prune' [-Wimplicit-function-declaration] prune(); ^ diffreg.c:234:2: warning: implicit declaration of function 'sort' [-Wimplicit-function-declaration] sort(sfile[0],slen[0]); ^ 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' [-Wimplicit-function-declaration] unsort(sfile[0], slen[0], class); ^ diffreg.c:247:6: warning: implicit declaration of function 'stone' [-Wimplicit-function-declaration] i = stone(class, slen[0], member, klist); ^ 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' [-Wimplicit-function-declaration] check(); ^ 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:284:14: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] while ((i = read(0,buf,BUFSIZ)) > 0) ^ diffreg.c:285:7: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if (write(f,buf,i) != i) { ^ diffreg.c:290:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(f); ^ 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' [-Wimplicit-function-declaration] for(j=0; h=readhash(fd);) { ^ 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' [-Wimplicit-function-declaration] c[0] = newcand(0,0,0); ^ diffreg.c:397:8: warning: implicit declaration of function 'search' [-Wimplicit-function-declaration] l = search(c, k, y); ^ 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' [-Wimplicit-function-declaration] ixold[i] = ctold += skipline(0); ^ 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: 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:667:3: warning: implicit declaration of function 'dump_context_vec' [-Wimplicit-function-declaration] dump_context_vec(); ^ 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:742:3: warning: 'return' with no value, in function returning non-void return; ^ diffreg.c:748:3: warning: implicit declaration of function 'range' [-Wimplicit-function-declaration] range(a,b,","); ^ --- diff.o --- diff.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ --- diffreg.o --- diffreg.c:771:3: warning: implicit declaration of function 'fetch' [-Wimplicit-function-declaration] fetch(ixold,a,b,input[0],"< ", 1); ^ 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; ^ --- diff.o --- 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' [-Wimplicit-function-declaration] diffdir(argv); ^ diff.c:147:3: warning: implicit declaration of function 'diffreg' [-Wimplicit-function-declaration] diffreg(); ^ --- diffreg.o --- 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; ^ --- diff.o --- 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: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' [-Wimplicit-function-declaration] unlink(tempfile); ^ 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() ^ --- diffreg.o --- 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: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); ^ --- 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: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' diffdir.c:52:2: warning: implicit declaration of function 'setfile' [-Wimplicit-function-declaration] setfile(&file1, &efile1, file1); ^ diffdir.c:60:22: warning: implicit declaration of function 'useless' [-Wimplicit-function-declaration] if (d1->d_entry && useless(d1->d_entry)) { ^ diffdir.c:78:5: warning: implicit declaration of function 'only' [-Wimplicit-function-declaration] only(d1, 1); ^ diffdir.c:81:4: warning: implicit declaration of function 'compare' [-Wimplicit-function-declaration] compare(d1); ^ diffdir.c:93:3: warning: implicit declaration of function 'scanpr' [-Wimplicit-function-declaration] scanpr(dir1, ONLY, "Only in %.*s", file1, efile1, 0, 0); ^ diffdir.c:110:4: warning: implicit declaration of function 'calldiff' [-Wimplicit-function-declaration] calldiff(0); ^ diffdir.c: At top level: diffdir.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] setfile(fpp, epp, file) ^ 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) ^ diffdir.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] only(dp, which) ^ 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) ^ diffdir.c: In function 'compare': 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' [-Wimplicit-function-declaration] f1 = open(file1, 0); ^ diffdir.c:252:3: warning: 'return' with no value, in function returning non-void return; ^ diffdir.c:257:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(f1); ^ diffdir.c:258:3: warning: 'return' with no value, in function returning non-void return; ^ diffdir.c:281:7: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] i = read(f1, buf1, BUFSIZ); ^ diffdir.c:300:7: warning: implicit declaration of function 'ascii' [-Wimplicit-function-declaration] if (!ascii(f1) || !ascii(f2)) { ^ diffdir.c:323:2: warning: 'return' with no value, in function returning non-void return; ^ diffdir.c: At top level: diffdir.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] calldiff(wantpr) ^ diffdir.c: In function 'calldiff': diffdir.c:339:3: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] pipe(pv); ^ 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); ^ diffdir.c:377:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] while (wait(&status) != pid) ^ diffdir.c: At top level: diffdir.c:389:1: warning: return type defaults to 'int' [-Wimplicit-int] ascii(f) ^ diffdir.c:414:1: warning: return type defaults to 'int' [-Wimplicit-int] useless(cp) ^ --- 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' 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; ^ diffh.c:34:3: warning: implicit declaration of function 'progerr' [-Wimplicit-function-declaration] progerr("1"); ^ 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] 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; ^ 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] diffh.c:92:3: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error("must have 2 file arguments",""); ^ diffh.c:100:6: warning: implicit declaration of function 'cmp' [-Wimplicit-function-declaration] if(cmp(s0,s1)!=0) { ^ diffh.c:101:8: warning: implicit declaration of function 'easysynch' [-Wimplicit-function-declaration] if(!easysynch()&&!hardsynch()) ^ 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' diffh.c:110:3: note: include '' or provide a declaration of 'exit' diffh.c:112:3: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] output(-1,INF); ^ 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; ^ 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; ^ diffh.c:156:3: warning: implicit declaration of function 'change' [-Wimplicit-function-declaration] change(n0-1,0,n1,b,"a"); ^ 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] diffh.c:186:2: warning: implicit declaration of function 'range' [-Wimplicit-function-declaration] range(a,b); ^ 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] diffh.c: At top level: diffh.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] cmp(s,t) ^ diffh.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] progerr(s) ^ 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() ^ --- 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 =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for 2bsd-diff-2.11 ===> Generating temporary packing list install -s -m 555 diff /wrkdirs/textproc/2bsd-diff/stage/usr/local/bin/2diff install -s -m 555 diffh /wrkdirs/textproc/2bsd-diff/stage/usr/local/libexec/2diffh install -m 444 ../../man/man1/diff.1 /wrkdirs/textproc/2bsd-diff/stage/usr/local/man/man1/2diff.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for 2bsd-diff-2.11 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for 2bsd-diff-2.11 build of textproc/2bsd-diff ended at Wed Oct 5 11:45:48 PDT 2016 build time: 00:00:06