=> 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 scsieject.c:26: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' In file included from loaderinfo.c:41: ./mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ In file included from mtx.c:40: ./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:40:41In file included from tapeinfo.c:52./mtxl.h:41:25./mtxl.h:: :40::41: error./mtxl.h error: :39:error: unknown type name 'DEVICE_TYPE'1: unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE': int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, error: unknown type name 'DEVICE_TYPE' void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD);DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ^ ^void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ ^ ./mtxl.h:41:25: error./mtxl.h: unknown type name 'DEVICE_TYPE' :40:41: error: unknown type name 'DEVICE_TYPE' int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^./mtxl.hvoid SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ ./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE' :57int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ :./mtxl.h:41:2524: error: unknown type name 'DEVICE_TYPE' ./mtxl.h: error: unknown type name 'DEVICE_TYPE' int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ^ :./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE' 57:24: error: unknown type name 'DEVICE_TYPE'./mtxl.h:59:37: error ./mtxl.h:: unknown type name 'DEVICE_TYPE'57:int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); 24:int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); ^ ^ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ 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' 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:59./mtxl.h:67:./mtxl.h::3729:59: error:37./mtxl.h: :: unknown type name 'DEVICE_TYPE' errorRequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ error: : unknown type name 'DEVICE_TYPE' 74unknown type name 'DEVICE_TYPE' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD,:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD,ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^ ^ ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE' Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^ ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^ ./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:81:33: error: Inquiry_T *RequestInquiry( DEVICE_TYPE fd,unknown type name 'DEVICE_TYPE' ./mtxl.h RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^: ^ 86:16: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:74:33: int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */error ^ : unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ ./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:74:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:87:15: ./mtxl.herror:./mtxl.h:81: ./mtxl.hunknown type name 'DEVICE_TYPE': In file included from scsitape.c87:15: error: ::33: errorunknown type name 'DEVICE_TYPE' int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^ 4381: ./mtxl.h: :39 ^ :33: unknown type name 'DEVICE_TYPE' :1:In file included from error error: unknown type name 'DEVICE_TYPE' mtxl.cRequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD,DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); :30: ./mtxl.h: :./mtxl.h:39 ^ unknown type name 'DEVICE_TYPE':1: 88:16 : error: unknown type name 'DEVICE_TYPE' errorint LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */^ : RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ unknown type name 'DEVICE_TYPE' ^ DEVICE_TYPE SCSI_OpenDevice(char *DeviceName); ./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE' ^ ./mtxl.h:85:15: int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */error: unknown type name 'DEVICE_TYPE' ^ ./mtxl.h:40:int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */./mtxl.h: 41./mtxl.h89:: error: unknown type name 'DEVICE_TYPE' :23: ^ void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); 85 error: unknown type name 'DEVICE_TYPE' ^./mtxl.hRequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ :40:41: ^:15 error : unknown type name 'DEVICE_TYPE'./mtxl.h:89: : error: void SCSI_CloseDevice(char *DeviceName, DEVICE_TYPE DeviceFD); ^ unknown type name 'DEVICE_TYPE'23: error ./mtxl.h: int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */unknown type name 'DEVICE_TYPE': ^ ./mtxl.h86:41:25: error: unknown type name 'DEVICE_TYPE' RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */: ./mtxl.hint SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, ^ ./mtxl.h:1641:25: error ^: : unknown type name 'DEVICE_TYPE' : error: unknown type name 'DEVICE_TYPE' int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD,int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ ^ ^ ./mtxl.h:86:102./mtxl.h:57:16:24:26: error ./mtxl.herror: : error: : unknown type name 'DEVICE_TYPE' unknown type name 'DEVICE_TYPE' :int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);unknown type name 'DEVICE_TYPE' ^ ^./mtxl.h:87: 102:2615 :NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^./mtxl.h:57 :24 error: unknown type name 'DEVICE_TYPE': error: : unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, error: unknown type name 'DEVICE_TYPE'int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ./mtxl.h ^ ^ :87:./mtxl.hint ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense);: 59./mtxl.h::105:3717: ^ error: unknown type name 'DEVICE_TYPE'15: error : error: : ./mtxl.h:88:unknown type name 'DEVICE_TYPE'int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, 16: error: unknown type name 'DEVICE_TYPE' ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ^unknown type name 'DEVICE_TYPE'int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^ ^./mtxl.h: int StartStop(DEVICE_TYPE fd, int bStart); /* start/stop device */ ^105:17: error: ./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, ^ mtx.c:88:8: error: unknown type name 'DEVICE_TYPE'./mtxl.h:unknown type name 'DEVICE_TYPE'64:28./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'./mtxl.h static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^: int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, :67:29: error: unknown type name 'DEVICE_TYPE' ^error: unknown type name 'DEVICE_TYPE'int LockUnlock(DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ ^./mtxl.h:89: RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, Inquiry_T *RequestInquiry( DEVICE_TYPE fd, ^ 23: error: unknown type name 'DEVICE_TYPE' ^ RequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ ^ mtx.c:88:39: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ scsieject.c:44:8: error: unknown type name 'DEVICE_TYPE' static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ^ ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' ./mtxl.hRequestSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */:67:29: error: unknown type name 'DEVICE_TYPE' ^ RequestSense_T *MoveMedium( DEVICE_TYPE MediumChangerFD, ^ scsieject.c:44:32: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE DeviceFD = (DEVICE_TYPE) -1; ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' ^./mtxl.h :74:33: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, ^ ^ ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' ./mtxl.hNSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, : 74 ^ :33: error: unknown type name 'DEVICE_TYPE' 18 errors generated. RequestSense_T *ExchangeMedium( 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:81:33: error: unknown type name 'DEVICE_TYPE' 18 errors generated. RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ loaderinfo.c:43:1: error: unknown type name 'DEVICE_TYPE' DEVICE_TYPE MediumChangerFD; /* historic purposes... */ ^ ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, ^ ./mtxl.h:./mtxl.hloaderinfo.c:10585:15:::139 error: unknown type name 'DEVICE_TYPE' 17::./mtxl.h: 85:27: int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */ ^error 15: error: unknown type name 'DEVICE_TYPE' error: : unknown type name 'DEVICE_TYPE' int Inventory(DEVICE_TYPE MediumChangerFD); /* inventory library */unknown type name 'DEVICE_TYPE' static void ReportInquiry(DEVICE_TYPE MediumChangerFD) ^ int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ gmake: *** [: scsieject.o] Error 1 ^gmake: *** Waiting for unfinished jobs.... gmake: *** [: mtx.o] Error 1 ./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 */ ^ tapeinfo.c:103: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) ^ ./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 */ ^ tapeinfo.c:247:42: error: unknown type name 'DEVICE_TYPE' ./mtxl.h:88fatal errorstatic TapeCapacity *RequestTapeCapacity(DEVICE_TYPE fd, RequestSense_T *sense) :16: error: unknown type name 'DEVICE_TYPE' : ^ too many errors emitted, stopping now [-ferror-limit=] 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:102:26: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, ^ tapeinfo.c20 errors generated. :347:50: error: unknown type name 'DEVICE_TYPE' static struct tapealert_struct *RequestTapeAlert(DEVICE_TYPE fd, RequestSense_T *sense) ^ ./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, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ./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) ^ gmake: *** [: loaderinfo.o] Error 1 scsitape.c:74:8: error: unknown type name 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ 20 errors generated. mtxl.c:287:17: error: unknown type name 'DEVICE_TYPE' int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, ^ scsitape.c:74:39: error: use of undeclared identifier 'DEVICE_TYPE' static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; ^ mtxl.c:320:27: error: unknown type name 'DEVICE_TYPE' NSM_Result_T *RecNSMHack( DEVICE_TYPE MediumChangerFD, ^ gmake: *** [: tapeinfo.o] Error 1 fatal error: too many errors emitted, stopping now [-ferror-limit=] 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=] 20 errors generated. 20 errors generated. gmake: *** [: scsitape.o] Error 1 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