+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-s3virge-1.11.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-s3virge-1.11.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xf86-video-s3virge-1.11.0 --- all --- /usr/pkg/bin/bmake 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_dga.lo --- CC s3v_dga.lo --- s3v_driver.lo --- CC s3v_driver.lo --- s3v_dac.lo --- CC s3v_dac.lo --- s3v_accel.lo --- In file included from s3v_accel.c:32: s3v.h:287:3: error: unknown type name 'pciVideoPtr' 287 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' 289 | PCITAG PciTag; | ^~~~~~ --- s3v_dga.lo --- In file included from s3v_dga.c:65: s3v.h:287:3: error: unknown type name 'pciVideoPtr' 287 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' 289 | PCITAG PciTag; | ^~~~~~ s3v_dga.c: In function 'S3VDGAInit': --- s3v_driver.lo --- In file included from s3v_driver.c:61: s3v.h:287:3: error: unknown type name 'pciVideoPtr' 287 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' 289 | PCITAG PciTag; | ^~~~~~ --- s3v_dga.lo --- s3v_dga.c:229:11: warning: implicit declaration of function 'DGAInit'; did you mean 'S3VDGAInit'? [-Wimplicit-function-declaration] 229 | return DGAInit(pScreen, &S3V_DGAFuncs, modes, num); | ^~~~~~~ | S3VDGAInit In file included from s3v.h:30, from s3v_dga.c:65: s3v_dga.c: In function 'S3V_OpenFramebuffer': s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_dga.c:340:39: note: in expansion of macro 'PCI_REGION_BASE' 340 | *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') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_dga.c:340:39: note: in expansion of macro 'PCI_REGION_BASE' 340 | *mem = (unsigned char*)(uintptr_t)PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); | ^~~~~~~~~~~~~~~ --- s3v_driver.lo --- s3v_driver.c: In function 'find_bios_string': s3v_driver.c:329:11: warning: implicit declaration of function 'xf86ReadDomainMemory' [-Wimplicit-function-declaration] 329 | if (xf86ReadDomainMemory(ps3v->PciTag, BIOSbase, BIOS_BSIZE, bios) != BIOS_BSIZE) | ^~~~~~~~~~~~~~~~~~~~ --- s3v_dga.lo --- *** [s3v_dga.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src --- s3v_accel.lo --- *** [s3v_accel.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/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] 427 | if (xf86GetPciVideoInfo() == NULL) { | ^~~~~~~~~~~~~~~~~~~ | xf86GetEntityInfo s3v_driver.c:427:31: warning: comparison between pointer and integer 427 | if (xf86GetPciVideoInfo() == NULL) { | ^~ s3v_driver.c:432:15: warning: implicit declaration of function 'xf86MatchPciInstances' [-Wimplicit-function-declaration] 432 | numUsed = xf86MatchPciInstances(S3VIRGE_NAME, PCI_S3_VENDOR_ID, | ^~~~~~~~~~~~~~~~~~~~~ s3v_driver.c:446:15: warning: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Wimplicit-function-declaration] 446 | if ((pScrn = xf86ConfigPciEntity(pScrn,0,usedChips[i], | ^~~~~~~~~~~~~~~~~~~ | xf86ConfigFbEntity s3v_driver.c:446:13: warning: assignment to 'ScrnInfoPtr' {aka 'struct _ScrnInfoRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 446 | 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' 796 | if (pEnt->resources) { | ^~ s3v_driver.c:817:21: warning: implicit declaration of function 'xf86GetPciInfoForEntity' [-Wimplicit-function-declaration] 817 | ps3v->PciInfo = xf86GetPciInfoForEntity(pEnt->index); | ^~~~~~~~~~~~~~~~~~~~~~~ s3v_driver.c:819:5: warning: implicit declaration of function 'xf86RegisterResources' [-Wimplicit-function-declaration] 819 | xf86RegisterResources(pEnt->index,NULL,ResNone); | ^~~~~~~~~~~~~~~~~~~~~ s3v_driver.c:819:44: error: 'ResNone' undeclared (first use in this function) 819 | xf86RegisterResources(pEnt->index,NULL,ResNone); | ^~~~~~~ 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' [-Wimplicit-function-declaration] 820 | xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); | ^~~~~~~~~~~~~~~~~~~~~ s3v_driver.c:820:27: error: 'resVgaIo' undeclared (first use in this function) 820 | xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); | ^~~~~~~~ s3v_driver.c:820:50: error: 'ResUnusedOpr' undeclared (first use in this function) 820 | xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); | ^~~~~~~~~~~~ s3v_driver.c:821:27: error: 'resVgaMem' undeclared (first use in this function) 821 | xf86SetOperatingState(resVgaMem, pEnt->index, ResDisableOpr); | ^~~~~~~~~ s3v_driver.c:821:51: error: 'ResDisableOpr' undeclared (first use in this function) 821 | xf86SetOperatingState(resVgaMem, pEnt->index, ResDisableOpr); | ^~~~~~~~~~~~~ In file included from s3v.h:30, from s3v_driver.c:61: s3v_pcirename.h:41:46: error: invalid type argument of '->' (have 'int') 41 | #define PCI_DEV_DEVICE_ID(_pcidev) ((_pcidev)->chipType) | ^~ s3v_driver.c:840:18: note: in expansion of macro 'PCI_DEV_DEVICE_ID' 840 | ps3v->Chipset = PCI_DEV_DEVICE_ID(ps3v->PciInfo); | ^~~~~~~~~~~~~~~~~ s3v_pcirename.h:42:46: error: invalid type argument of '->' (have 'int') 42 | #define PCI_DEV_REVISION(_pcidev) ((_pcidev)->chipRev) | ^~ s3v_driver.c:849:25: note: in expansion of macro 'PCI_DEV_REVISION' 849 | ps3v->ChipRev = PCI_DEV_REVISION(ps3v->PciInfo); | ^~~~~~~~~~~~~~~~ s3v_driver.c:875:20: warning: implicit declaration of function 'pciTag' [-Wimplicit-function-declaration] 875 | ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, | ^~~~~~ s3v_driver.c:875:40: error: invalid type argument of '->' (have 'int') 875 | ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, | ^~ s3v_driver.c:875:60: error: invalid type argument of '->' (have 'int') 875 | ps3v->PciTag = pciTag(ps3v->PciInfo->bus, ps3v->PciInfo->device, | ^~ s3v_driver.c:876:19: error: invalid type argument of '->' (have 'int') 876 | ps3v->PciInfo->func); | ^~ s3v_driver.c: In function 'S3VSave': s3v_driver.c:1486:8: warning: implicit declaration of function 'xf86IsPrimaryPci' [-Wimplicit-function-declaration] 1486 | if (xf86IsPrimaryPci(ps3v->PciInfo)) | ^~~~~~~~~~~~~~~~ s3v_driver.c: In function 'S3VMapMem': s3v_driver.c:2184:19: warning: implicit declaration of function 'xf86MapPciMem' [-Wimplicit-function-declaration] 2184 | ps3v->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ps3v->PciTag, | ^~~~~~~~~~~~~ s3v_driver.c:2184:51: error: 'VIDMEM_MMIO' undeclared (first use in this function) 2184 | ps3v->MapBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, ps3v->PciTag, | ^~~~~~~~~~~ In file included from s3v.h:30, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:2185:5: note: in expansion of macro 'PCI_REGION_BASE' 2185 | PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:2185:5: note: in expansion of macro 'PCI_REGION_BASE' 2185 | 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) 2189 | VIDMEM_MMIO_32BIT, | ^~~~~~~~~~~~~~~~~ In file included from s3v.h:30, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:2191:10: note: in expansion of macro 'PCI_REGION_BASE' 2191 | PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) + S3_NEWMMIO_REGBASE, | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:2191:10: note: in expansion of macro 'PCI_REGION_BASE' 2191 | 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) 2216 | ps3v->FBBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~~~~~~~~~~ In file included from s3v.h:30, from s3v_driver.c:61: s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:2217:22: note: in expansion of macro 'PCI_REGION_BASE' 2217 | ps3v->PciTag, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM), | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:2217:22: note: in expansion of macro 'PCI_REGION_BASE' 2217 | ps3v->PciTag, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM), | ^~~~~~~~~~~~~~~ s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:2245:24: note: in expansion of macro 'PCI_REGION_BASE' 2245 | pScrn->memPhysBase = PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:2245:24: note: in expansion of macro 'PCI_REGION_BASE' 2245 | pScrn->memPhysBase = PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM); | ^~~~~~~~~~~~~~~ --- s3v_dac.lo --- In file included from s3v_dac.c:42: s3v.h:287:3: error: unknown type name 'pciVideoPtr' 287 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ s3v.h:289:3: error: unknown type name 'PCITAG' 289 | PCITAG PciTag; | ^~~~~~ --- s3v_driver.lo --- s3v_driver.c: In function 'S3VUnmapMem': s3v_driver.c:2293:3: warning: implicit declaration of function 'xf86UnMapVidMem' [-Wimplicit-function-declaration] 2293 | xf86UnMapVidMem(pScrn->scrnIndex, (pointer)ps3v->MapBase, | ^~~~~~~~~~~~~~~ --- s3v_dac.lo --- *** [s3v_dac.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src --- s3v_driver.lo --- In file included from s3v.h:30, from s3v_driver.c:61: s3v_driver.c: In function 'S3VEnableMmio': s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:3561:18: note: in expansion of macro 'PCI_REGION_BASE' 3561 | outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 24); | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:3561:18: note: in expansion of macro 'PCI_REGION_BASE' 3561 | outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 24); | ^~~~~~~~~~~~~~~ s3v_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ s3v_driver.c:3563:18: note: in expansion of macro 'PCI_REGION_BASE' 3563 | outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 16); | ^~~~~~~~~~~~~~~ s3v_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ s3v_driver.c:3563:18: note: in expansion of macro 'PCI_REGION_BASE' 3563 | outb(vgaCRReg, PCI_REGION_BASE(ps3v->PciInfo, 0, REGION_MEM) >> 16); | ^~~~~~~~~~~~~~~ *** [s3v_driver.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src 4 errors bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 1 error bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 1 error bmake: stopped in /home/pbulk/build/x11/xf86-video-s3virge/work/xf86-video-s3virge-1.11.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-s3virge *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-s3virge