=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/jhd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jhd-2.3 --- jhd.o --- gcc -O -c jhd.c jhd.c:94:1: error: return type defaults to 'int' [-Wimplicit-int] 94 | iskanji(c) | ^~~~~~~ jhd.c: In function 'iskanji': jhd.c:94:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:103:1: error: return type defaults to 'int' [-Wimplicit-int] 103 | iskana2(c) | ^~~~~~~ jhd.c: In function 'iskana2': jhd.c:103:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:147:1: error: return type defaults to 'int' [-Wimplicit-int] 147 | set_ttype () | ^~~~~~~~~ jhd.c: In function 'set_ttype': jhd.c:153:18: error: too many arguments to function 'getenv'; expected 0, have 1 153 | if ((p = getenv ("TTYPE")) == NULL) { | ^~~~~~ ~~~~~~~ jhd.c:150:17: note: declared here 150 | char *getenv (); | ^~~~~~ jhd.c: In function 'kindex': jhd.c:175:9: warning: old-style function definition [-Wold-style-definition] 175 | char *kindex(s, c) | ^~~~~~ jhd.c: At top level: jhd.c:191:1: error: return type defaults to 'int' [-Wimplicit-int] 191 | putspc (n) | ^~~~~~ jhd.c: In function 'putspc': jhd.c:191:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:199:1: error: return type defaults to 'int' [-Wimplicit-int] 199 | putoct (n, w) | ^~~~~~ jhd.c: In function 'putoct': jhd.c:199:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:212:1: error: return type defaults to 'int' [-Wimplicit-int] 212 | puthex (n, w) | ^~~~~~ jhd.c: In function 'puthex': jhd.c:212:1: warning: old-style function definition [-Wold-style-definition] jhd.c: In function 'chksame': jhd.c:229:8: warning: old-style function definition [-Wold-style-definition] 229 | int chksame(new, old, n) | ^~~~~~~ jhd.c: At top level: jhd.c:250:1: error: return type defaults to 'int' [-Wimplicit-int] 250 | dmpkanji (base, size) | ^~~~~~~~ jhd.c: In function 'dmpkanji': jhd.c:250:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:284:1: error: return type defaults to 'int' [-Wimplicit-int] 284 | dmpkana (base, size) | ^~~~~~~ jhd.c: In function 'dmpkana': jhd.c:284:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:348:1: error: return type defaults to 'int' [-Wimplicit-int] 348 | dmpascii (base, size) | ^~~~~~~~ jhd.c: In function 'dmpascii': jhd.c:348:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:368:1: error: return type defaults to 'int' [-Wimplicit-int] 368 | octdmp0 (base, size) | ^~~~~~~ jhd.c: In function 'octdmp0': jhd.c:368:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:383:1: error: return type defaults to 'int' [-Wimplicit-int] 383 | octdmp1 (base, size, adr) | ^~~~~~~ jhd.c: In function 'octdmp1': jhd.c:383:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:400:1: error: return type defaults to 'int' [-Wimplicit-int] 400 | octdmp2 (base, size) | ^~~~~~~ jhd.c: In function 'octdmp2': jhd.c:400:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:415:1: error: return type defaults to 'int' [-Wimplicit-int] 415 | hexdmp (base, size, adr) | ^~~~~~ jhd.c: In function 'hexdmp': jhd.c:415:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:429:1: error: return type defaults to 'int' [-Wimplicit-int] 429 | dmpmode (buf, size, adv) | ^~~~~~~ jhd.c: In function 'dmpmode': jhd.c:429:1: warning: old-style function definition [-Wold-style-definition] jhd.c: In function 'dmpall': jhd.c:539:6: warning: old-style function definition [-Wold-style-definition] 539 | void dmpall (buf, size) | ^~~~~~ jhd.c: At top level: jhd.c:634:1: error: return type defaults to 'int' [-Wimplicit-int] 634 | setlast (ptr) | ^~~~~~~ jhd.c: In function 'setlast': jhd.c:634:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:650:1: error: return type defaults to 'int' [-Wimplicit-int] 650 | dmpmain () | ^~~~~~~ jhd.c: In function 'setname': jhd.c:674:9: warning: old-style function definition [-Wold-style-definition] 674 | char *setname(path) | ^~~~~~~ jhd.c: At top level: jhd.c:704:1: error: return type defaults to 'int' [-Wimplicit-int] 704 | usage () | ^~~~~ jhd.c: In function 'usage': jhd.c:713:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 713 | exit (EXSTAT); | ^~~~ jhd.c:30:1: note: include '' or provide a declaration of 'exit' 29 | #include +++ |+#include 30 | jhd.c:713:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 713 | exit (EXSTAT); | ^~~~ jhd.c:713:9: note: include '' or provide a declaration of 'exit' jhd.c: At top level: jhd.c:716:1: error: return type defaults to 'int' [-Wimplicit-int] 716 | toobig () | ^~~~~~ jhd.c: In function 'toobig': jhd.c:720:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 720 | exit (EXSTAT); | ^~~~ jhd.c:720:9: note: include '' or provide a declaration of 'exit' jhd.c: At top level: jhd.c:723:1: error: return type defaults to 'int' [-Wimplicit-int] 723 | no_open (name) | ^~~~~~~ jhd.c: In function 'no_open': jhd.c:723:1: warning: old-style function definition [-Wold-style-definition] jhd.c:730:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 730 | exit (EXSTAT); | ^~~~ jhd.c:730:9: note: include '' or provide a declaration of 'exit' jhd.c: At top level: jhd.c:752:1: error: return type defaults to 'int' [-Wimplicit-int] 752 | skipfile (fp) | ^~~~~~~~ jhd.c: In function 'skipfile': jhd.c:752:1: warning: old-style function definition [-Wold-style-definition] jhd.c: At top level: jhd.c:761:1: error: return type defaults to 'int' [-Wimplicit-int] 761 | chkofst (p) | ^~~~~~~ jhd.c: In function 'chkofst': jhd.c:761:1: warning: old-style function definition [-Wold-style-definition] jhd.c:788:26: error: too many arguments to function 'atol'; expected 0, have 1 788 | Offset = atol(p); | ^~~~ ~ jhd.c:764:17: note: declared here 764 | long atol(); | ^~~~ jhd.c: At top level: jhd.c:798:1: error: return type defaults to 'int' [-Wimplicit-int] 798 | main (argc, argv) | ^~~~ jhd.c: In function 'main': jhd.c:798:1: warning: old-style function definition [-Wold-style-definition] jhd.c:880:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 880 | exit (0); | ^~~~ jhd.c:880:17: note: include '' or provide a declaration of 'exit' jhd.c:909:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 909 | exit (0); | ^~~~ jhd.c:909:9: note: include '' or provide a declaration of 'exit' *** [jhd.o] Error code 1 bmake: stopped making "all" in /tmp/work/misc/jhd/work/jhd-2.3 bmake: 1 error bmake: stopped making "all" in /tmp/work/misc/jhd/work/jhd-2.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/jhd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/jhd