=> Building lang/ratfor Started : Friday, 8 MAR 2019 at 16:11:41 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- F77="gfortran5" FC="gfortran5" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc5" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc5" XDG_DATA_HOME=/construction/lang/ratfor XDG_CONFIG_HOME=/construction/lang/ratfor HOME=/construction/lang/ratfor TMPDIR="/tmp" PATH=/construction/lang/ratfor/.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 -------------------------------------------------- F77="gfortran5" FC="gfortran5" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc5" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc5" XDG_DATA_HOME=/construction/lang/ratfor XDG_CONFIG_HOME=/construction/lang/ratfor HOME=/construction/lang/ratfor TMPDIR="/tmp" PATH=/construction/lang/ratfor/.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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -B/usr/local/bin " LIBS="" CXX="c++" CXXFLAGS=" -pipe -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 -------------------------------------------------- DESTDIR=/construction/lang/ratfor/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ratfor" EXAMPLESDIR="share/examples/ratfor" DATADIR="share/ratfor" WWWDIR="www/ratfor" ETCDIR="etc/ratfor" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ratfor DOCSDIR=/usr/local/share/doc/ratfor EXAMPLESDIR=/usr/local/share/examples/ratfor WWWDIR=/usr/local/www/ratfor ETCDIR=/usr/local/etc/ratfor -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> ratfor-1985.06_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> ratfor-1985.06_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ratfor-1985.06_11 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ratfor-1985.06_11 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ratfor-1985.06_11 for building => SHA256 Checksum OK for ratfor.shar.2. => SHA256 Checksum OK for local.ratfor77.shar. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ratfor-1985.06_11 for building ===> Extracting for ratfor-1985.06_11 => SHA256 Checksum OK for ratfor.shar.2. => SHA256 Checksum OK for local.ratfor77.shar. x - extracting BUGS (text) x - extracting GNUmakefile (text) x - extracting README (text) x - extracting getopt.c (text) x - extracting lookup.c (text) x - extracting lookup.h (text) x - extracting rat4.c (text) x - extracting ratcom.h (text) x - extracting ratdef.h (text) x - extracting ratfor.man (text) x - extracting test.r (text) x - extracting testw.r (binary) x - Makefile x - ratfor.1 x - testw.patch -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for ratfor-1985.06_11 ===> Applying ports patches for ratfor-1985.06_11 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> ratfor-1985.06_11 depends on executable: gfortran5 - not found ===> Installing existing package /packages/All/gcc5-5.5.0_6.txz Installing gcc5-5.5.0_6... `-- Installing binutils-2.32,1... | `-- Installing gettext-runtime-0.19.8.1_2... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.19.8.1_2: .......... done `-- Extracting binutils-2.32,1: .......... done `-- Installing gmp-6.1.2_1... `-- Extracting gmp-6.1.2_1: .......... done `-- Installing mpc-1.1.0_2... | `-- Installing mpfr-4.0.2... | `-- Extracting mpfr-4.0.2: .......... done `-- Extracting mpc-1.1.0_2: ......... done Extracting gcc5-5.5.0_6: .......... done Message from gcc5-5.5.0_6: To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc5 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unsupported by upstream. Use GCC 7 or newer instead.. ===> ratfor-1985.06_11 depends on executable: gfortran5 - found ===> Returning to build of ratfor-1985.06_11 ===> ratfor-1985.06_11 depends on file: /usr/local/bin/as - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for ratfor-1985.06_11 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for ratfor-1985.06_11 --- objwarn --- --- rat4.o --- --- lookup.o --- --- getopt.o --- --- objwarn --- Warning: Object directory not changed from original /construction/lang/ratfor/ratfor-1985.06_11 --- lookup.o --- cc -pipe -O2 -fno-strict-aliasing -DF77 -DS_CHAR="char" -Wno-error=return-type -std=gnu99 -c lookup.c --- rat4.o --- cc -pipe -O2 -fno-strict-aliasing -DF77 -DS_CHAR="char" -Wno-error=return-type -std=gnu99 -c rat4.c --- getopt.o --- cc -pipe -O2 -fno-strict-aliasing -DF77 -DS_CHAR="char" -Wno-error=return-type -std=gnu99 -c getopt.c --- lookup.o --- lookup.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(s) ^~~~ lookup.c: In function 'lookup': lookup.c:35:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(s, np->name) == 0) ^~~~~~ lookup.c: In function 'install': lookup.c:51:22: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] S_CHAR *strsave(), *malloc(); ^~~~~~ lookup.c:63:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(np->def); /* free prev. */ ^~~~ lookup.c:63:3: warning: incompatible implicit declaration of built-in function 'free' lookup.c:63:3: note: include '' or provide a declaration of 'free' lookup.c:3:1: +#include lookup.c:63:3: free(np->def); /* free prev. */ ^~~~ lookup.c: In function 'strsave': lookup.c:79:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if ((p = malloc(strlen(s)+1)) != NULL) ^~~~~~ lookup.c:79:18: warning: incompatible implicit declaration of built-in function 'strlen' lookup.c:79:18: note: include '' or provide a declaration of 'strlen' lookup.c:3:1: +#include lookup.c:79:18: if ((p = malloc(strlen(s)+1)) != NULL) ^~~~~~ lookup.c:80:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(p, s); ^~~~~~ lookup.c:80:3: warning: incompatible implicit declaration of built-in function 'strcpy' lookup.c:80:3: note: include '' or provide a declaration of 'strcpy' --- rat4.o --- rat4.c:154:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ rat4.c: In function 'main': rat4.c:177:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("can't write %s\n", optarg); ^~~~~ perror rat4.c:200:2: warning: implicit declaration of function 'initvars'; did you mean 'initstate'? [-Wimplicit-function-declaration] initvars(); ^~~~~~~~ initstate rat4.c:202:2: warning: implicit declaration of function 'parse'; did you mean 'pause'? [-Wimplicit-function-declaration] parse(); /* call parser.. */ ^~~~~ pause rat4.c: At top level: rat4.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] initvars() ^~~~~~~~ rat4.c: In function 'initvars': rat4.c:225:2: warning: implicit declaration of function 'install'; did you mean 'syscall'? [-Wimplicit-function-declaration] install(def, deftyp); /* default definitions */ ^~~~~~~ syscall rat4.c: At top level: rat4.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] parse() ^~~~~ rat4.c: In function 'parse': rat4.c:243:15: warning: implicit declaration of function 'lex' [-Wimplicit-function-declaration] for (token = lex(lexstr); token != EOF; token = lex(lexstr)) { ^~~ rat4.c:245:4: warning: implicit declaration of function 'ifcode'; did you mean 'fclose'? [-Wimplicit-function-declaration] ifcode(&lab); ^~~~~~ fclose rat4.c:247:4: warning: implicit declaration of function 'docode' [-Wimplicit-function-declaration] docode(&lab); ^~~~~~ rat4.c:249:4: warning: implicit declaration of function 'whilec'; did you mean 'write'? [-Wimplicit-function-declaration] whilec(&lab); ^~~~~~ write rat4.c:251:4: warning: implicit declaration of function 'forcod'; did you mean 'strtod'? [-Wimplicit-function-declaration] forcod(&lab); ^~~~~~ strtod rat4.c:253:4: warning: implicit declaration of function 'repcod'; did you mean 'reboot'? [-Wimplicit-function-declaration] repcod(&lab); ^~~~~~ reboot rat4.c:255:4: warning: implicit declaration of function 'swcode'; did you mean 'strmode'? [-Wimplicit-function-declaration] swcode(&lab); ^~~~~~ strmode rat4.c:261:5: warning: implicit declaration of function 'synerr'; did you mean 'stderr'? [-Wimplicit-function-declaration] synerr("illegal case of default."); ^~~~~~ stderr rat4.c:263:5: warning: implicit declaration of function 'cascod'; did you mean 'calloc'? [-Wimplicit-function-declaration] cascod(labval[i], token); ^~~~~~ calloc rat4.c:266:4: warning: implicit declaration of function 'labelc'; did you mean 'labs'? [-Wimplicit-function-declaration] labelc(lexstr); ^~~~~~ labs rat4.c:269:5: warning: implicit declaration of function 'elseif'; did you mean 'lseek'? [-Wimplicit-function-declaration] elseif(labval[sp]); ^~~~~~ lseek rat4.c:279:5: warning: implicit declaration of function 'baderr'; did you mean 'stderr'? [-Wimplicit-function-declaration] baderr("stack overflow in parser."); ^~~~~~ stderr rat4.c:291:6: warning: implicit declaration of function 'swend'; did you mean 'srand'? [-Wimplicit-function-declaration] swend(labval[sp]); ^~~~~ srand rat4.c:298:5: warning: implicit declaration of function 'otherc'; did you mean 'stderr'? [-Wimplicit-function-declaration] otherc(lexstr); ^~~~~~ stderr rat4.c:300:5: warning: implicit declaration of function 'brknxt'; did you mean 'brk'? [-Wimplicit-function-declaration] brknxt(sp, lextyp, labval, token); ^~~~~~ brk rat4.c:302:5: warning: implicit declaration of function 'retcod'; did you mean 'getcwd'? [-Wimplicit-function-declaration] retcod(); ^~~~~~ getcwd rat4.c:304:5: warning: implicit declaration of function 'strdcl'; did you mean 'strdup'? [-Wimplicit-function-declaration] strdcl(); ^~~~~~ strdup rat4.c:306:4: warning: implicit declaration of function 'pbstr'; did you mean 'strstr'? [-Wimplicit-function-declaration] pbstr(lexstr); ^~~~~ strstr rat4.c:307:4: warning: implicit declaration of function 'unstak'; did you mean 'unlink'? [-Wimplicit-function-declaration] unstak(&sp, lextyp, labval, token); ^~~~~~ unlink rat4.c: In function 'alldig': rat4.c:332:7: warning: implicit declaration of function 'type'; did you mean 'pipe'? [-Wimplicit-function-declaration] if (type(str[i]) != DIGIT) ^~~~ pipe rat4.c: At top level: rat4.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int] balpar() ^~~~~~ rat4.c: In function 'balpar': rat4.c:348:6: warning: implicit declaration of function 'gnbtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] if (gnbtok(token, MAXTOK) != LPAREN) { ^~~~~~ strtok rat4.c:350:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:343:1: note: declared here balpar() ^~~~~~ rat4.c:352:2: warning: implicit declaration of function 'outstr'; did you mean 'strstr'? [-Wimplicit-function-declaration] outstr(token); ^~~~~~ strstr rat4.c:355:7: warning: implicit declaration of function 'gettok'; did you mean 'strtok'? [-Wimplicit-function-declaration] t = gettok(token, MAXTOK); ^~~~~~ strtok rat4.c: In function 'deftok': rat4.c:387:9: warning: implicit declaration of function 'gtok'; did you mean 'atol'? [-Wimplicit-function-declaration] for (t=gtok(token, toksiz, fd); t!=EOF; t=gtok(token, toksiz, fd)) { ^~~~ atol rat4.c:390:7: warning: implicit declaration of function 'look'; did you mean 'lockf'? [-Wimplicit-function-declaration] if (look(token, defn) == NO) /* undefined */ ^~~~ lockf rat4.c:393:4: warning: implicit declaration of function 'getdef'; did you mean 'cgetset'? [-Wimplicit-function-declaration] getdef(token, toksiz, defn, MAXDEF, fd); ^~~~~~ cgetset rat4.c:400:3: warning: implicit declaration of function 'fold'; did you mean 'fls'? [-Wimplicit-function-declaration] fold(token); ^~~~ fls rat4.c: At top level: rat4.c:409:1: warning: return type defaults to 'int' [-Wimplicit-int] eatup() ^~~~~ rat4.c:455:1: warning: return type defaults to 'int' [-Wimplicit-int] getdef(token, toksiz, defn, defsiz, fd) ^~~~~~ rat4.c: In function 'getdef': rat4.c:465:2: warning: implicit declaration of function 'skpblk'; did you mean 'strpbrk'? [-Wimplicit-function-declaration] skpblk(fd); ^~~~~~ strpbrk rat4.c:491:4: warning: implicit declaration of function 'putbak'; did you mean 'putenv'? [-Wimplicit-function-declaration] putbak(c); ^~~~~~ putenv rat4.c: In function 'gettok': rat4.c:530:12: warning: implicit declaration of function 'equal' [-Wimplicit-function-declaration] if (equal(token, fncn) == YES) { ^~~~~ rat4.c:574:7: warning: implicit declaration of function 'scopy'; did you mean 'bcopy'? [-Wimplicit-function-declaration] scopy(name, 0, fnames, fnamp); ^~~~~ bcopy rat4.c: In function 'gtok': rat4.c:627:6: warning: implicit declaration of function 'outasis' [-Wimplicit-function-declaration] outasis(fd); /* copy direct to output if % */ ^~~~~~~ rat4.c:633:6: warning: implicit declaration of function 'outcmnt' [-Wimplicit-function-declaration] outcmnt(fd); /* copy comments to output */ ^~~~~~~ rat4.c:691:8: warning: implicit declaration of function 'itoc'; did you mean 'gtok'? [-Wimplicit-function-declaration] i = itoc(n, lexstr, toksiz); ^~~~ gtok rat4.c:740:7: warning: implicit declaration of function 'relate'; did you mean 'rename'? [-Wimplicit-function-declaration] i = relate(lexstr, fd); ^~~~~~ rename rat4.c: At top level: rat4.c:863:1: warning: return type defaults to 'int' [-Wimplicit-int] pbstr(in) ^~~~~ rat4.c:876:1: warning: return type defaults to 'int' [-Wimplicit-int] putbak(c) ^~~~~~ rat4.c:950:1: warning: return type defaults to 'int' [-Wimplicit-int] skpblk(fd) ^~~~~~ rat4.c:989:1: warning: return type defaults to 'int' [-Wimplicit-int] brknxt(sp, lextyp, labval, token) ^~~~~~ rat4.c: In function 'brknxt': rat4.c:1002:7: warning: implicit declaration of function 'ctoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] n = ctoi(ptoken, &i) - 1; ^~~~ atoi rat4.c:1014:5: warning: implicit declaration of function 'outgo' [-Wimplicit-function-declaration] outgo(labval[i]+1); ^~~~~ rat4.c:1021:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:989:1: note: declared here brknxt(sp, lextyp, labval, token) ^~~~~~ rat4.c:1027:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:989:1: note: declared here brknxt(sp, lextyp, labval, token) ^~~~~~ rat4.c: At top level: rat4.c:1034:1: warning: return type defaults to 'int' [-Wimplicit-int] docode(lab) ^~~~~~ rat4.c: In function 'docode': rat4.c:1038:2: warning: implicit declaration of function 'outtab'; did you mean 'putbak'? [-Wimplicit-function-declaration] outtab(); ^~~~~~ putbak rat4.c:1040:9: warning: implicit declaration of function 'labgen'; did you mean 'mblen'? [-Wimplicit-function-declaration] *lab = labgen(2); ^~~~~~ mblen rat4.c:1041:2: warning: implicit declaration of function 'outnum'; did you mean 'cgetnum'? [-Wimplicit-function-declaration] outnum(*lab); ^~~~~~ cgetnum rat4.c:1043:2: warning: implicit declaration of function 'outdon'; did you mean 'stdin'? [-Wimplicit-function-declaration] outdon(); ^~~~~~ stdin rat4.c: At top level: rat4.c:1050:1: warning: return type defaults to 'int' [-Wimplicit-int] dostat(lab) ^~~~~~ rat4.c: In function 'dostat': rat4.c:1053:2: warning: implicit declaration of function 'outcon'; did you mean 'putc'? [-Wimplicit-function-declaration] outcon(lab); ^~~~~~ putc rat4.c: At top level: rat4.c:1061:1: warning: return type defaults to 'int' [-Wimplicit-int] elseif(lab) ^~~~~~ rat4.c:1079:1: warning: return type defaults to 'int' [-Wimplicit-int] forcod(lab) ^~~~~~ rat4.c: In function 'forcod': rat4.c:1090:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:1079:1: note: declared here forcod(lab) ^~~~~~ rat4.c:1105:3: warning: implicit declaration of function 'outch'; did you mean 'putc'? [-Wimplicit-function-declaration] outch(LPAREN); ^~~~~ putc rat4.c:1117:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:1079:1: note: declared here forcod(lab) ^~~~~~ rat4.c: At top level: rat4.c:1162:1: warning: return type defaults to 'int' [-Wimplicit-int] fors(lab) ^~~~ rat4.c:1186:1: warning: return type defaults to 'int' [-Wimplicit-int] ifcode(lab) ^~~~~~ rat4.c: In function 'ifcode': rat4.c:1193:2: warning: implicit declaration of function 'ifthen'; did you mean 'fopen'? [-Wimplicit-function-declaration] ifthen(); ^~~~~~ fopen rat4.c: At top level: rat4.c:1204:1: warning: return type defaults to 'int' [-Wimplicit-int] ifend() ^~~~~ rat4.c:1216:1: warning: return type defaults to 'int' [-Wimplicit-int] ifgo(lab) ^~~~ rat4.c:1232:1: warning: return type defaults to 'int' [-Wimplicit-int] ifthen() ^~~~~~ rat4.c:1246:1: warning: return type defaults to 'int' [-Wimplicit-int] labelc(lexstr) ^~~~~~ rat4.c:1277:1: warning: return type defaults to 'int' [-Wimplicit-int] otherc(lexstr) ^~~~~~ rat4.c:1291:1: warning: return type defaults to 'int' [-Wimplicit-int] outch(c) ^~~~~ rat4.c:1311:1: warning: return type defaults to 'int' [-Wimplicit-int] outcon(n) ^~~~~~ rat4.c: In function 'outcon': rat4.c:1316:3: warning: 'return' with no value, in function returning non-void return; /* don't need unlabeled continues */ ^~~~~~ rat4.c:1311:1: note: declared here outcon(n) ^~~~~~ rat4.c: At top level: rat4.c:1328:1: warning: return type defaults to 'int' [-Wimplicit-int] outdon() ^~~~~~ rat4.c:1341:1: warning: return type defaults to 'int' [-Wimplicit-int] outcmnt(fd) ^~~~~~~ rat4.c:1371:1: warning: return type defaults to 'int' [-Wimplicit-int] outasis(fd) ^~~~~~~ rat4.c:1384:1: warning: return type defaults to 'int' [-Wimplicit-int] outgo(n) ^~~~~ rat4.c: In function 'outgo': rat4.c:1388:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:1384:1: note: declared here outgo(n) ^~~~~ rat4.c: At top level: rat4.c:1399:1: warning: return type defaults to 'int' [-Wimplicit-int] outnum(n) ^~~~~~ rat4.c:1426:1: warning: return type defaults to 'int' [-Wimplicit-int] outstr(str) ^~~~~~ rat4.c:1439:1: warning: return type defaults to 'int' [-Wimplicit-int] outtab() ^~~~~~ rat4.c:1450:1: warning: return type defaults to 'int' [-Wimplicit-int] repcod(lab) ^~~~~~ rat4.c:1467:1: warning: return type defaults to 'int' [-Wimplicit-int] retcod() ^~~~~~ rat4.c:1490:1: warning: return type defaults to 'int' [-Wimplicit-int] strdcl() ^~~~~~ rat4.c:1554:1: warning: return type defaults to 'int' [-Wimplicit-int] unstak(sp, lextyp, labval, token) ^~~~~~ rat4.c: In function 'unstak': rat4.c:1588:4: warning: implicit declaration of function 'whiles'; did you mean 'write'? [-Wimplicit-function-declaration] whiles(labval[tp]); ^~~~~~ write rat4.c:1592:4: warning: implicit declaration of function 'untils'; did you mean 'unlink'? [-Wimplicit-function-declaration] untils(labval[tp], token); ^~~~~~ unlink rat4.c: At top level: rat4.c:1601:1: warning: return type defaults to 'int' [-Wimplicit-int] untils(lab, token) ^~~~~~ rat4.c:1622:1: warning: return type defaults to 'int' [-Wimplicit-int] whilec(lab) ^~~~~~ rat4.c:1643:1: warning: return type defaults to 'int' [-Wimplicit-int] whiles(lab) ^~~~~~ rat4.c:1661:1: warning: return type defaults to 'int' [-Wimplicit-int] baderr(msg) ^~~~~~ rat4.c:1671:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg, s) ^~~~~ rat4.c:1682:1: warning: return type defaults to 'int' [-Wimplicit-int] synerr(msg) ^~~~~~ rat4.c:1735:1: warning: return type defaults to 'int' [-Wimplicit-int] fold(token) ^~~~ rat4.c:1772:1: warning: return type defaults to 'int' [-Wimplicit-int] scopy(from, i, to, j) ^~~~~ rat4.c:1844:1: warning: return type defaults to 'int' [-Wimplicit-int] cascod (lab, token) ^~~~~~ rat4.c: In function 'cascod': rat4.c:1853:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rat4.c:1844:1: note: declared here cascod (lab, token) ^~~~~~ rat4.c:1859:10: warning: implicit declaration of function 'caslab'; did you mean 'cascod'? [-Wimplicit-function-declaration] while (caslab (&lb, &t) != EOF) { ^~~~~~ cascod rat4.c: At top level: rat4.c:1946:1: warning: return type defaults to 'int' [-Wimplicit-int] swcode (lab) ^~~~~~ rat4.c: In function 'swcode': rat4.c:1961:2: warning: implicit declaration of function 'swvar'; did you mean 'swab'? [-Wimplicit-function-declaration] swvar(*lab); ^~~~~ swab rat4.c: At top level: rat4.c:1979:1: warning: return type defaults to 'int' [-Wimplicit-int] swend(lab) ^~~~~ rat4.c:2076:1: warning: return type defaults to 'int' [-Wimplicit-int] swvar (lab) ^~~~~ --- ratfor77 --- cc -o ratfor77 rat4.o lookup.o getopt.o --- ratfor --- ln ratfor77 ratfor --- test.f --- --- testw.f --- --- test.f --- ./ratfor -o test.f test.r --- testw.f --- ./ratfor -o testw.f testw.r --- test --- gfortran5 -O -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -B/usr/local/bin test.f -o test --- testw --- gfortran5 -O -Wl,-rpath=/usr/local/lib/gcc5 -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -B/usr/local/bin testw.f -o testw --- tests --- ./test Ok! x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 x = 0 x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 ./testw Ok! x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 x = 0 x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> ratfor-1985.06_11 depends on executable: gfortran5 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for ratfor-1985.06_11 ===> Generating temporary packing list install -s -m 555 /construction/lang/ratfor/ratfor-1985.06_11/ratfor77 /construction/lang/ratfor/stage/usr/local/bin ln -sf /usr/local/bin/ratfor77 /construction/lang/ratfor/stage/usr/local/bin/ratfor install -m 444 /construction/lang/ratfor/ratfor-1985.06_11/ratfor.1 /construction/lang/ratfor/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for ratfor-1985.06_11 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 16:12:22 UTC Duration: 00:00:41