=> Building emulators/cpmtools build started at Wed Oct 5 19:07:55 PDT 2016 port directory: /usr/ports/emulators/cpmtools 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: joerg@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../10//usr/ports/emulators/cpmtools/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=cpmtools-1.1_1 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/emulators/cpmtools XDG_CONFIG_HOME=/wrkdirs/emulators/cpmtools HOME=/wrkdirs/emulators/cpmtools TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/emulators/cpmtools XDG_CONFIG_HOME=/wrkdirs/emulators/cpmtools HOME=/wrkdirs/emulators/cpmtools 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-return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-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/cpmtools" EXAMPLESDIR="share/examples/cpmtools" DATADIR="share/cpmtools" WWWDIR="www/cpmtools" ETCDIR="etc/cpmtools" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cpmtools DOCSDIR=/usr/local/share/doc/cpmtools EXAMPLESDIR=/usr/local/share/examples/cpmtools WWWDIR=/usr/local/www/cpmtools ETCDIR=/usr/local/etc/cpmtools --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--- =================================================== =========================================================================== =================================================== ===> cpmtools-1.1_1 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 ===> cpmtools-1.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cpmtools-1.1_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by cpmtools-1.1_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by cpmtools-1.1_1 for building => SHA256 Checksum OK for cpm-1.1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by cpmtools-1.1_1 for building ===> Extracting for cpmtools-1.1_1 => SHA256 Checksum OK for cpm-1.1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for cpmtools-1.1_1 ===> Applying ports patches for cpmtools-1.1_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for cpmtools-1.1_1 =========================================================================== =================================================== ===> Building for cpmtools-1.1_1 --- all --- cd src; make -j 5 --- bitmap.o --- --- blockio.o --- --- cclose.o --- --- ccreat.o --- --- cfillbuf.o --- --- bitmap.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c bitmap.c --- blockio.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c blockio.c --- cclose.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c cclose.c --- ccreat.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c ccreat.c --- cfillbuf.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c cfillbuf.c --- cclose.o --- cclose.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] c_close(fptr) ^ cclose.c: In function 'c_close': cclose.c:42:7: warning: implicit declaration of function 'putblock' [-Wimplicit-function-declaration] if (putblock(blockno(fptr->c_blk), fptr->c_base, scts) == EOF) ^ cclose.c:44:3: warning: implicit declaration of function 'savedir' [-Wimplicit-function-declaration] savedir(); ^ cclose.c:49:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(fptr->c_base); ^ cclose.c:49:2: warning: incompatible implicit declaration of built-in function 'free' cclose.c:49:2: note: include '' or provide a declaration of 'free' cclose.c:50:9: warning: return makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ --- bitmap.o --- bitmap.c: In function 'alloc': bitmap.c:31:7: warning: implicit declaration of function 'ffc' [-Wimplicit-function-declaration] j = ffc(0, INTSIZE, *(bitmap+i)); ^ bitmap.c: At top level: bitmap.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] dbmap(str) ^ bitmap.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] blks_used() ^ bitmap.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] build_bmap() ^ bitmap.c: In function 'build_bmap': bitmap.c:95:13: warning: conflicting types for built-in function 'malloc' int i, j, *malloc(), offset, block; ^ bitmap.c:102:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ bitmap.c:102:4: warning: incompatible implicit declaration of built-in function 'exit' bitmap.c:102:4: note: include '' or provide a declaration of 'exit' bitmap.c:135:5: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ bitmap.c:135:5: note: include '' or provide a declaration of 'exit' bitmap.c:149:5: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ bitmap.c:149:5: note: include '' or provide a declaration of 'exit' --- ccreat.o --- ccreat.c: In function 'c_creat': ccreat.c:13:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] c_creat(name, ext, flag) ^ ccreat.c:19:8: warning: conflicting types for built-in function 'malloc' char *malloc(); ^ ccreat.c:22:6: warning: implicit declaration of function 'searchdir' [-Wimplicit-function-declaration] if (searchdir(name, ext) != -1) { ^ ccreat.c:26:15: warning: implicit declaration of function 'creext' [-Wimplicit-function-declaration] if ((index = creext(-1)) < NULL) { ^ ccreat.c:26:27: warning: comparison between pointer and integer if ((index = creext(-1)) < NULL) { ^ ccreat.c:66:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(fptr->c_dirp->name, name, 8); ^ ccreat.c:66:2: warning: incompatible implicit declaration of built-in function 'strncpy' ccreat.c:66:2: note: include '' or provide a declaration of 'strncpy' --- cflsbuf.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c cflsbuf.c --- cmdhdl.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c cmdhdl.c cmdhdl.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] cmdinp(cmd) ^ cmdhdl.c: In function 'cmdinp': cmdhdl.c:28:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ cmdhdl.c:28:4: warning: incompatible implicit declaration of built-in function 'exit' cmdhdl.c:28:4: note: include '' or provide a declaration of 'exit' cmdhdl.c: At top level: cmdhdl.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] chkcmd(cmd) ^ cmdhdl.c: In function 'chkcmd': cmdhdl.c:67:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(cmd); ^ cmdhdl.c:67:8: warning: incompatible implicit declaration of built-in function 'strlen' cmdhdl.c:67:8: note: include '' or provide a declaration of 'strlen' cmdhdl.c:70:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(defcmd[index].cmd, cmd, 3) == 0) ^ cmdhdl.c: At top level: cmdhdl.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] help() ^ cmdhdl.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] namesep(fname, name, ext) ^ cmdhdl.c: In function 'namesep': cmdhdl.c:112:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name, " ", 9); ^ cmdhdl.c:112:2: warning: incompatible implicit declaration of built-in function 'strncpy' cmdhdl.c:112:2: note: include '' or provide a declaration of 'strncpy' cmdhdl.c:121:2: warning: implicit declaration of function 'clean' [-Wimplicit-function-declaration] clean(name, 8); ^ cmdhdl.c:128:11: warning: return makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ cmdhdl.c:136:9: warning: return makes integer from pointer without a cast [-Wint-conversion] return(NULL); ^ cmdhdl.c: At top level: cmdhdl.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] clean(str, len) ^ --- cflsbuf.o --- cflsbuf.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] c_flush(fptr) ^ cflsbuf.c: In function 'c_flush': cflsbuf.c:27:6: warning: implicit declaration of function 'putblock' [-Wimplicit-function-declaration] if (putblock(blockno(fptr->c_blk), fptr->c_base, -1) == EOF) ^ cflsbuf.c:32:3: warning: implicit declaration of function 'savedir' [-Wimplicit-function-declaration] savedir(); ^ cflsbuf.c:34:13: warning: implicit declaration of function 'creext' [-Wimplicit-function-declaration] if ((it = creext(fptr->c_ext)) == NULL) { ^ cflsbuf.c:34:34: warning: comparison between pointer and integer if ((it = creext(fptr->c_ext)) == NULL) { ^ cflsbuf.c: At top level: cflsbuf.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] c_flsbuf(c, fptr) ^ cflsbuf.c: In function 'c_flsbuf': cflsbuf.c:60:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] cflsbuf.c: At top level: cflsbuf.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] c_write(fptr, buf, cnt) ^ cflsbuf.c: In function 'c_write': cflsbuf.c:75:1: warning: type of 'cnt' defaults to 'int' [-Wimplicit-int] --- copen.o --- --- copy.o --- --- copen.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c copen.c --- copy.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c copy.c --- blockio.o --- blockio.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] getblock(blockno, buffer, nsect) ^ blockio.c: In function 'getblock': blockio.c:12:1: warning: type of 'blockno' defaults to 'int' [-Wimplicit-int] blockio.c:12:1: warning: type of 'nsect' defaults to 'int' [-Wimplicit-int] blockio.c:29:7: warning: implicit declaration of function 'getpsect' [-Wimplicit-function-declaration] if (getpsect(track, skewtab[sect++ -1], buffer+(seclth*counter)) ^ blockio.c: At top level: blockio.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] putblock(blockno, buffer, nsect) ^ blockio.c: In function 'putblock': blockio.c:45:1: warning: type of 'blockno' defaults to 'int' [-Wimplicit-int] blockio.c:45:1: warning: type of 'nsect' defaults to 'int' [-Wimplicit-int] blockio.c:59:7: warning: implicit declaration of function 'putpsect' [-Wimplicit-function-declaration] if (putpsect(track, skewtab[sect++ -1],buffer+(seclth*counter)) ^ --- copen.o --- copen.c: In function 'c_open': copen.c:15:2: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] c_open(name, ext, mode) ^ copen.c:21:8: warning: conflicting types for built-in function 'malloc' char *malloc(); ^ copen.c:23:15: warning: implicit declaration of function 'searchdir' [-Wimplicit-function-declaration] if ((index = searchdir(name, ext)) == -1) { ^ copen.c:24:3: warning: implicit declaration of function 'fnfound' [-Wimplicit-function-declaration] fnfound(name, ext); ^ copen.c:64:6: warning: implicit declaration of function 'getblock' [-Wimplicit-function-declaration] if (getblock(blockno(0), fptr->c_buf, scnt) == EOF) ^ copen.c: At top level: copen.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] fnfound(name, ext) ^ --- cpm.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c cpm.c --- cfillbuf.o --- cfillbuf.c:7:1: warning: return type defaults to 'int' [-Wimplicit-int] c_fillbuf(fptr) ^ cfillbuf.c: In function 'c_fillbuf': cfillbuf.c:16:22: warning: comparison between pointer and integer if (getnext(fptr) == NULL) ^ cfillbuf.c:25:6: warning: implicit declaration of function 'getblock' [-Wimplicit-function-declaration] if (getblock(blockno(fptr->c_blk), fptr->c_base, nsect) == EOF) ^ --- copy.o --- copy.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] copyc(cmdline, bin) ^ copy.c: In function 'copyc': copy.c:13:1: warning: type of 'bin' defaults to 'int' [-Wimplicit-int] copy.c:21:3: warning: 'return' with no value, in function returning non-void return; ^ copy.c:24:2: warning: implicit declaration of function 'copy' [-Wimplicit-function-declaration] copy(cmdline, i+1, bin); ^ copy.c: At top level: copy.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] copy(cpmfile, unixfile, bin) ^ copy.c: In function 'copy': copy.c:27:1: warning: type of 'bin' defaults to 'int' [-Wimplicit-int] copy.c:36:8: warning: implicit declaration of function 'namesep' [-Wimplicit-function-declaration] if (!(namesep(cpmfile, name, ext))) ^ copy.c:37:3: warning: 'return' with no value, in function returning non-void return; ^ copy.c:39:3: warning: 'return' with no value, in function returning non-void return; ^ copy.c:50:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if (access(unixfile,0) == 0) { ^ copy.c:52:4: warning: 'return' with no value, in function returning non-void return; ^ copy.c:56:4: warning: 'return' with no value, in function returning non-void return; ^ copy.c:60:3: warning: implicit declaration of function 'copybin' [-Wimplicit-function-declaration] copybin(cid, ufid); ^ copy.c:62:3: warning: implicit declaration of function 'copytext' [-Wimplicit-function-declaration] copytext(cid, ufid); ^ copy.c:63:2: warning: implicit declaration of function 'c_close' [-Wimplicit-function-declaration] c_close(cid); ^ copy.c: At top level: copy.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] copytext(cid, ufid) ^ In file included from copy.c:5:0: copy.c: In function 'copytext': cpmfio.h:21:59: warning: implicit declaration of function 'c_fillbuf' [-Wimplicit-function-declaration] #define c_getc(p) (--(p)->c_cnt>=0 ? *(p)->c_buf++&0377 : c_fillbuf(p)) ^ copy.c:74:15: note: in expansion of macro 'c_getc' while (((c = c_getc(cid)) != EOF) && (c != CTRL_Z)) { ^ copy.c:78:6: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if (isatty(fileno(ufid))) ^ copy.c: At top level: copy.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] copybin(cid, ufid) ^ --- delete.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c delete.c --- dirhdl.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c dirhdl.c --- extent.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c extent.c --- delete.o --- delete.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] delete(cmdline) ^ --- extent.o --- extent.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] creext(curext) ^ --- delete.o --- delete.c: In function 'delete': delete.c:19:8: warning: implicit declaration of function 'namesep' [-Wimplicit-function-declaration] if (!(namesep(cmdline,name,ext))) return; ^ delete.c:19:36: warning: 'return' with no value, in function returning non-void if (!(namesep(cmdline,name,ext))) return; ^ delete.c:20:6: warning: implicit declaration of function 'searchdir' [-Wimplicit-function-declaration] if (searchdir(name, ext) != -1) { ^ delete.c:23:47: warning: implicit declaration of function 'getnext' [-Wimplicit-function-declaration] while(cio->c_dirp->blkcnt == (char) 0x80 && getnext(cio) != 0) ^ --- extent.o --- extent.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] getnext(cur) ^ extent.c: In function 'getnext': extent.c:55:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if ((strncmp(cur->c_dirp->name,(dirbuf+ind)->name,8)==0) && ^ --- delete.o --- delete.c:28:3: warning: 'return' with no value, in function returning non-void return; ^ delete.c:30:2: warning: implicit declaration of function 'savedir' [-Wimplicit-function-declaration] savedir(); ^ delete.c:31:2: warning: implicit declaration of function 'c_close' [-Wimplicit-function-declaration] c_close(cio); ^ delete.c:36:2: warning: implicit declaration of function 'build_bmap' [-Wimplicit-function-declaration] build_bmap(); ^ --- extent.o --- extent.c:70:9: warning: return makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ --- ffc.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c ffc.c --- gensktab.o --- --- hexdmp.o --- --- gensktab.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c gensktab.c --- hexdmp.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c hexdmp.c --- ffc.o --- ffc.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] ffc(start, len, field) ^ --- dirhdl.o --- dirhdl.c:8:1: warning: return type defaults to 'int' [-Wimplicit-int] dispdir() ^ dirhdl.c: In function 'dispdir': dirhdl.c:19:4: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name, (dirbuf+cnt)->name, 8); ^ dirhdl.c:19:4: warning: incompatible implicit declaration of built-in function 'strncpy' dirhdl.c:19:4: note: include '' or provide a declaration of 'strncpy' dirhdl.c:31:11: warning: implicit declaration of function 'blks_used' [-Wimplicit-function-declaration] blkcnt = blks_used(); ^ dirhdl.c:39:2: warning: 'return' with no value, in function returning non-void return; ^ dirhdl.c: At top level: dirhdl.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] getdir() ^ dirhdl.c: In function 'getdir': dirhdl.c:53:7: warning: implicit declaration of function 'getblock' [-Wimplicit-function-declaration] if (getblock(bl,dirbuf+offset,-1) == EOF) { ^ dirhdl.c:55:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (0); ^ dirhdl.c:55:4: warning: incompatible implicit declaration of built-in function 'exit' dirhdl.c:55:4: note: include '' or provide a declaration of 'exit' dirhdl.c: At top level: dirhdl.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] savedir() ^ dirhdl.c: In function 'savedir': dirhdl.c:73:7: warning: implicit declaration of function 'putblock' [-Wimplicit-function-declaration] if (putblock(bl,dirbuf+offset,-1) == EOF) { ^ dirhdl.c:75:4: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^ dirhdl.c:75:4: note: include '' or provide a declaration of 'exit' dirhdl.c: At top level: dirhdl.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] searchdir(name,ext) ^ dirhdl.c: In function 'searchdir': dirhdl.c:96:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(cname, (dirbuf+ind)->name, 8); ^ dirhdl.c:96:3: note: include '' or provide a declaration of 'strncpy' --- gensktab.o --- gensktab.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_sktab() ^ --- dirhdl.o --- dirhdl.c:101:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if ((strncmp(name, cname, 8) == 0) && ^ --- gensktab.o --- gensktab.c: In function 'gen_sktab': gensktab.c:19:8: warning: conflicting types for built-in function 'malloc' char *malloc(); ^ gensktab.c:24:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ gensktab.c:24:3: warning: incompatible implicit declaration of built-in function 'exit' gensktab.c:24:3: note: include '' or provide a declaration of 'exit' --- cpm.o --- cpm.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ cpm.c: In function 'main': cpm.c:83:29: warning: conflicting types for built-in function 'malloc' char *cpmname, *unixname, *malloc(); ^ cpm.c:87:3: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] usage(); ^ cpm.c:113:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if (isatty(0) && isatty(1)) iflag++; ^ cpm.c:126:11: warning: implicit declaration of function 'number' [-Wimplicit-function-declaration] skew = number(BIG); ^ cpm.c:130:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ cpm.c:130:5: warning: incompatible implicit declaration of built-in function 'exit' cpm.c:130:5: note: include '' or provide a declaration of 'exit' cpm.c:141:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:141:5: note: include '' or provide a declaration of 'exit' cpm.c:152:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:152:5: note: include '' or provide a declaration of 'exit' cpm.c:163:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:163:5: note: include '' or provide a declaration of 'exit' cpm.c:174:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:174:5: note: include '' or provide a declaration of 'exit' cpm.c:185:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:185:5: note: include '' or provide a declaration of 'exit' cpm.c:196:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:196:5: note: include '' or provide a declaration of 'exit' cpm.c:233:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:233:3: note: include '' or provide a declaration of 'exit' cpm.c:253:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:253:6: note: include '' or provide a declaration of 'exit' cpm.c:254:11: warning: implicit declaration of function 'initcpm' [-Wimplicit-function-declaration] fid = initcpm(*argv); ^ cpm.c:265:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:265:5: note: include '' or provide a declaration of 'exit' cpm.c:271:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:271:6: note: include '' or provide a declaration of 'exit' cpm.c:281:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:281:3: note: include '' or provide a declaration of 'exit' cpm.c:283:2: warning: implicit declaration of function 'gen_sktab' [-Wimplicit-function-declaration] gen_sktab(); ^ cpm.c:284:2: warning: implicit declaration of function 'getdir' [-Wimplicit-function-declaration] getdir(); ^ cpm.c:285:2: warning: implicit declaration of function 'build_bmap' [-Wimplicit-function-declaration] build_bmap(); ^ cpm.c:303:3: warning: implicit declaration of function 'interact' [-Wimplicit-function-declaration] interact(); ^ cpm.c:304:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ cpm.c:304:3: note: include '' or provide a declaration of 'exit' cpm.c:307:3: warning: implicit declaration of function 'dispdir' [-Wimplicit-function-declaration] dispdir(); ^ cpm.c:309:3: warning: implicit declaration of function 'copy' [-Wimplicit-function-declaration] copy(cpmname, unixname, Bflag); ^ cpm.c:310:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ cpm.c:310:3: note: include '' or provide a declaration of 'exit' cpm.c:313:3: warning: implicit declaration of function 'pipc' [-Wimplicit-function-declaration] pipc(unixname, cpmname, Bflag); ^ cpm.c:314:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ cpm.c:314:3: note: include '' or provide a declaration of 'exit' cpm.c:318:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ cpm.c:318:3: note: include '' or provide a declaration of 'exit' cpm.c: At top level: cpm.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] number(big) ^ cpm.c: In function 'number': cpm.c:323:1: warning: type of 'big' defaults to 'int' [-Wimplicit-int] cpm.c:355:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:355:4: note: include '' or provide a declaration of 'exit' cpm.c: At top level: cpm.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^ cpm.c: In function 'usage': cpm.c:372:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ cpm.c:372:2: note: include '' or provide a declaration of 'exit' --- hexdmp.o --- hexdmp.c:8:1: warning: return type defaults to 'int' [-Wimplicit-int] dump(cmdline) ^ hexdmp.c: In function 'dump': hexdmp.c:16:3: warning: 'return' with no value, in function returning non-void return; ^ hexdmp.c:18:8: warning: implicit declaration of function 'namesep' [-Wimplicit-function-declaration] if (!(namesep(cmdline, name, ext))) ^ hexdmp.c:19:3: warning: 'return' with no value, in function returning non-void return; ^ hexdmp.c:21:3: warning: 'return' with no value, in function returning non-void return; ^ hexdmp.c:22:2: warning: implicit declaration of function 'hexdump' [-Wimplicit-function-declaration] hexdump(cid); ^ hexdmp.c:23:2: warning: implicit declaration of function 'c_close' [-Wimplicit-function-declaration] c_close(cid); ^ hexdmp.c: At top level: hexdmp.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] hexdump(fp) ^ In file included from hexdmp.c:6:0: hexdmp.c: In function 'hexdump': cpmfio.h:21:59: warning: implicit declaration of function 'c_fillbuf' [-Wimplicit-function-declaration] #define c_getc(p) (--(p)->c_cnt>=0 ? *(p)->c_buf++&0377 : c_fillbuf(p)) ^ hexdmp.c:41:14: note: in expansion of macro 'c_getc' while ((c = c_getc(fp)) != EOF) { ^ hexdmp.c:50:4: warning: implicit declaration of function 'printline' [-Wimplicit-function-declaration] printline(piped, cbuf, 16); ^ hexdmp.c: At top level: hexdmp.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] printline(piped, cbuf, nc) ^ hexdmp.c: In function 'printline': hexdmp.c:59:1: warning: type of 'nc' defaults to 'int' [-Wimplicit-int] --- interact.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c interact.c --- physio.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c physio.c --- pip.o --- --- interact.o --- interact.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] interact() ^ interact.c: In function 'interact': interact.c:21:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGINT, intrpt); ^ In file included from /usr/include/signal.h:39:0, from interact.c:5: /usr/include/sys/signal.h:413:17: note: expected 'void (*)(int)' but argument is of type 'int (*)()' __sighandler_t *signal (int, __sighandler_t *); ^ interact.c:24:7: warning: implicit declaration of function 'cmdinp' [-Wimplicit-function-declaration] if (cmdinp(cmd) < 0) ^ interact.c:29:7: warning: implicit declaration of function 'chkcmd' [-Wimplicit-function-declaration] i = chkcmd(cmd); ^ interact.c:40:4: warning: implicit declaration of function 'dispdir' [-Wimplicit-function-declaration] dispdir(); ^ interact.c:44:4: warning: implicit declaration of function 'Rename' [-Wimplicit-function-declaration] Rename(rest); ^ interact.c:48:4: warning: implicit declaration of function 'copyc' [-Wimplicit-function-declaration] copyc(rest, 0); ^ interact.c:52:4: warning: implicit declaration of function 'pip' [-Wimplicit-function-declaration] pip(rest, 0); ^ interact.c:57:4: warning: implicit declaration of function 'delete' [-Wimplicit-function-declaration] delete(rest); ^ interact.c:65:4: warning: implicit declaration of function 'copy' [-Wimplicit-function-declaration] copy(rest, stdout, 0); ^ interact.c:69:4: warning: implicit declaration of function 'help' [-Wimplicit-function-declaration] help(); ^ interact.c:81:4: warning: implicit declaration of function 'dump' [-Wimplicit-function-declaration] dump(rest); ^ interact.c: At top level: interact.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] intrpt() ^ --- pip.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c pip.c --- rename.o --- --- physio.o --- physio.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] putpsect(tr, sect, buf) ^ physio.c: In function 'putpsect': physio.c:11:1: warning: type of 'tr' defaults to 'int' [-Wimplicit-int] physio.c:11:1: warning: type of 'sect' defaults to 'int' [-Wimplicit-int] physio.c:27:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if (write(fid, buf, seclth) == seclth) ^ physio.c: At top level: physio.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] getpsect(tr, sect, buf) ^ physio.c: In function 'getpsect': physio.c:38:1: warning: type of 'tr' defaults to 'int' [-Wimplicit-int] physio.c:38:1: warning: type of 'sect' defaults to 'int' [-Wimplicit-int] physio.c:54:6: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if (read(fid, buf, seclth) != seclth) { ^ physio.c: At top level: physio.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] initcpm(name) ^ --- rename.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -DHELPFILE=\"/usr/local/share/cpm/cpm.hlp\" -c rename.c --- pip.o --- pip.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] pip(cmdline, bin) ^ pip.c: In function 'pip': pip.c:11:1: warning: type of 'bin' defaults to 'int' [-Wimplicit-int] pip.c:19:3: warning: 'return' with no value, in function returning non-void return; ^ pip.c:22:2: warning: implicit declaration of function 'pipc' [-Wimplicit-function-declaration] pipc(cmdline,i+1, bin); ^ pip.c: At top level: pip.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] pipc(unixfile, cpmfile, bin) ^ pip.c: In function 'pipc': pip.c:25:1: warning: type of 'bin' defaults to 'int' [-Wimplicit-int] pip.c:36:3: warning: 'return' with no value, in function returning non-void return; ^ pip.c:38:8: warning: implicit declaration of function 'namesep' [-Wimplicit-function-declaration] if (!(namesep(cpmfile, name, ext))) ^ pip.c:39:3: warning: 'return' with no value, in function returning non-void return; ^ pip.c:43:3: warning: 'return' with no value, in function returning non-void return; ^ pip.c:45:3: warning: implicit declaration of function 'pipbin' [-Wimplicit-function-declaration] pipbin(cid, ufid); ^ pip.c:47:3: warning: implicit declaration of function 'piptext' [-Wimplicit-function-declaration] piptext(cid, ufid); ^ pip.c:48:2: warning: implicit declaration of function 'c_close' [-Wimplicit-function-declaration] c_close(cid); ^ pip.c: At top level: pip.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] piptext(cid, ufid) ^ In file included from pip.c:5:0: pip.c: In function 'piptext': cpmfio.h:22:79: warning: implicit declaration of function 'c_flsbuf' [-Wimplicit-function-declaration] #define c_putc(x,p) (--(p)->c_cnt>=0 ? ((int)(*(p)->c_buf++=(unsigned)(x))) : c_flsbuf((unsigned)(x), p)) ^ pip.c:60:8: note: in expansion of macro 'c_putc' if (c_putc('\r', cid) == EOF) ^ pip.c: At top level: pip.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] pipbin(cid, ufid) ^ pip.c: In function 'pipbin': pip.c:74:9: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] while (read(fileno(ufid), buf, 128) != 0) { ^ pip.c:75:7: warning: implicit declaration of function 'c_write' [-Wimplicit-function-declaration] if (c_write(cid, buf, 128) != 128) { ^ pip.c:77:4: warning: 'return' with no value, in function returning non-void return; ^ --- rename.o --- rename.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] Rename(cmdline) ^ rename.c: In function 'Rename': rename.c:27:8: warning: implicit declaration of function 'namesep' [-Wimplicit-function-declaration] if (!(namesep(cmdline, oldname, oldext))) ^ rename.c:32:6: warning: implicit declaration of function 'searchdir' [-Wimplicit-function-declaration] if (searchdir(oldname, oldext) != -1) { ^ rename.c:35:4: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(cio->c_dirp->name, newname, 8); ^ rename.c:35:4: warning: incompatible implicit declaration of built-in function 'strncpy' rename.c:35:4: note: include '' or provide a declaration of 'strncpy' rename.c:37:12: warning: implicit declaration of function 'getnext' [-Wimplicit-function-declaration] } while (getnext(cio) != NULL); ^ rename.c:37:25: warning: comparison between pointer and integer } while (getnext(cio) != NULL); ^ rename.c:39:3: warning: implicit declaration of function 'fnfound' [-Wimplicit-function-declaration] fnfound(oldname, oldext); ^ rename.c:47:2: warning: implicit declaration of function 'savedir' [-Wimplicit-function-declaration] savedir(); ^ rename.c:48:2: warning: implicit declaration of function 'c_close' [-Wimplicit-function-declaration] c_close(cio); ^ --- cpm --- Loading cpm ... done =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for cpmtools-1.1_1 ===> Generating temporary packing list cd src; make `cpm' is up to date. cd src; make DESTDIR=/wrkdirs/emulators/cpmtools/stage install install -s -m 555 cpm /wrkdirs/emulators/cpmtools/stage/usr/local/bin mkdir -p /wrkdirs/emulators/cpmtools/stage/usr/local/share/cpm install -m 0644 cpm.hlp /wrkdirs/emulators/cpmtools/stage/usr/local/share/cpm cd man; make DESTDIR=/wrkdirs/emulators/cpmtools/stage install install -m 444 cpm.1 /wrkdirs/emulators/cpmtools/stage/usr/local/man/man1/cpm.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for cpmtools-1.1_1 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for cpmtools-1.1_1 build of emulators/cpmtools ended at Wed Oct 5 19:08:01 PDT 2016 build time: 00:00:06