=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ibutton-pdkit-2.00nb2
rm -f atod count coupler debit initcopr initrov list2tag mktag mweather owsensor swtloop swtoper swtsngl temp thermodl thermoms tstfind tstow tstowe
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
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.
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.
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.
ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(defbuf,buf);
                     ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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", 
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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.
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] Error code 1

bmake: stopped making "clean all" in /Users/pbulk/build/misc/ibutton-pdkit/work
bmake: 1 error

bmake: stopped making "clean all" in /Users/pbulk/build/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