=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg.bulk/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg.bulk/sbin/pkg_admin -K /opt/pkg.bulk/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); ^ In file included from mtxl.c:30: ./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' ./mtxl.hvoid 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); ^ 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:59./mtxl.h:37: error: unknown type name 'DEVICE_TYPE'./mtxl.h:59 :37: error: :unknown type name 'DEVICE_TYPE'40 :41: error: ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,unknown type name 'DEVICE_TYPE' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ ^ ./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' In file included from mtx.c:40: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,./mtxl.h:64:28./mtxl.h:: error: DEVICE_TYPE SCSI_OpenDevice(char *DeviceName);41 ^ ^ :25: error: unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^ ./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE' void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE' int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:./mtxl.h./mtxl.h57:67:29:: In file included from loaderinfo.c:41:: 24: error: unknown type name 'DEVICE_TYPE'In file included from scsieject.c./mtxl.h:39./mtxl.h57:error :: 85:151::24::26: ./mtxl.hRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, error: : unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' error ^DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); :: errorunknown type name 'DEVICE_TYPE' ^ : 39unknown type name 'DEVICE_TYPE':1: error: unknown type name 'DEVICE_TYPE' int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^ ^ DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' ./mtxl.hRequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,:40:41: error: unknown type name 'DEVICE_TYPE' ./mtxl.hvoid SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ ^ ./mtxl.h:86./mtxl.h:59:59:37:16:./mtxl.h:40::37: error41error:: unknown type name 'DEVICE_TYPE' : unknown type name 'DEVICE_TYPE': error: ./mtxl.hunknown type name 'DEVICE_TYPE':41:25int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ error: ^unknown type name 'DEVICE_TYPE' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ :ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.hvoid SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); :81:33error : ^ error: unknown type name 'DEVICE_TYPE' : unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:87:15:./mtxl.h:./mtxl.h:64int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,:28: error: unknown type name 'DEVICE_TYPE'64:28 error: error: int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ unknown type name 'DEVICE_TYPE' ^ : Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ./mtxl.h ^ unknown type name 'DEVICE_TYPE' : ^./mtxl.h:85Inquiry_T *RequestInquiry( DEVICE_TYPE fd,:1541:25: ./mtxl.h:88:16: error:: ^ unknown type name 'DEVICE_TYPE'error error: unknown type name 'DEVICE_TYPE': unknown type name 'DEVICE_TYPE' int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ./mtxl.h:57:int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ 24: error: unknown type name 'DEVICE_TYPE' ^int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' ^./mtxl.h :67:29RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,./mtxl.h:89:23 :: error: unknown type name 'DEVICE_TYPE'error ^ ./mtxl.h:57:: 24unknown type name 'DEVICE_TYPE'./mtxl.h ./mtxl.h RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */: 59::37: error: unknown type name 'DEVICE_TYPE' ^:RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,86 : error: ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ./mtxl.h:74:33: errorunknown type name 'DEVICE_TYPE' ^ : unknown type name 'DEVICE_TYPE' ^int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); 16: error: RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, unknown type name 'DEVICE_TYPE' ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' ^ ^NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ ./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' ./mtxl.h./mtxl.h:105:17RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,: error: :unknown type name 'DEVICE_TYPE' ^ ./mtxl.h 81:int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ./mtxl.h:33./mtxl.h:59:37:: ^ :67:29 error:: 87:15 errorerror./mtxl.h:unknown type name 'DEVICE_TYPE':: : unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' error: ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ mtxl.cRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD,81: :33unknown type name 'DEVICE_TYPE'RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, : error: ^ unknown type name 'DEVICE_TYPE' 99 RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^:27: ^ error: unknown type name 'DEVICE_TYPE' ./mtxl.h:64:28: error Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense) : ^unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^./mtxl.h ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE':85:15 ^ :./mtxl.h :88:16:errorRequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, error: unknown type name 'DEVICE_TYPE' : ^ unknown type name 'DEVICE_TYPE'int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */./mtxl.h:85:15: ^error: unknown type name 'DEVICE_TYPE'./mtxl.h:67int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^ :29: error: unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, mtxl.c ^ :287 : ^./mtxl.h:89:23: error17./mtxl.h: : 86unknown type name 'DEVICE_TYPE' : error: unknown type name 'DEVICE_TYPE' :RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */./mtxl.h:86: 16./mtxl.h:85:16int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ : ^ 15error: unknown type name 'DEVICE_TYPE' :./mtxl.hint LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */: error: unknown type name 'DEVICE_TYPE' :74: ./mtxl.herror ^ :int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ 102:26: error: unknown type name 'DEVICE_TYPE' ^33 :NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, error: unknown type name 'DEVICE_TYPE' mtxl.c:320 ^ int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^./mtxl.h: unknown type name 'DEVICE_TYPE' :87::RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ 1527: : error: error: unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' ./mtxl.h:87:15: NSM_Result_T *RecNSMHack( DEVICE_TYPE MediumChangerFD,int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ error: unknown type name 'DEVICE_TYPE' int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^./mtxl.h ./mtxl.h:81:33:: ^105 : ^ 17: error: ./mtxl.herror:unknown type name 'DEVICE_TYPE' : unknown type name 'DEVICE_TYPE' 86RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,: int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ 16: error: ./mtxl.h ^:fatal error88:unknown type name 'DEVICE_TYPE'16 : too many errors emitted, stopping now [-ferror-limit=] ./mtxl.h:88:16: :error : unknown type name 'DEVICE_TYPE' int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */tapeinfo.c:103: ^ int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ 27: error: unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE'./mtxl.hstatic void ReportInquiry(DEVICE_TYPE MediumChangerFD): 85:15: error: unknown type name 'DEVICE_TYPE' ^int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ ./mtxl.h:89:23: ./mtxl.herror: unknown type name 'DEVICE_TYPE' :int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */87 ^ RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ :15: error: unknown type name 'DEVICE_TYPE' int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ./mtxl.h ^:89:23: error: unknown type name 'DEVICE_TYPE' ./mtxl.hRequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ :tapeinfo.c:247:42: error: unknown type name 'DEVICE_TYPE' 86:16: error: ./mtxl.hunknown type name 'DEVICE_TYPE':102:26: error: unknown type name 'DEVICE_TYPE' static TapeCapacity *RequestTapeCapacity(DEVICE_TYPE fd, RequestSense_T *sense) ^ NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^./mtxl.h:102int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ :./mtxl.h26:88:16: : error: unknown type name 'DEVICE_TYPE' int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ error20 errors generated. : unknown type name 'DEVICE_TYPE' ./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */tapeinfo.c:347:50 : ^ ./mtxl.h:105:17error ^: unknown type name 'DEVICE_TYPE' :static struct tapealert_struct *RequestTapeAlert(DEVICE_TYPE fd, RequestSense_T *sense) ^ error: ./mtxl.hunknown type name 'DEVICE_TYPE':89:23: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:88:RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ 16: error: unknown type name 'DEVICE_TYPE' ./mtxl.h ^:int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ fatal error: too many errors emitted, stopping now [-ferror-limit=] 105 ^ :17: error: unknown type name 'DEVICE_TYPE' mtx.c:88:8: error: unknown type name 'DEVICE_TYPE'int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:89:23: error : unknown type name 'DEVICE_TYPE' gmake: *** [: mtxl.o] Error 1 gmake: *** Waiting for unfinished jobs.... RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ scsitape.c:mtx.c:88:39: error: use of undeclared identifier 'DEVICE_TYPE' 74static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1;: 8 ^ 20 errors generated. : error: unknown type name 'DEVICE_TYPE' loaderinfo.c:43:1: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ DEVICE_TYPE MediumChangerFD; /* historic purposes... */ ^ NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ scsitape.c:74:39: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ loaderinfo.c:139:27: error: unknown type name 'DEVICE_TYPE' static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ gmake: *** [: tapeinfo.o] Error 1 ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' loaderinfo.c:201:13:int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, error: unknown type name 'DEVICE_TYPE' ^ *mode_sense(DEVICE_TYPE fd, char pagenum, int alloc_len, RequestSense_T *RequestSense) ^ 18 errors generated. 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) { ^ scsieject.c:44:8: error: unknown type name 'DEVICE_TYPE' fatal error: too many errors emitted, stopping now [-ferror-limit=]static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ scsieject.c:44:32: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ 20 errors generated. gmake: *** [: mtx.o] Error 1 fatal error: too many errors emitted, stopping now [-ferror-limit=] 18 errors generated. 20 errors generated. gmake: *** [: loaderinfo.o] Error 1 gmake: *** [: scsieject.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