=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ibutton-pdkit-2.00nb2 --- clean --- --- atod --- --- count --- --- clean --- rm -f atod count coupler debit initcopr initrov list2tag mktag mweather owsensor swtloop swtoper swtsngl temp thermodl thermoms tstfind tstow tstowe --- atod --- gcc -g -o atod atodtst.c atod20.c crcutil.c ioutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- count --- gcc -g -o count counter.c ioutil.c cnt1d.c crcutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- coupler --- gcc -g -o coupler coupler.c crcutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c swt1f.c linuxlnk.c --- count --- counter.c:51:40: error: unknown type name 'ulong'; did you mean 'long'? extern int ReadCounter(int,uchar *,int,ulong *); ^~~~~ long counter.c:69:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong Count; ^~~~~ long counter.c:128:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf(" %10d ", Count); ~~~~ ^~~~~ %10ld 1 warning and 2 errors generated. --- atod --- atodtst.c:141:44: warning: data argument not used by format string [-Wformat-extra-args] printf("A/D settings found\n", msg); ~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. --- coupler --- coupler.c:46:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setdocrc16(int,ushort); ^ coupler.c:47:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort dodocrc16(int,ushort); ^~~~~~ short coupler.c:47:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort dodocrc16(int,ushort); ^ 2 warnings and 1 error generated. --- count --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- atod --- atod20.c:48:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ atod20.c:49:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short atod20.c:49:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ atod20.c:125:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:173:28: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if ((lastcrc16 != 0xB001) || ~~~~~~~~~ ^ ~~~~~~ atod20.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:242:24: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (lastcrc16 != 0xB001) ~~~~~~~~~ ^ ~~~~~~ atod20.c:281:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong templong; ^~~~~ long atod20.c:285:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:317:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ 5 warnings and 5 errors generated. --- coupler --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- count --- cnt1d.c:39:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ cnt1d.c:40:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short cnt1d.c:40:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ cnt1d.c:45:33: error: unknown type name 'ulong'; did you mean 'long'? int ReadCounter(int,uchar *,int,ulong *); ^~~~~ long cnt1d.c:61:5: error: conflicting types for 'ReadCounter' int ReadCounter(int portnum, uchar SerialNum[8], int CounterPage, ^ cnt1d.c:45:5: note: previous declaration is here int ReadCounter(int,uchar *,int,ulong *); ^ cnt1d.c:67:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short cnt1d.c:84:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(address & 0xFF)); ^~~~~~ short cnt1d.c:84:24: error: use of undeclared identifier 'ushort' cnt1d.c:86:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(address >> 8)); ^~~~~~ short cnt1d.c:86:24: error: use of undeclared identifier 'ushort' cnt1d.c:99:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ 3 warnings and 8 errors generated. --- atod --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- count --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- atod --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- coupler --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- count --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- atod --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- count --- *** [count] Error code 1 bmake: stopped in /Users/pbulk/build/misc/ibutton-pdkit/work --- coupler --- *** [coupler] Error code 1 bmake: stopped in /Users/pbulk/build/misc/ibutton-pdkit/work --- atod --- *** [atod] Error code 1 bmake: stopped in /Users/pbulk/build/misc/ibutton-pdkit/work 3 errors bmake: stopped in /Users/pbulk/build/misc/ibutton-pdkit/work *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/misc/ibutton-pdkit *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/misc/ibutton-pdkit