=> 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 tapeinfo.c:52: ./mtxl.h:39:1In file included from : error: unknown type name 'DEVICE_TYPE' mtxl.c:30: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ ./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ 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: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' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE' In file included from Inquiry_T *RequestInquiry( DEVICE_TYPE fd,scsitape.c:43: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' ^ In file included from loaderinfo.c:DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^41: ./mtxl.h:39:1: ./mtxl.h :59:37: error: errorIn file included from mtx.c:40: ./mtxl.h:39:1:: unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' ./mtxl.h:67:29: errorElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ : ^ errorunknown type name 'DEVICE_TYPE': unknown type name 'DEVICE_TYPE' In file included from scsieject.c./mtxl.h:26: ./mtxl.hRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,:39:1: error: unknown type name 'DEVICE_TYPE' :./mtxl.h40:./mtxl.h41: DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^:error 40: unknown type name 'DEVICE_TYPE' ^ DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);:41:void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^: 64:28: error: unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE' ^Inquiry_T *RequestInquiry( DEVICE_TYPE fd,./mtxl.h :40:41: error: ./mtxl.h:74:33: ^ unknown type name 'DEVICE_TYPE'void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ./mtxl.h:40:void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ 41 ^ error: unknown type name 'DEVICE_TYPE': error: unknown type name 'DEVICE_TYPE' ./mtxl.h./mtxl.h:41:25:void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ :RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,./mtxl.h67 ^ ::./mtxl.h:41:25:29 41error: unknown type name 'DEVICE_TYPE' : ./mtxl.h: error: 41:error: 25unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE':int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,:25 ^: RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^./mtxl.h int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, :81:33error: unknown type name 'DEVICE_TYPE' : ^ errorint SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,: unknown type name 'DEVICE_TYPE' ^ int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ error: unknown type name 'DEVICE_TYPE' ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h./mtxl.h ^:: ./mtxl.h57:57:24:57::24: error24./mtxl.h:57:24: error:: unknown type name 'DEVICE_TYPE' errorint ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);: errorunknown type name 'DEVICE_TYPE' ^./mtxl.h./mtxl.h:: int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);unknown type name 'DEVICE_TYPE' ^81:33: error : : unknown type name 'DEVICE_TYPE' :unknown type name 'DEVICE_TYPE'85 :int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);15 ^ RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ : error: unknown type name 'DEVICE_TYPE' ./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE' ./mtxl.hint Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */: ^ ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ 59:37:./mtxl.h :./mtxl.herror59:37: :./mtxl.herror: unknown type name 'DEVICE_TYPE' :8559:./mtxl.h:86: ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,unknown type name 'DEVICE_TYPE'15::37 ./mtxl.hElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ :error16:: unknown type name 'DEVICE_TYPE' : ^ errorerror: unknown type name 'DEVICE_TYPE':: unknown type name 'DEVICE_TYPE' 64:28:int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ errorint LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ : unknown type name 'DEVICE_TYPE' ^./mtxl.hInquiry_T *RequestInquiry( DEVICE_TYPE fd,: ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,64: ^ ^ ^ 28 : error: unknown type name 'DEVICE_TYPE' ./mtxl.hInquiry_T *RequestInquiry( DEVICE_TYPE fd, ^: 64:28: error: unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:86:RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,16./mtxl.h:87:15 : ^ :./mtxl.h:64 :28: errorerror: ./mtxl.h: :unknown type name 'DEVICE_TYPE'error67: ./mtxl.h29: errorunknown type name 'DEVICE_TYPE' : unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd, :: 67int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^ :./mtxl.hunknown type name 'DEVICE_TYPE'29 RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ : error:74:33:: ^ ./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE' int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ./mtxl.h:87: ^./mtxl.h unknown type name 'DEVICE_TYPE' ./mtxl.h:89RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ::74: ^ 1523:33 error::error: unknown type name 'DEVICE_TYPE' error: : unknown type name 'DEVICE_TYPE' ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' errorRequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ unknown type name 'DEVICE_TYPE': ./mtxl.hunknown type name 'DEVICE_TYPE'int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, : 74:RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ 33: ^RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, error: unknown type name 'DEVICE_TYPE' ^ ^RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ./mtxl.h:81: 33 : error: unknown type name 'DEVICE_TYPE' ^./mtxl.h:88: RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,16 ^ :./mtxl.h error:: unknown type name 'DEVICE_TYPE' ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' 102int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,./mtxl.h ^ ^:: ./mtxl.h:85:812615::33:./mtxl.h:81 error: :33: :error ./mtxl.hunknown type name 'DEVICE_TYPE':: unknown type name 'DEVICE_TYPE' ./mtxl.hint Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */:8589:23error: unknown type name 'DEVICE_TYPE': error : RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ 15: NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ error ^: : unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:85:15: RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */error./mtxl.h:105: : 17 ^ unknown type name 'DEVICE_TYPE' : error: unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ./mtxl.h:86 ^int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, :16: ./mtxl.h ^: ./mtxl.h:85:15:86 ./mtxl.herror: unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE' :int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */16::102:int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */26 error: unknown type name 'DEVICE_TYPE' : error ^ int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */./mtxl.h ^: ^ 86: unknown type name 'DEVICE_TYPE' tapeinfo.c:16:NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, : 103:27 ^error:: unknown type name 'DEVICE_TYPE' ./mtxl.h int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */error:./mtxl.h :87:./mtxl.h: 15unknown type name 'DEVICE_TYPE' ^ :87:15: error: unknown type name 'DEVICE_TYPE' 86int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ :: error: unknown type name 'DEVICE_TYPE' 16./mtxl.h:105::int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */17 ^ : error: unknown type name 'DEVICE_TYPE' ./mtxl.herror:: int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 87 ./mtxl.h:88:15: error: unknown type name 'DEVICE_TYPE' ^ unknown type name 'DEVICE_TYPE':16: tapeinfo.c:247:42./mtxl.h:88int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^error : unknown type name 'DEVICE_TYPE' : error: : ^16int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ unknown type name 'DEVICE_TYPE': ^ mtxl.cerrorstatic TapeCapacity *RequestTapeCapacity(DEVICE_TYPE fd, RequestSense_T *sense):99:27:: unknown type name 'DEVICE_TYPE' ^ ./mtxl.herrorint LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */:./mtxl.h: : ^87:15./mtxl.h: 89:88:16: unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense)23int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */: ^ tapeinfo.c ^: error: unknown type name 'DEVICE_TYPE' int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ :./mtxl.h:89:23: error347error: : :unknown type name 'DEVICE_TYPE'50: unknown type name 'DEVICE_TYPE' RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */error: ^ unknown type name 'DEVICE_TYPE' ^RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ ./mtxl.hstatic struct tapealert_struct *RequestTapeAlert(DEVICE_TYPE fd, RequestSense_T *sense) :88:16: error: unknown type name 'DEVICE_TYPE' int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ mtxl.c:287:17: error ^ : unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' ^./mtxl.h :102:26: 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, ^ NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ fatal error./mtxl.h ^ :89:23: :too many errors emitted, stopping now [-ferror-limit=] error: unknown type name 'DEVICE_TYPE' mtxl.c:320:27: error: unknown type name 'DEVICE_TYPE' RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */NSM_Result_T *RecNSMHack( DEVICE_TYPE MediumChangerFD, ^ ^ ./mtxl.h:105./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' :./mtxl.h17NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ::105 :17: ^error : unknown type name 'DEVICE_TYPE' error./mtxl.h:102:26: 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=] NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, unknown type name 'DEVICE_TYPE' ^int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ ^ 20 errors generated. ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ scsieject.c:44:8: error: unknown type name '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; ^ scsieject.c:44:32: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ ./mtxl.h:105:17mtx.c::88scsitape.c ::error3974: :18: error: use of undeclared identifier 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' error 8:s generated. gmake: *** [: tapeinfo.o] Error 1 int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, gmake: *** Waiting for unfinished jobs.... static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ error: unknown type name 'DEVICE_TYPE' ^static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ 20 errors generated. loaderinfo.c:43:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE MediumChangerFD; /* historic purposes... */ ^ scsitape.c:74:39: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ gmake: *** [: scsieject.o] Error 1 loaderinfo.c:139:27: error: unknown type name 'DEVICE_TYPE' static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ loaderinfo.c:201:13: error: unknown type name 'DEVICE_TYPE' 18 errors generated. *mode_sense(DEVICE_TYPE fd, char pagenum, int alloc_len, RequestSense_T *RequestSense) ^ scsitape.c:572:16: error: unknown type name 'DEVICE_TYPE' int SCSI_readt(DEVICE_TYPE fd, char * buf, unsigned int bufsize, unsigned int *len, unsigned int timeout) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake: *** [: mtxl.o] Error 1 gmake: *** [: mtx.o] Error 1 20 errors generated. gmake: *** [: loaderinfo.o] Error 1 gmake: *** [: scsitape.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