=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mtx-1.3.12nb1
clang -pipe -Os -DVERSION="\"1.3.12\"" -I. -I.  -c -o mtx.o mtx.c
clang -pipe -Os -DVERSION="\"1.3.12\"" -I. -I.  -c -o mtxl.o mtxl.c
clang -pipe -Os -DVERSION="\"1.3.12\"" -I. -I.  -c -o tapeinfo.o tapeinfo.c
In file included from tapeinfo.c:In file included from mtxl.c:30:
52./mtxl.h:39::
1:./mtxl.h:39:1:  error: error: unknown type name 'DEVICE_TYPE'
In file included from mtx.cDEVICE_TYPE SCSI_OpenDevice(char *DeviceName);
:^
40:
./mtxl.h:39:1: unknown type name 'DEVICE_TYPE'
error: DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);
^
unknown type name 'DEVICE_TYPE'
DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);
^
./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE'
void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD);
                                        ^
./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE'
void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD);
                                        ^
./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE'
void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD);
                                        ^
./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE'
int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,
                        ^
./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE'
int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,
                        ^
./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE'
int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,
                        ^
./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE'
int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);
                       ^
./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE'
int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);
                       ^
./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE'
int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);
                       ^
./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE'
./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE'
ElementStatus_T *ReadElementStatus(     DEVICE_TYPE MediumChangerFD,
                                        ^
ElementStatus_T *ReadElementStatus(     DEVICE_TYPE MediumChangerFD,
                                        ^
./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE'
ElementStatus_T *ReadElementStatus(     DEVICE_TYPE MediumChangerFD,
                                        ^
./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE'
Inquiry_T *RequestInquiry(      DEVICE_TYPE fd,
                                ^
./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE'
Inquiry_T *RequestInquiry(      DEVICE_TYPE fd,
                                ^
./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE'
Inquiry_T *RequestInquiry(      DEVICE_TYPE fd,
                                ^
./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *MoveMedium(     DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *MoveMedium(     DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *MoveMedium(     DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,
                                ^
./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE'
int Inventory(DEVICE_TYPE MediumChangerFD);  /* inventory library */
              ^
./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE'
int Inventory(DEVICE_TYPE MediumChangerFD);  /* inventory library */
              ^
./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE'
int Inventory(DEVICE_TYPE MediumChangerFD);  /* inventory library */
              ^
./mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE'
int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */
               ^
./mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE'
int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */
               ^
./mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE'
int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */
               ^
./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE'
int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */
              ^
./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE'
int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */
              ^
./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE'
int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */
              ^
./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'
int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */
               ^
./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'
int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */
               ^
./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'
int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */
               ^
./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *Erase(DEVICE_TYPE fd);        /* send SHORT erase to drive */
                      ^
./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *Erase(DEVICE_TYPE fd);        /* send SHORT erase to drive */
                      ^
./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE'
RequestSense_T *Erase(DEVICE_TYPE fd);        /* send SHORT erase to drive */
                      ^
./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE'
NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, 
                         ^
./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE'
NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, 
                         ^
./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE'
NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, 
                         ^
./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE'
int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 
                ^
./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE'
int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 
                ^
./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE'
int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 
                ^
mtxl.c:99:27: error: unknown type name 'DEVICE_TYPE'
Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense)
                          ^
mtx.c:88:8: error: unknown type name 'DEVICE_TYPE'
static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1;
       ^
mtx.c:88:39: error: use of undeclared identifier 'DEVICE_TYPE'
static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1;
                                      ^
tapeinfo.c:103:27: error: unknown type name 'DEVICE_TYPE'
static void ReportInquiry(DEVICE_TYPE MediumChangerFD)
                          ^
tapeinfo.c:247:42: error: unknown type name 'DEVICE_TYPE'
static TapeCapacity *RequestTapeCapacity(DEVICE_TYPE fd, RequestSense_T *sense)
                                         ^
tapeinfo.c:347:50: error: unknown type name 'DEVICE_TYPE'
static struct tapealert_struct *RequestTapeAlert(DEVICE_TYPE fd, RequestSense_T *sense)
                                                 ^
mtxl.c:287:17: error: unknown type name 'DEVICE_TYPE'
int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 
                ^
mtxl.c:320:27: fatal error: error: unknown type name 'DEVICE_TYPE'
too many errors emitted, stopping now [-ferror-limit=]
NSM_Result_T *RecNSMHack(       DEVICE_TYPE MediumChangerFD,
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
18 errors generated.
20 errors generated.
gmake: *** [<builtin>: mtx.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [<builtin>: tapeinfo.o] Error 1
20 errors generated.
gmake: *** [<builtin>: mtxl.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/mtx
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/mtx