=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/mtx", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mtx-1.3.12nb1 clang -pipe -Os -DVERSION="\"1.3.12\"" -I. -I. -c -o mtx.o mtx.c clang -pipe -Os -DVERSION="\"1.3.12\"" -I. -I. -c -o mtxl.o mtxl.c In file included from mtxl.c:30: ./mtxl.h:39:1In file included from mtx.c::40 : ./mtxl.h:error: 39unknown type name 'DEVICE_TYPE': 1: error: unknown type name 'DEVICE_TYPE' 39 | 39 | DEDVEIVCIEC_ET_YTPYEP ES CSSCISI_OpenDevice(char *DeviceName); | ^ _OpenDevice(char *DeviceName); | ^ ./mtxl.h./mtxl.h::4040::4141:: error: error: unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' 40 | void SCSI_ 40 | voCildo sSeCDSeIv_iCcleo(scehDaerv i*cDee(vcihcaerN a*mDee,v iDcEeVNIaCmEe_,T YDPEEV IDCeEv_iceFD); | ^ TYPE DeviceFD); | ^ ./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE' 41 | int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, | ^ ./mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE' 41 | int SCSI_ExecuteCommand(DEVICE_TYPE DeviceFD, | ^ ./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE' 57 | int./mtxl.h :C57l:e24a:r UnitAttentierror: unknown type name 'DEVICE_TYPE' o n(DEVICE_TYP57E | int Cl eafrd, RequesUnitAttention(DEVICE_TYPE fd, RequesttSeSense_T *RequestSennse_T *se); Reques | ^ tSense); | ^ ./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE' 59 | ElementStatus_T *ReadElementStatus( DEVICE_TYPE./mtxl.h:59:37: MediumChangerFD, | ^ error: unknown type name 'DEVICE_TYPE' 59 | ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE' 64 | Inquiry_T *RequestInquiry( DEVICE_TYPE ./mtxl.hf:64:28: error: unknown type name 'DEVICE_TYPE' 64 | Inqud, | ^ iry_T *RequestInquiry( DEVICE_TYPE fd, | ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' 67 | RequestSens./mtxl.he:_67T: 29*:M oerror: vunknown type name 'DEVICE_TYPE'e Medium (67 | DREeVqIuCeEs_tTSYePnEs eM_eTd i*uMmoCveMedium( hangerFD, DEVICE_TYPE MediumChangerFD,| | ^ ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' 74 | RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE' 74 | RequestSense_T *ExchangeMedium( DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' 81 | RequestSense_T ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' *Po sitionElement(DEVICE81 | R_eTqYuPeE MediumCshtaSnegnesrFD, | ^e_T *Position Element(DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE' 85 | ./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE' 85 | iinnt Inventory(DEVtIC EI_nTvYePnEt oMreyd(iDumChangerFD); E /V*I CiEn_vTeYnPtEo rMyed iluimbCrhaarnyg e*r/F D )| ; ^ /* inventory library */ | ^ ./mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE' 86 | int LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape,./mtxl.h :86:m16a: error: unknown type name 'DEVICE_TYPE' gazi n86e | ionrt disc */ | ^ LoadUnload(DEVICE_TYPE fd, int bLoad); /* load/unload tape, magazine or disc */ | ^ ./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE' 87 | int StartStop(DEVICE_TYPE fd, int bS./mtxl.ht:87:15: error: unknown type name 'DEVICE_TYPE' 87 | int art); /* StartSsttoapr(tD/EsVtIoCpE _dTeYvPiEc ef */ | ^ d, int bStart); /* start/stop device */ | ^ ./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE' 88 | int LockUnlock(DEVICE_TYPE fd, ./mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'int bLock); /* l 88 | iock/nt LockUnloucnklock medium in device */ | ^ (DEVICE_TYPE fd, int bLock); /* lock/unlock medium in device */ | ^ ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' 89 | RequestSense_T *Erase(DEVICE_TYPE fd); /* send ./mtxl.hS:H89O:23: error: unknown type name 'DEVICE_TYPE' RT e 89 | Rerase to drive */ | ^ questSense_T *Erase(DEVICE_TYPE fd); /* send SHORT erase to drive */ | ^ ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' 102 | NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE' 102 | NSM_Result_T *RecNSMHack(DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' 105 | int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, | ^ ./mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE' 105 | int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, | ^ mtx.c:88:8: error: unknown type name 'DEVICE_TYPE' 88 | static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; | ^ mtxl.c:99:27: error: unknown type name 'DEVICE_TYPE' 99 | Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense) | ^ mtx.c:88:39: error: use of undeclared identifier 'DEVICE_TYPE' 88 | static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; | ^ mtxl.c:287:17: error: unknown type name 'DEVICE_TYPE' 287 | int SendNSMHack(DEVICE_TYPE MediumChangerFD, NSM_Param_T *nsm_command, | ^ mtxl.c:320:27: error: unknown type name 'DEVICE_TYPE' 320 | NSM_Result_T *RecNSMHack( DEVICE_TYPE MediumChangerFD, | ^ 18 errors generated. fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake: *** [: mtx.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [: mtxl.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/mtx *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/mtx