=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mtx-1.3.12nb1 clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o mtx.o mtx.c clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o mtxl.o mtxl.c clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o tapeinfo.o tapeinfo.c clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o loaderinfo.o loaderinfo.c clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o scsitape.o scsitape.c clang -O2 -DVERSION="\"1.3.12\"" -I. -I. -c -o scsieject.o scsieject.c In file included from scsitape.c:43: ./mtxl.h:39:1: error: 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: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); ^ In file included from scsieject.c:26: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^In file included from In file included from mtxl.c:30: ./mtxl.h:./mtxl.htapeinfo.c39:1::: error: unknown type name 'DEVICE_TYPE'5952:37:: error: ./mtxl.hunknown type name 'DEVICE_TYPE': 39ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ./mtxl.h ^: 40::In file included from mtx.c:1: 40DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);: ./mtxl.h:39:1^error: 41unknown type name 'DEVICE_TYPE' :DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ./mtxl.h: : ^error: unknown type name 'DEVICE_TYPE' 64void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); :28 ^error : 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); ^ error: unknown type name 'DEVICE_TYPE'./mtxl.h:40:41 ./mtxl.h: error: Inquiry_T *RequestInquiry( DEVICE_TYPE fd,: ^ ./mtxl.h:40:41: 41unknown type name 'DEVICE_TYPE':25: error./mtxl.h: error: unknown type name 'DEVICE_TYPE' :unknown type name 'DEVICE_TYPE'41In file included from loaderinfo.cvoid SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD);: ./mtxl.h:void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); : 41int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ^ 25 ^: 67 error: :: unknown type name 'DEVICE_TYPE' 29./mtxl.h:39:int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ./mtxl.h./mtxl.h:./mtxl.h::41:25141error:: 57::24: : 25: unknown type name 'DEVICE_TYPE': ^ errorerrorRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,: error ^: errorunknown type name 'DEVICE_TYPE': unknown type name 'DEVICE_TYPE' : DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE'^int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE' ./mtxl.h ^ int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);./mtxl.h:40:41:: error: 74 ./mtxl.h::59: ^ ./mtxl.h33: 37unknown type name 'DEVICE_TYPE': ./mtxl.h57:error: unknown type name 'DEVICE_TYPE'57: void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ :RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,error: unknown type name 'DEVICE_TYPE'24: : error: ./mtxl.hunknown type name 'DEVICE_TYPE' :59:37ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,24 int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ ^ ^ : ./mtxl.h:error:: 41:25: unknown type name 'DEVICE_TYPE' errorerror : : unknown type name 'DEVICE_TYPE'./mtxl.h:./mtxl.h:unknown type name 'DEVICE_TYPE' 8164::./mtxl.hint SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,:33int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ 28: ^ : error ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,error: : unknown type name 'DEVICE_TYPE' ^ 59:37unknown type name 'DEVICE_TYPE': error : RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^./mtxl.h:57unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd,: ^ ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ 24: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE' int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ./mtxl.hElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,: ^ ^./mtxl.h:64:28: error./mtxl.h: :6485unknown type name 'DEVICE_TYPE' ::Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ./mtxl.h ^ 28./mtxl.h:64:: error: 1528::: error error67: unknown type name 'DEVICE_TYPE' :Inquiry_T *RequestInquiry( DEVICE_TYPE fd,29: error: unknown type name 'DEVICE_TYPE'./mtxl.h: ^unknown type name 'DEVICE_TYPE' 59 RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,: ./mtxl.h:67unknown type name 'DEVICE_TYPE':29 :: error ^: Inquiry_T *RequestInquiry( DEVICE_TYPE fd, 37: error ^unknown type name 'DEVICE_TYPE' : ./mtxl.h:67 int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ :29: ^ errorRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ : unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE'./mtxl.h :67:29: error: unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ./mtxl.h:74:33: ^./mtxl.h error./mtxl.h./mtxl.h::8674::1664: :unknown type name 'DEVICE_TYPE' :33: :28: error: unknown type name 'DEVICE_TYPE' errorInquiry_T *RequestInquiry( DEVICE_TYPE fd,: RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ^ error: unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ ./mtxl.hRequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ :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 *ExchangeMedium( DEVICE_TYPE MediumChangerFD,RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^./mtxl.h./mtxl.h: 67:87::1529 :: error ^ ./mtxl.h ^:85 error: :15: : errorunknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^: unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE'./mtxl.h:./mtxl.h:81:81:int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */33: error: unknown type name 'DEVICE_TYPE' ^ 33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^ ^ RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:85:./mtxl.h15:74:33::./mtxl.h error./mtxl.h:86error:: unknown type name 'DEVICE_TYPE' :RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,16:: unknown type name 'DEVICE_TYPE' ./mtxl.h ^ error88:16: ./mtxl.h error: unknown type name 'DEVICE_TYPE' : : int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ 85: ^85:unknown type name 'DEVICE_TYPE' :15: 15: error int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ : ./mtxl.h:81error: unknown type name 'DEVICE_TYPE' :33:int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ error ^ int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ : unknown type name 'DEVICE_TYPE' ./mtxl.h ^: RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,./mtxl.h:86: ./mtxl.h:89: ^16 23: error: unknown type name 'DEVICE_TYPE' :87 error: ./mtxl.hRequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */:: ^15./mtxl.h 86:: :86:unknown type name 'DEVICE_TYPE'error16: ./mtxl.h:error: : int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */unknown type name 'DEVICE_TYPE'1685 :: errorunknown type name 'DEVICE_TYPE' ^: unknown type name 'DEVICE_TYPE'./mtxl.h :102: 26: error: unknown type name 'DEVICE_TYPE' 15:NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^ int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ 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 Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^ ^ ./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ ./mtxl.h:87:15: error./mtxl.h: unknown type name 'DEVICE_TYPE' ^:87:15: error: unknown type name 'DEVICE_TYPE' int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */./mtxl.h:86./mtxl.h :./mtxl.h88:16: error: unknown type name 'DEVICE_TYPE' ^ :: ^16 : 89 error: unknown type name 'DEVICE_TYPE'scsitape.c:74:8 : errorint LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ : ^ ^ :23:./mtxl.h:88:16./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE' :int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ error error : unknown type name 'DEVICE_TYPE' : unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' ^ int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ ./mtxl.h./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE' :static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; 89:int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ 23 ^ ^ : ^error: unknown type name 'DEVICE_TYPE' ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */./mtxl.h : ^ ^ 89:./mtxl.h:10223: error: ./mtxl.h:unknown type name 'DEVICE_TYPE': 2688scsitape.c::: error74RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */:: ./mtxl.h39:: error./mtxl.h16: use of undeclared identifier 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE'102 :26: : error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ :102:26: errorint LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ : unknown type name 'DEVICE_TYPE' ^ ^ static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1;error: unknown type name 'DEVICE_TYPE'./mtxl.h ^ :NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ 102:26: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ ./mtxl.h: ^105 ^ ./mtxl.h:17: : error: unknown type name 'DEVICE_TYPE' 105int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, :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' ./mtxl.hint SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ :105:17: error: unknown type name 'DEVICE_TYPE'scsitape.c ./mtxl.h ^: :102572 int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, :16: error: unknown type name 'DEVICE_TYPE' :int SCSI_readt(DEVICE_TYPE fd, char * buf, unsigned int bufsize, unsigned int *len, unsigned int timeout) { ^scsieject.c:44 ^mtxl.c: 26:8: error error: unknown type name 'DEVICE_TYPE': unknown type name 'DEVICE_TYPE' :99:27:static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, error: unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense) ^tapeinfo.c :103:27: error: unknown type name 'DEVICE_TYPE' static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] scsieject.c:44:32: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ mtx.c:88:8: error: unknown type name 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ 20 errors generated. 18 errors generated. mtx.c:88:39: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ loaderinfo.c:43:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE MediumChangerFD; /* historic purposes... */ ^ loaderinfo.c:139:27: error: unknown type name 'DEVICE_TYPE' static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ loaderinfo.c:201tapeinfo.c:247::13: error: unknown type name 'DEVICE_TYPE' 42: error: *mode_sense(DEVICE_TYPE fd, char pagenum, int alloc_len, RequestSense_T *RequestSense) ^unknown type name 'DEVICE_TYPE' gmake: *** [: scsieject.o] Error 1 static TapeCapacity *RequestTapeCapacity(DEVICE_TYPE fd, RequestSense_T *sense) 18 errors generated. ^ gmake: *** Waiting for unfinished jobs.... mtxl.cgmake: *** [: scsitape.o] Error 1 :287:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] tapeinfo.c:347:50: error: unknown type name 'DEVICE_TYPE' static struct tapealert_struct *RequestTapeAlert(DEVICE_TYPE fd, RequestSense_T *sense) ^ mtxl.c:320:27: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack( DEVICE_TYPE MediumChangerFD, ^ 20 errors generated. gmake: *** [: mtx.o] Error 1 fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake: *** [: loaderinfo.o] Error 1 gmake: *** [: tapeinfo.o] Error 1 20 errors generated. gmake: *** [: mtxl.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/sysutils/mtx *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/sysutils/mtx