=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/ibutton-pdkit", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ibutton-pdkit-2.00nb2 --- clean --- --- atod --- --- 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 counter.c:51:40: error: unknown type name 'ulong'; did you mean 'long'? 51 | extern int ReadCounter(int,uchar *,int,ulong *); | ^~~~~ | long counter.c:69:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? 69 | ulong Count; | ^~~~~ | long counter.c:128:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 128 | 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] 141 | printf("A/D settings found\n", msg); | ~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. --- count --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 70 | sprintf(defbuf,buf); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this 70 | sprintf(defbuf,buf); | ^ | "%s", /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __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] 152 | printf("%s (%d): ",msg,*value); | ~~ ^~~~~~ | %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? 228 | 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'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | extern void setcrc16(int,ushort); | ^ | int atod20.c:49:8: error: unknown type name 'ushort'; did you mean 'short'? 49 | extern ushort docrc16(int,ushort); | ^~~~~~ | short atod20.c:49:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | extern ushort docrc16(int,ushort); | ^ | int atod20.c:125:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 125 | 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] 173 | if ((lastcrc16 != 0xB001) || | ~~~~~~~~~ ^ ~~~~~~ atod20.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 209 | 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] 242 | if (lastcrc16 != 0xB001) | ~~~~~~~~~ ^ ~~~~~~ atod20.c:281:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? 281 | ulong templong; | ^~~~~ | long atod20.c:285:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 285 | 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] 317 | if (lastcrc16 == 0xB001) | ~~~~~~~~~ ^ ~~~~~~ 5 warnings and 5 errors generated. --- count --- cnt1d.c:39:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | extern void setcrc16(int,ushort); | ^ | int cnt1d.c:40:8: error: unknown type name 'ushort'; did you mean 'short'? 40 | extern ushort docrc16(int,ushort); | ^~~~~~ | short cnt1d.c:40:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | extern ushort docrc16(int,ushort); | ^ | int cnt1d.c:45:33: error: unknown type name 'ulong'; did you mean 'long'? 45 | int ReadCounter(int,uchar *,int,ulong *); | ^~~~~ | long cnt1d.c:61:5: error: conflicting types for 'ReadCounter' --- atod --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- count --- 61 | int ReadCounter(int portnum, uchar SerialNum[8], int CounterPage, | ^ --- atod --- 34 | void setcrc16(int,ushort); | ^ --- count --- cnt1d.c:45:5: note: previous declaration is here --- atod --- | int --- count --- 45 | int ReadCounter(int,uchar *,int,ulong *); | ^ --- atod --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? 35 | ushort docrc16(int,ushort); | ^~~~~~ | short --- count --- cnt1d.c:67:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 67 | ushort lastcrc16; | ^~~~~~ | short --- atod --- crcutil.c:35:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | ushort docrc16(int,ushort); | ^ | int crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? 40 | ushort utilcrc16[MAX_PORTNUM]; --- count --- cnt1d.c:84:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- | ^~~~~~ | short --- count --- 84 | docrc16(portnum,(ushort)(address & 0xFF)); | ^~~~~~ | short cnt1d.c:84:24: error: use of undeclared identifier 'ushort' --- atod --- crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? 66 | void setcrc16(int portnum, ushort reset) | ^~~~~~ | short crcutil.c:66:6: error: conflicting types for 'setcrc16' 66 | void setcrc16(int portnum, ushort reset) | ^ crcutil.c:34:6: note: previous declaration is here 34 | void setcrc16(int,ushort); | ^ --- count --- cnt1d.c:86:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? 86 | docrc16(portnum,(ushort)(address >> 8)); | ^~~~~~ | short --- atod --- crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? --- count --- cnt1d.c:86:24: error: use of undeclared identifier 'ushort' --- atod --- 95 | ushort docrc16(int portnum, ushort data) | ^~~~~~ | short --- count --- 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] 99 | if (lastcrc16 == 0xB001) | ~~~~~~~~~ ^ ~~~~~~ 3 warnings and 8 errors generated. --- atod --- crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? 95 | ushort docrc16(int portnum, ushort data) | ^~~~~~ | short crcutil.c:95:8: error: conflicting types for 'docrc16' 95 | ushort docrc16(int portnum, ushort data) | ^ crcutil.c:35:8: note: previous declaration is here 35 | ushort docrc16(int,ushort); | ^ 2 warnings and 7 errors generated. --- count --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | void setcrc16(int,ushort); | ^ | int crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? 35 | ushort docrc16(int,ushort); | ^~~~~~ | short crcutil.c:35:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | ushort docrc16(int,ushort); | ^ | int crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? 40 | ushort utilcrc16[MAX_PORTNUM]; | ^~~~~~ | short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? 66 | void setcrc16(int portnum, ushort reset) | ^~~~~~ | short crcutil.c:66:6: error: conflicting types for 'setcrc16' 66 | void setcrc16(int portnum, ushort reset) | ^ crcutil.c:34:6: note: previous declaration is here 34 | void setcrc16(int,ushort); | ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? 95 | ushort docrc16(int portnum, ushort data) | ^~~~~~ | short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? 95 | ushort docrc16(int portnum, ushort data) | ^~~~~~ | short crcutil.c:95:8: error: conflicting types for 'docrc16' 95 | ushort docrc16(int portnum, ushort data) | ^ crcutil.c:35:8: note: previous declaration is here 35 | 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] 70 | sprintf(defbuf,buf); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this 70 | sprintf(defbuf,buf); | ^ | "%s", /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __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] 152 | printf("%s (%d): ",msg,*value); | ~~ ^~~~~~ | %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? 228 | int EnterHex(char *msg, int numchars, ulong *value) | ^~~~~ | long 2 warnings and 1 error generated. owtrnu.c:56:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | extern void setcrc16(int,ushort); | ^ | int --- count --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | extern void setcrc16(int,ushort); | ^ | int --- atod --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? --- count --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? 57 | extern ushort docrc16(int,ushort); | ^~~~~~ | short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- atod --- 57 | extern ushort docrc16(int,ushort); | ^~~~~~ | short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- count --- 57 | extern ushort docrc16(int,ushort); | ^ | int --- atod --- 57 | extern ushort docrc16(int,ushort); | ^ | int --- count --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 189 | ushort lastcrc16; | ^~~~~~ | short --- atod --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 189 | ushort lastcrc16; | ^~~~~~ | short --- count --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? 218 | setcrc16(portnum,(ushort)start_page); | ^~~~~~ | short owtrnu.c:218:32: error: expected ')' --- atod --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? 218 | setcrc16(portnum,(ushort)start_page); | ^~~~~~ --- count --- 218 | setcrc16(portnum,(ushort)start_page); | ^ --- atod --- | short --- count --- owtrnu.c:218:15: note: to match this '(' --- atod --- owtrnu.c:218:32: error: expected ')' 218 | setcrc16(portnum,(ushort)start_page); | ^ --- count --- 218 | setcrc16(portnum,(ushort)start_page); | ^ --- atod --- owtrnu.c:218:15: note: to match this '(' 218 | setcrc16(portnum,(ushort)start_page); | ^ --- count --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? 222 | docrc16(portnum,(ushort)length); | ^~~~~~ | short owtrnu.c:222:31: error: expected ')' 222 | docrc16(portnum,(ushort)length); | ^ owtrnu.c:222:14: note: to match this '(' --- atod --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- 222 | docrc16(portnum,(ushort)length); | ^ --- atod --- 222 | docrc16(portnum,(ushort)length); | ^~~~~~ | short owtrnu.c:222:31: error: expected ')' 222 | docrc16(portnum,(ushort)length); | ^ owtrnu.c:222:14: note: to match this '(' --- count --- 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] 239 | if (lastcrc16 == 0xB001) | ~~~~~~~~~ ^ ~~~~~~ --- atod --- 222 | 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] 239 | if (lastcrc16 == 0xB001) | ~~~~~~~~~ ^ ~~~~~~ --- count --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 288 | ushort lastcrc16; | ^~~~~~ | short --- atod --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 288 | ushort lastcrc16; | ^~~~~~ | short --- count --- owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? 295 | setcrc16(portnum,(ushort)start_page); | ^~~~~~ | short owtrnu.c:295:29: error: expected ')' --- atod --- owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- 295 | setcrc16(portnum,(ushort)start_page); | ^ --- atod --- 295 | setcrc16(portnum,(ushort)start_page); | ^~~~~~ | short --- count --- owtrnu.c:295:12: note: to match this '(' --- atod --- owtrnu.c:295:29: error: expected ')' --- count --- 295 | setcrc16(portnum,(ushort)start_page); | ^ --- atod --- 295 | setcrc16(portnum,(ushort)start_page); | ^ owtrnu.c:295:12: note: to match this '(' 295 | setcrc16(portnum,(ushort)start_page); | ^ --- count --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? 299 | docrc16(portnum,(ushort)write_len); | ^~~~~~ | short owtrnu.c:299:28: error: expected ')' 299 | docrc16(portnum,(ushort)write_len); | ^ owtrnu.c:299:11: note: to match this '(' --- atod --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- 299 | docrc16(portnum,(ushort)write_len); | ^ --- atod --- 299 | docrc16(portnum,(ushort)write_len); | ^~~~~~ | short owtrnu.c:299:28: error: expected ')' 299 | docrc16(portnum,(ushort)write_len); | ^ owtrnu.c:299:11: note: to match this '(' 299 | docrc16(portnum,(ushort)write_len); | ^ --- count --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 371 | ushort lastcrc16; | ^~~~~~ | short --- atod --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? 371 | ushort lastcrc16; | ^~~~~~ | short --- count --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 422 | docrc16(portnum,(ushort)write_cmd); | ^~~~~~ | short owtrnu.c:422:34: error: expected ')' 422 | docrc16(portnum,(ushort)write_cmd); | ^ owtrnu.c:422:17: note: to match this '(' 422 | docrc16(portnum,(ushort)write_cmd); | ^ --- atod --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 422 | docrc16(portnum,(ushort)write_cmd); | ^~~~~~ | short owtrnu.c:422:34: error: expected ')' 422 | docrc16(portnum,(ushort)write_cmd); | ^ owtrnu.c:422:17: note: to match this '(' 422 | docrc16(portnum,(ushort)write_cmd); | ^ --- count --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 423 | docrc16(portnum,(ushort)(addr & 0xFF)); | ^~~~~~ | short --- atod --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 423 | docrc16(portnum,(ushort)(addr & 0xFF)); | ^~~~~~ | short --- count --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- atod --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 424 | docrc16(portnum,(ushort)(addr >> 8)); | ^~~~~~ | short --- atod --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? 424 | docrc16(portnum,(ushort)(addr >> 8)); | ^~~~~~ | short --- count --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- atod --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? 427 | setcrc16(portnum,(ushort)addr); | ^~~~~~ | short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- atod --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? 427 | setcrc16(portnum,(ushort)addr); | ^~~~~~ | short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- count --- 3 warnings and 20 errors generated. --- atod --- 3 warnings and 20 errors generated. --- count --- *** [count] Error code 1 bmake: stopped making "clean all" in /var/tmp/work/misc/ibutton-pdkit/work --- atod --- *** [atod] Error code 1 bmake: stopped making "clean all" in /var/tmp/work/misc/ibutton-pdkit/work bmake: 2 errors bmake: stopped making "clean all" in /var/tmp/work/misc/ibutton-pdkit/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/ibutton-pdkit *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/ibutton-pdkit