=> 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-s3virge-1.11.0 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- s3v_accel.lo --- --- s3v_dac.lo --- --- s3v_dga.lo --- --- s3v_driver.lo --- --- s3v_accel.lo --- CC s3v_accel.lo --- s3v_dac.lo --- CC s3v_dac.lo --- s3v_dga.lo --- CC s3v_dga.lo --- s3v_driver.lo --- CC s3v_driver.lo --- s3v_accel.lo --- In file included from s3v_accel.c:32:0: s3v.h:287:3: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- s3v_dga.lo --- In file included from s3v_dga.c:65:0: s3v.h:287:3: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ s3v_dga.c: In function 'S3VDGAInit': s3v_dga.c:229:11: warning: implicit declaration of function 'DGAInit'; did you mean 'S3VDGAInit'? [-Wimplicit-function-declaration] return DGAInit(pScreen, &S3V_DGAFuncs, modes, num); ^~~~~~~ S3VDGAInit In file included from s3v.h:30:0, from s3v_dga.c:65: s3v_dga.c: In function 'S3V_OpenFramebuffer': --- s3v_accel.lo --- *** [s3v_accel.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src --- s3v_dga.lo --- s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_dga.c:340:39: note: in expansion of macro 'PCI_REGION_BASE' *mem = (unsigned char*)(uintptr_t)PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_dga.c:340:39: note: in expansion of macro 'PCI_REGION_BASE' *mem = (unsigned char*)(uintptr_t)PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); ^~~~~~~~~~~~~~~ --- s3v_driver.lo --- In file included from s3v_driver.c:61:0: s3v.h:287:3: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- s3v_dac.lo --- In file included from s3v_dac.c:42:0: s3v.h:287:3: error: unknown type name 'pciVideoPtr' pciVideoPtr PciInfo; ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' PCITAG PciTag; ^~~~~~ --- s3v_dga.lo --- *** [s3v_dga.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src --- s3v_driver.lo --- s3v_driver.c: In function 'find_bios_string': s3v_driver.c:329:11: warning: implicit declaration of function 'xf86ReadDomainMemory'; did you mean 'xf86BindGARTMemory'? [-Wimplicit-function-declaration] if (xf86ReadDomainMemory(ps3v->PciTag, BIOSbase, BIOS_BSIZE, bios) != BIOS_BSIZE) ^~~~~~~~~~~~~~~~~~~~ xf86BindGARTMemory --- s3v_dac.lo --- *** [s3v_dac.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src --- s3v_driver.lo --- s3v_driver.c: In function 'S3VProbe': s3v_driver.c:427:9: warning: implicit declaration of function 'xf86GetPciVideoInfo'; did you mean 'xf86GetEntityInfo'? [-Wimplicit-function-declaration] if (xf86GetPciVideoInfo() == NULL) { ^~~~~~~~~~~~~~~~~~~ xf86GetEntityInfo s3v_driver.c:427:31: warning: comparison between pointer and integer if (xf86GetPciVideoInfo() == NULL) { ^~ s3v_driver.c:432:15: warning: implicit declaration of function 'xf86MatchPciInstances'; did you mean 'xf86MatchDevice'? [-Wimplicit-function-declaration] numUsed = xf86MatchPciInstances(S3VIRGE_NAME, PCI_S3_VENDOR_ID, ^~~~~~~~~~~~~~~~~~~~~ xf86MatchDevice s3v_driver.c:446:15: warning: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Wimplicit-function-declaration] if ((pScrn = xf86ConfigPciEntity(pScrn,0,usedChips[i], ^~~~~~~~~~~~~~~~~~~ xf86ConfigFbEntity s3v_driver.c:446:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((pScrn = xf86ConfigPciEntity(pScrn,0,usedChips[i], ^ s3v_driver.c: In function 'S3VPreInit': s3v_driver.c:796:13: error: 'struct _entityInfo' has no member named 'resources' if (pEnt->resources) { ^~ s3v_driver.c:817:21: warning: implicit declaration of function 'xf86GetPciInfoForEntity'; did you mean 'xf86GetDevFromEntity'? [-Wimplicit-function-declaration] ps3v->PciInfo = xf86GetPciInfoForEntity(pEnt->index); ^~~~~~~~~~~~~~~~~~~~~~~ xf86GetDevFromEntity s3v_driver.c:819:5: warning: implicit declaration of function 'xf86RegisterResources' [-Wimplicit-function-declaration] xf86RegisterResources(pEnt->index,NULL,ResNone); ^~~~~~~~~~~~~~~~~~~~~ s3v_driver.c:819:44: error: 'ResNone' undeclared (first use in this function); did you mean 'XvNone'? xf86RegisterResources(pEnt->index,NULL,ResNone); ^~~~~~~ XvNone s3v_driver.c:819:44: note: each undeclared identifier is reported only once for each function it appears in s3v_driver.c:820:5: warning: implicit declaration of function 'xf86SetOperatingState'; did you mean 'xf86SetBackingStore'? [-Wimplicit-function-declaration] xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); ^~~~~~~~~~~~~~~~~~~~~ xf86SetBackingStore s3v_driver.c:820:27: error: 'resVgaIo' undeclared (first use in this function) xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); ^~~~~~~~ s3v_driver.c:820:50: error: 'ResUnusedOpr' undeclared (first use in this function) xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); ^~~~~~~~~~~~ s3v_driver.c:821:27: error: 'resVgaMem' undeclared (first use in this function); did you mean 'resVgaIo'? xf86SetOperatingState(resVgaMem, pEnt->index, ResDisableOpr); ^~~~~~~~~ resVgaIo s3v_driver.c:821:51: error: 'ResDisableOpr' undeclared (first use in this function) xf86SetOperatingState(resVgaMem, pEnt->index, ResDisableOpr); ^~~~~~~~~~~~~ In file included from s3v.h:30:0, from s3v_driver.c:61: s3v_pcirename.h:41:46: error: invalid type argument of '->' (have 'int') #define PCI_DEV_DEVICE_ID(_pcidev) ((_pcidev)->chipType) ^ s3v_driver.c:840:18: note: in expansion of macro 'PCI_DEV_DEVICE_ID' ps3v->Chipset = PCI_DEV_DEVICE_ID(ps3v->PciInfo); ^~~~~~~~~~~~~~~~~ s3v_pcirename.h:42:46: error: invalid type argument of '->' (have 'int') #define PCI_DEV_REVISION(_pcidev) ((_pcidev)->chipRev) ^ s3v_driver.c:849:25: note: in expansion of macro 'PCI_DEV_REVISION' ps3v->ChipRev = PCI_DEV_REVISION(ps3v->PciInfo); ^~~~~~~~~~~~~~~~ s3v_driver.c:875:20: warning: implicit declaration of function 'pciTag' [-Wimplicit-function-declaration] ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, ^~~~~~ s3v_driver.c:875:40: error: invalid type argument of '->' (have 'int') ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, ^~ s3v_driver.c:875:60: error: invalid type argument of '->' (have 'int') ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, ^~ s3v_driver.c:876:19: error: invalid type argument of '->' (have 'int') ps3v->PciInfo->func); ^~ s3v_driver.c: In function 'S3VSave': s3v_driver.c:1486:8: warning: implicit declaration of function 'xf86IsPrimaryPci'; did you mean 'xf86scanpci'? [-Wimplicit-function-declaration] if (xf86IsPrimaryPci(ps3v->PciInfo)) ^~~~~~~~~~~~~~~~ xf86scanpci s3v_driver.c: In function 'S3VMapMem': s3v_driver.c:2184:19: warning: implicit declaration of function 'xf86MapPciMem' [-Wimplicit-function-declaration] ps3v->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ps3v->PciTag, ^~~~~~~~~~~~~ s3v_driver.c:2184:51: error: 'VIDMEM_MMIO' undeclared (first use in this function) ps3v->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ps3v->PciTag, ^~~~~~~~~~~ In file included from s3v.h:30:0, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:2185:5: note: in expansion of macro 'PCI_REGION_BASE' PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:2185:5: note: in expansion of macro 'PCI_REGION_BASE' PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, ^~~~~~~~~~~~~~~ s3v_driver.c:2189:10: error: 'VIDMEM_MMIO_32BIT' undeclared (first use in this function); did you mean 'VIDMEM_MMIO'? VIDMEM_MMIO_32BIT, ^~~~~~~~~~~~~~~~~ VIDMEM_MMIO In file included from s3v.h:30:0, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:2191:10: note: in expansion of macro 'PCI_REGION_BASE' PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:2191:10: note: in expansion of macro 'PCI_REGION_BASE' PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, ^~~~~~~~~~~~~~~ s3v_driver.c:2216:54: error: 'VIDMEM_FRAMEBUFFER' undeclared (first use in this function) ps3v->FBBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, ^~~~~~~~~~~~~~~~~~ In file included from s3v.h:30:0, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:2217:22: note: in expansion of macro 'PCI_REGION_BASE' ps3v->PciTag, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM), ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:2217:22: note: in expansion of macro 'PCI_REGION_BASE' ps3v->PciTag, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM), ^~~~~~~~~~~~~~~ s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:2245:24: note: in expansion of macro 'PCI_REGION_BASE' pScrn->memPhysBase = PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:2245:24: note: in expansion of macro 'PCI_REGION_BASE' pScrn->memPhysBase = PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); ^~~~~~~~~~~~~~~ s3v_driver.c: In function 'S3VUnmapMem': s3v_driver.c:2293:3: warning: implicit declaration of function 'xf86UnMapVidMem' [-Wimplicit-function-declaration] xf86UnMapVidMem(pScrn->scrnIndex, (pointer)ps3v->MapBase, ^~~~~~~~~~~~~~~ In file included from s3v.h:30:0, from s3v_driver.c:61: s3v_driver.c: In function 'S3VEnableMmio': s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:3561:18: note: in expansion of macro 'PCI_REGION_BASE' outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 24); ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:3561:18: note: in expansion of macro 'PCI_REGION_BASE' outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 24); ^~~~~~~~~~~~~~~ s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ ^ s3v_driver.c:3563:18: note: in expansion of macro 'PCI_REGION_BASE' outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 16); ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') : (_pcidev)->ioBase[(_b)]) ^ s3v_driver.c:3563:18: note: in expansion of macro 'PCI_REGION_BASE' outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 16); ^~~~~~~~~~~~~~~ *** [s3v_driver.lo] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src 4 errors make[2]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src *** [all-recursive] Error code 1 make[1]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 1 error make[1]: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 *** [all] Error code 2 make: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 1 error make: stopped in /tmp/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-s3virge *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-s3virge