+ 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-ark-0.7.5nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-ark-0.7.5nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xf86-video-ark-0.7.5nb5 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- ark_accel.lo --- --- ark_driver.lo --- CC ark_driver.lo --- ark_accel.lo --- CC ark_accel.lo --- ark_driver.lo --- In file included from ark_driver.c:43: ark.h:38:2: error: unknown type name 'pciVideoPtr' 38 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ ark.h:39:2: error: unknown type name 'PCITAG' 39 | PCITAG PciTag; | ^~~~~~ ark_driver.c: In function 'ARKProbe': ark_driver.c:199:12: warning: implicit declaration of function 'xf86MatchPciInstances' [-Wimplicit-function-declaration] 199 | numUsed = xf86MatchPciInstances("ark", PCI_VENDOR_ARK, | ^~~~~~~~~~~~~~~~~~~~~ ark_driver.c:214:11: warning: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Wimplicit-function-declaration] 214 | pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], ARKPciChipsets, | ^~~~~~~~~~~~~~~~~~~ | xf86ConfigFbEntity ark_driver.c:214:9: warning: assignment to 'ScrnInfoPtr' {aka 'struct _ScrnInfoRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 214 | pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], ARKPciChipsets, | ^ ark_driver.c: In function 'ARKPreInit': ark_driver.c:319:18: warning: implicit declaration of function 'xf86GetPciInfoForEntity' [-Wimplicit-function-declaration] 319 | pARK->PciInfo = xf86GetPciInfoForEntity(pEnt->index); | ^~~~~~~~~~~~~~~~~~~~~~~ ark_driver.c:332:32: error: invalid type argument of '->' (have 'int') 332 | pARK->Chipset = pARK->PciInfo->chipType; | ^~ ark_driver.c:346:32: error: invalid type argument of '->' (have 'int') 346 | pARK->ChipRev = pARK->PciInfo->chipRev; | ^~ ark_driver.c:356:17: warning: implicit declaration of function 'pciTag' [-Wimplicit-function-declaration] 356 | pARK->PciTag = pciTag(pARK->PciInfo->bus, pARK->PciInfo->device, | ^~~~~~ ark_driver.c:356:37: error: invalid type argument of '->' (have 'int') 356 | pARK->PciTag = pciTag(pARK->PciInfo->bus, pARK->PciInfo->device, | ^~ ark_driver.c:356:57: error: invalid type argument of '->' (have 'int') 356 | pARK->PciTag = pciTag(pARK->PciInfo->bus, pARK->PciInfo->device, | ^~ ark_driver.c:357:23: error: invalid type argument of '->' (have 'int') 357 | pARK->PciInfo->func); | ^~ ark_driver.c:367:36: error: invalid type argument of '->' (have 'int') 367 | pScrn->memPhysBase = pARK->PciInfo->memBase[0]; | ^~ ark_driver.c: In function 'ARKModeInit': ark_driver.c:751:27: error: invalid type argument of '->' (have 'int') 751 | new->sr13 = pARK->PciInfo->memBase[0] >> 16; | ^~ ark_driver.c:752:27: error: invalid type argument of '->' (have 'int') 752 | new->sr14 = pARK->PciInfo->memBase[0] >> 24; | ^~ --- ark_accel.lo --- In file included from ark_accel.c:39: ark.h:38:2: error: unknown type name 'pciVideoPtr' 38 | pciVideoPtr PciInfo; | ^~~~~~~~~~~ ark.h:39:2: error: unknown type name 'PCITAG' 39 | PCITAG PciTag; | ^~~~~~ --- ark_driver.lo --- ark_driver.c: In function 'ARKWriteMode': ark_driver.c:978:6: warning: implicit declaration of function 'xf86IsPrimaryPci' [-Wimplicit-function-declaration] 978 | if (xf86IsPrimaryPci(pARK->PciInfo)) | ^~~~~~~~~~~~~~~~ ark_driver.c: In function 'ARKMapMem': ark_driver.c:1025:19: warning: implicit declaration of function 'xf86MapDomainMemory' [-Wimplicit-function-declaration] 1025 | pARK->MMIOBase = xf86MapDomainMemory(pScrn->scrnIndex, VIDMEM_MMIO, | ^~~~~~~~~~~~~~~~~~~ ark_driver.c:1025:57: error: 'VIDMEM_MMIO' undeclared (first use in this function) 1025 | pARK->MMIOBase = xf86MapDomainMemory(pScrn->scrnIndex, VIDMEM_MMIO, | ^~~~~~~~~~~ ark_driver.c:1025:57: note: each undeclared identifier is reported only once for each function it appears in --- ark_accel.lo --- *** [ark_accel.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5/src --- ark_driver.lo --- ark_driver.c:1028:17: warning: implicit declaration of function 'xf86MapPciMem' [-Wimplicit-function-declaration] 1028 | pARK->FBBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~~~~~ ark_driver.c:1028:49: error: 'VIDMEM_FRAMEBUFFER' undeclared (first use in this function) 1028 | pARK->FBBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~~~~~~~~~~ ark_driver.c:1029:37: error: invalid type argument of '->' (have 'int') 1029 | pARK->PciTag, pARK->PciInfo->memBase[0], | ^~ ark_driver.c: In function 'ARKUnmapMem': ark_driver.c:1072:2: warning: implicit declaration of function 'xf86UnMapVidMem' [-Wimplicit-function-declaration] 1072 | xf86UnMapVidMem(pScrn->scrnIndex, pARK->FBBase, | ^~~~~~~~~~~~~~~ *** [ark_driver.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5/src 2 errors bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5 1 error bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5 1 error bmake: stopped in /home/pbulk/build/x11/xf86-video-ark/work/xf86-video-ark-0.7.5 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-ark *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-ark