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