=> "/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 mtx.c:40: ./mtxl.h:39In file included from mtxl.c:30:1: error: unknown type name 'DEVICE_TYPE' : ./mtxl.h:39: 139: | DEVICE_TY error: unknown type name 'DEVICE_TYPE' PE SCSI_Op e39n | DDeEvViIcCeE(_cThYaPrE *SDCeSvIi_cOepNeanmDee)v;i c e| (^c har *DeviceName); | ^ ./mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE' 40 | void SCSI_CloseDevice(char *DeviceName, DEVICE./mtxl.h_TY:P40E: 41D:e verror: iunknown type name 'DEVICE_TYPE'c eF 40 | vDoi)d SCSI_CloseDevice(; | ^ char *DeviceName, DEVICE_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 ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSen./mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE' se); | ^ 57 | int ClearUnitAttention(DEVICE_TYPE fd, RequestSense_T *RequestSense); | ^ ./mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE' 59 | ElementStatus_T *ReadElementStatus( DEVICE_TYPE MediumChangerFD, ./mtxl.h :| 59 ^: 37: 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( ./mtxl.hD:E64V:I28C:E _error: Tunknown type name 'DEVICE_TYPE'Y PE fd , 64 | | ^I nquiry_T *RequestInquiry( DEVICE_TYPE fd, | ^ ./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' 67 | RequestSense_T *MoveMedium( DEVICE_TYPE MediumCh./mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE' 67 | RequestSense_T *MoveMedium(a DnEVICE_TYPE MediumChangerFD, | ^ gerFD, | ^ ./mtxl.h./mtxl.h::7474::3333:: error: error: unknown type name 'DEVICE_TYPE'unknown type name 'DEVICE_TYPE' 74 | 74R | eRqeuqeusetsSteSnesnes_eT_ T* E*xEcxhcahnagnegMeeMdeidum( DEVICE_TYPE MediumChanium( gDEVeIrCFED_,T Y P| E ^ MediumChangerFD, | ^ ./mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE' 81 | RequestSense_T *PositionElement(DEVICE_TYPE Medi./mtxl.hu:mChangerFD, | ^ 81:33: error: unknown type name 'DEVICE_TYPE' 81 | RequestSense_T *PositionElement(DEVICE_TYPE MediumChangerFD, | ^ ./mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE' 85 | int Inventory(DEVICE_TYPE MediumChangerFD); /* inve./mtxl.h:85:15:ntory librar yerror: unknown type name 'DEVICE_TYPE'* / | 85 | int Inventory(DEVICE_TYPE MediumChangerFD); /* ^ inventory library */ | ^ ./mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE' 86./mtxl.h | :86:i16n:t error: Lunknown type name 'DEVICE_TYPE'o ad 86 | int Unload(DEVICELoadUnload(DEVICE_TYPE f_TdY,P Ei nft bLoad); /* load/und, int bLoad); /* loald/unloaoda tape, magazind tape, magazein or die or disc */ | ^ sc */ | ^ ./mtxl.h:87:15: ./mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE' 87 | ierror: nt StartStunknown type name 'DEVICE_TYPE' op( D87E | ViInCtE _STtYaPrEt Sftodp,( DiEnVtI CbES_tTaYrPtE) ;f d, i/nt b* start/stop deviStart); /* start/stocp deev ice */ | ^ */ | ^ ./mtxl.h:./mtxl.h88::8816:: 16error: :unknown type name 'DEVICE_TYPE' error: unknown type name 'DEVICE_TYPE' 88 | i88n | ti nLto cLkoUcnklUonclko(cDkE(VDIECVEI_CTEY_PTEYPE fd, int bLock); /* lo ck/unlfodc,k int bLoc medium in device k*)/; /| * ^ lock/unlock medium in device */ | ^ ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' 89 | RequestSense_T *Erase(DEVICE_TYPE fd); ./mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE' /* send SHORT erase t89 | oRe questSense_T *Edrarsiev(eD E*V/I C E| _ ^T YPE 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, | ^ mtxl.c:99:27: error: unknown type name 'DEVICE_TYPE' 99 | Inquiry_T *RequestInquiry(DEVICE_TYPE fd, RequestSense_T *RequestSense) | ^ mtx.c:88:8: error: unknown type name 'DEVICE_TYPE' 88 | static DEVICE_TYPE MediumChangerFD = (DEVICE_TYPE) -1; | ^ 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, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 18 errors generated. 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