=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xf86-video-apm-1.3.0 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- apm_accel.lo --- --- apm_cursor.lo --- --- apm_dga.lo --- --- apm_driver.lo --- --- apm_accel.lo --- CC apm_accel.lo --- apm_cursor.lo --- CC apm_cursor.lo --- apm_dga.lo --- CC apm_dga.lo --- apm_driver.lo --- CC apm_driver.lo --- apm_dga.lo --- In file included from apm_dga.c:14:0: apm.h:93:5: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ --- apm_accel.lo --- In file included from apm_accel.c:6:0: apm.h:93:5: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ apm.h:95:5: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- apm_dga.lo --- apm.h:95:5: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- apm_driver.lo --- In file included from apm_driver.c:6:0: apm.h:93:5: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ apm.h:95:5: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- apm_cursor.lo --- In file included from apm_cursor.c:17:0: apm.h:93:5: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ apm.h:95:5: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- apm_dga.lo --- apm_dga.c: In function 'ApmDGAInit': apm_dga.c:232:11: warning: implicit declaration of function 'DGAInit'; did you mean 'ApmDGAInit'? [-Wimplicit-function-declaration] return DGAInit(pScreen, &ApmDGAFuncs, modes, num); ^~~~~~~ ApmDGAInit --- apm_accel.lo --- *** [apm_accel.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0/src --- apm_cursor.lo --- *** [apm_cursor.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0/src --- apm_dga.lo --- *** [apm_dga.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0/src --- apm_driver.lo --- apm_driver.c: In function 'ApmProbe': apm_driver.c:270:9: warning: implicit declaration of function 'xf86GetPciVideoInfo'; did you mean 'xf86GetEntityInfo'? [-Wimplicit-function-declaration] if (xf86GetPciVideoInfo() == NULL) { ^~~~~~~~~~~~~~~~~~~ xf86GetEntityInfo apm_driver.c:270:31: warning: comparison between pointer and integer if (xf86GetPciVideoInfo() == NULL) { ^~ apm_driver.c:274:15: warning: implicit declaration of function 'xf86MatchPciInstances'; did you mean 'xf86MatchDevice'? [-Wimplicit-function-declaration] numUsed = xf86MatchPciInstances(APM_NAME, PCI_VENDOR_ALLIANCE, ^~~~~~~~~~~~~~~~~~~~~ xf86MatchDevice apm_driver.c:288:19: warning: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Wimplicit-function-declaration] if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], ^~~~~~~~~~~~~~~~~~~ xf86ConfigFbEntity apm_driver.c:288:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], ^ apm_driver.c: In function 'ApmPreInit': apm_driver.c:391:18: warning: implicit declaration of function 'xf86GetPciInfoForEntity'; did you mean 'xf86GetDevFromEntity'? [-Wimplicit-function-declaration] pApm->PciInfo = xf86GetPciInfoForEntity(pEnt->index); ^~~~~~~~~~~~~~~~~~~~~~~ xf86GetDevFromEntity apm_driver.c:393:17: warning: implicit declaration of function 'pciTag' [-Wimplicit-function-declaration] pApm->PciTag = pciTag(pApm->PciInfo->bus, pApm->PciInfo->device, ^~~~~~ apm_driver.c:393:37: error: invalid type argument of '->' (have 'int') pApm->PciTag = pciTag(pApm->PciInfo->bus, pApm->PciInfo->device, ^~ apm_driver.c:393:57: error: invalid type argument of '->' (have 'int') pApm->PciTag = pciTag(pApm->PciInfo->bus, pApm->PciInfo->device, ^~ apm_driver.c:394:19: error: invalid type argument of '->' (have 'int') pApm->PciInfo->func); ^~ apm_driver.c:398:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] pApm->PciInfo = NULL; ^ In file included from apm.h:2:0, from apm_driver.c:6: apm_pcirename.h:41:46: error: invalid type argument of '->' (have 'int') #define PCI_DEV_DEVICE_ID(_pcidev) ((_pcidev)->chipType) ^ apm_driver.c:624:22: note: in expansion of macro 'PCI_DEV_DEVICE_ID' pApm->Chipset = PCI_DEV_DEVICE_ID(pApm->PciInfo); ^~~~~~~~~~~~~~~~~ apm_pcirename.h:42:46: error: invalid type argument of '->' (have 'int') #define PCI_DEV_REVISION(_pcidev) ((_pcidev)->chipRev) ^ apm_driver.c:640:25: note: in expansion of macro 'PCI_DEV_REVISION' pApm->ChipRev = PCI_DEV_REVISION(pApm->PciInfo); ^~~~~~~~~~~~~~~~ apm_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ apm_driver.c:664:28: note: in expansion of macro 'PCI_REGION_BASE' pApm->LinAddress = PCI_REGION_BASE(pApm->PciInfo, 0, REGION_MEM) & 0xFF800000; ^~~~~~~~~~~~~~~ apm_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ apm_driver.c:664:28: note: in expansion of macro 'PCI_REGION_BASE' pApm->LinAddress = PCI_REGION_BASE(pApm->PciInfo, 0, REGION_MEM) & 0xFF800000; ^~~~~~~~~~~~~~~ apm_driver.c:699:5: warning: implicit declaration of function 'xf86RegisterResources' [-Wimplicit-function-declaration] xf86RegisterResources(pEnt->index, NULL, ResNone); ^~~~~~~~~~~~~~~~~~~~~ apm_driver.c:699:46: error: 'ResNone' undeclared (first use in this function); did you mean 'XvNone'? xf86RegisterResources(pEnt->index, NULL, ResNone); ^~~~~~~ XvNone apm_driver.c:699:46: note: each undeclared identifier is reported only once for each function it appears in apm_driver.c:700:5: warning: implicit declaration of function 'xf86SetOperatingState'; did you mean 'xf86SetBackingStore'? [-Wimplicit-function-declaration] xf86SetOperatingState(resVga, pEnt->index, ResDisableOpr); ^~~~~~~~~~~~~~~~~~~~~ xf86SetBackingStore apm_driver.c:700:27: error: 'resVga' undeclared (first use in this function) xf86SetOperatingState(resVga, pEnt->index, ResDisableOpr); ^~~~~~ apm_driver.c:700:48: error: 'ResDisableOpr' undeclared (first use in this function) xf86SetOperatingState(resVga, pEnt->index, ResDisableOpr); ^~~~~~~~~~~~~ apm_driver.c:701:10: error: 'struct _ScrnInfoRec' has no member named 'racMemFlags' pScrn->racMemFlags = 0; /* For noLinear, access to 0xA0000 */ ^~ apm_driver.c:703:7: error: 'struct _ScrnInfoRec' has no member named 'racIoFlags' pScrn->racIoFlags = 0; ^~ apm_driver.c:705:7: error: 'struct _ScrnInfoRec' has no member named 'racIoFlags' pScrn->racIoFlags = RAC_COLORMAP | RAC_VIEWPORT; ^~ apm_driver.c:705:22: error: 'RAC_COLORMAP' undeclared (first use in this function); did you mean 'RT_COLORMAP'? pScrn->racIoFlags = RAC_COLORMAP | RAC_VIEWPORT; ^~~~~~~~~~~~ RT_COLORMAP apm_driver.c:705:37: error: 'RAC_VIEWPORT' undeclared (first use in this function); did you mean '_X_EXPORT'? pScrn->racIoFlags = RAC_COLORMAP | RAC_VIEWPORT; ^~~~~~~~~~~~ _X_EXPORT apm_driver.c:716:11: warning: implicit declaration of function 'xf86MapPciMem' [-Wimplicit-function-declaration] LinMap = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ^~~~~~~~~~~~~ apm_driver.c:716:43: error: 'VIDMEM_MMIO' undeclared (first use in this function) LinMap = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ^~~~~~~~~~~ apm_driver.c:756:2: warning: implicit declaration of function 'xf86UnMapVidMem' [-Wimplicit-function-declaration] xf86UnMapVidMem(pScrn->scrnIndex, (pointer)LinMap, pApm->LinMapSize); ^~~~~~~~~~~~~~~ apm_driver.c: In function 'ApmMapMem': apm_driver.c:1055:52: error: 'VIDMEM_FRAMEBUFFER' undeclared (first use in this function) pApm->LinMap = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, ^~~~~~~~~~~~~~~~~~ *** [apm_driver.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0/src 4 errors make[2]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0/src *** [all-recursive] Error code 1 make[1]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0 1 error make[1]: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0 *** [all] Error code 2 make: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0 1 error make: stopped in /tmp/x11/xf86-video-apm/work/xf86-video-apm-1.3.0 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-apm *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-apm