+ 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-voodoo-1.2.5nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-voodoo-1.2.5nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xf86-video-voodoo-1.2.5nb2 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- voodoo_dga.lo --- --- voodoo_driver.lo --- --- voodoo_hardware.lo --- --- voodoo_dga.lo --- CC voodoo_dga.lo --- voodoo_hardware.lo --- CC voodoo_hardware.lo --- voodoo_driver.lo --- CC voodoo_driver.lo --- voodoo_hardware.lo --- In file included from voodoo_hardware.c:45: /home/pbulk/build/x11/xf86-video-voodoo/work/.x11-buildlink/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] 50 | #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." | ^~~~~~~ In file included from voodoo_hardware.c:56: voodoo.h:25:3: error: unknown type name 'pciVideoPtr' 25 | pciVideoPtr PciInfo; /* PCI data */ | ^~~~~~~~~~~ voodoo.h:27:3: error: unknown type name 'PCITAG' 27 | PCITAG PciTag; | ^~~~~~ In file included from voodoo.h:1, from voodoo_hardware.c:56: voodoo_hardware.c: In function 'pci_enable': voodoo_pcirename.h:75:21: warning: implicit declaration of function 'pciReadLong' [-Wimplicit-function-declaration] 75 | *(_value_ptr) = pciReadLong(PCI_CFG_TAG(_pcidev), (_offset)) | ^~~~~~~~~~~ voodoo_hardware.c:170:2: note: in expansion of macro 'PCI_READ_LONG' 170 | PCI_READ_LONG(pVoo->PciInfo, &x, 0x40); | ^~~~~~~~~~~~~ voodoo_pcirename.h:55:34: error: 'pciConfigPtr' undeclared (first use in this function) 55 | #define PCI_CFG_TAG(_pcidev) (((pciConfigPtr)(_pcidev)->thisCard)->tag) | ^~~~~~~~~~~~ voodoo_pcirename.h:75:33: note: in expansion of macro 'PCI_CFG_TAG' 75 | *(_value_ptr) = pciReadLong(PCI_CFG_TAG(_pcidev), (_offset)) | ^~~~~~~~~~~ voodoo_hardware.c:170:2: note: in expansion of macro 'PCI_READ_LONG' 170 | PCI_READ_LONG(pVoo->PciInfo, &x, 0x40); | ^~~~~~~~~~~~~ voodoo_pcirename.h:55:34: note: each undeclared identifier is reported only once for each function it appears in 55 | #define PCI_CFG_TAG(_pcidev) (((pciConfigPtr)(_pcidev)->thisCard)->tag) | ^~~~~~~~~~~~ voodoo_pcirename.h:75:33: note: in expansion of macro 'PCI_CFG_TAG' 75 | *(_value_ptr) = pciReadLong(PCI_CFG_TAG(_pcidev), (_offset)) | ^~~~~~~~~~~ voodoo_hardware.c:170:2: note: in expansion of macro 'PCI_READ_LONG' 170 | PCI_READ_LONG(pVoo->PciInfo, &x, 0x40); | ^~~~~~~~~~~~~ voodoo_pcirename.h:78:5: warning: implicit declaration of function 'pciWriteLong' [-Wimplicit-function-declaration] 78 | pciWriteLong(PCI_CFG_TAG(_pcidev), (_offset), (_value)) | ^~~~~~~~~~~~ voodoo_hardware.c:175:2: note: in expansion of macro 'PCI_WRITE_LONG' 175 | PCI_WRITE_LONG(pVoo->PciInfo, x, 0x40); | ^~~~~~~~~~~~~~ voodoo_hardware.c: In function 'vclock_enable': voodoo_pcirename.h:55:34: error: 'pciConfigPtr' undeclared (first use in this function) 55 | #define PCI_CFG_TAG(_pcidev) (((pciConfigPtr)(_pcidev)->thisCard)->tag) | ^~~~~~~~~~~~ voodoo_pcirename.h:78:18: note: in expansion of macro 'PCI_CFG_TAG' 78 | pciWriteLong(PCI_CFG_TAG(_pcidev), (_offset), (_value)) | ^~~~~~~~~~~ voodoo_hardware.c:185:3: note: in expansion of macro 'PCI_WRITE_LONG' 185 | PCI_WRITE_LONG(pVoo->PciInfo, 0, 0xc0); | ^~~~~~~~~~~~~~ *** [voodoo_hardware.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5/src --- voodoo_dga.lo --- In file included from voodoo_dga.c:44: /home/pbulk/build/x11/xf86-video-voodoo/work/.x11-buildlink/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] 50 | #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." | ^~~~~~~ In file included from voodoo_dga.c:54: voodoo.h:25:3: error: unknown type name 'pciVideoPtr' 25 | pciVideoPtr PciInfo; /* PCI data */ | ^~~~~~~~~~~ voodoo.h:27:3: error: unknown type name 'PCITAG' 27 | PCITAG PciTag; | ^~~~~~ voodoo_dga.c: In function 'VoodooDGAInit': voodoo_dga.c:186:13: warning: implicit declaration of function 'DGAInit' [-Wimplicit-function-declaration] 186 | return (DGAInit(pScreen, &VoodooDGAFunctions, | ^~~~~~~ *** [voodoo_dga.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5/src --- voodoo_driver.lo --- In file included from voodoo_driver.c:53: /home/pbulk/build/x11/xf86-video-voodoo/work/.x11-buildlink/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] 50 | #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." | ^~~~~~~ In file included from voodoo_driver.c:65: voodoo.h:25:3: error: unknown type name 'pciVideoPtr' 25 | pciVideoPtr PciInfo; /* PCI data */ | ^~~~~~~~~~~ voodoo.h:27:3: error: unknown type name 'PCITAG' 27 | PCITAG PciTag; | ^~~~~~ voodoo_driver.c: In function 'VoodooProbe': voodoo_driver.c:247:9: warning: implicit declaration of function 'xf86GetPciVideoInfo'; did you mean 'xf86GetEntityInfo'? [-Wimplicit-function-declaration] 247 | if (xf86GetPciVideoInfo() ) | ^~~~~~~~~~~~~~~~~~~ | xf86GetEntityInfo voodoo_driver.c:250:12: warning: implicit declaration of function 'xf86MatchPciInstances' [-Wimplicit-function-declaration] 250 | numUsed = xf86MatchPciInstances(VOODOO_NAME, PCI_VENDOR_3DFX, | ^~~~~~~~~~~~~~~~~~~~~ voodoo_driver.c:263:16: warning: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Wimplicit-function-declaration] 263 | if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], | ^~~~~~~~~~~~~~~~~~~ | xf86ConfigFbEntity voodoo_driver.c:263:14: warning: assignment to 'ScrnInfoPtr' {aka 'struct _ScrnInfoRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 263 | if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i], | ^ voodoo_driver.c: In function 'VoodooPreInit': voodoo_driver.c:383:19: warning: implicit declaration of function 'xf86GetPciInfoForEntity' [-Wimplicit-function-declaration] 383 | pVoo->PciInfo = xf86GetPciInfoForEntity(pVoo->pEnt->index); | ^~~~~~~~~~~~~~~~~~~~~~~ voodoo_driver.c:385:18: warning: implicit declaration of function 'pciTag' [-Wimplicit-function-declaration] 385 | pVoo->PciTag = pciTag(pVoo->PciInfo->bus, pVoo->PciInfo->device, pVoo->PciInfo->func); | ^~~~~~ voodoo_driver.c:385:38: error: invalid type argument of '->' (have 'int') 385 | pVoo->PciTag = pciTag(pVoo->PciInfo->bus, pVoo->PciInfo->device, pVoo->PciInfo->func); | ^~ voodoo_driver.c:385:58: error: invalid type argument of '->' (have 'int') 385 | pVoo->PciTag = pciTag(pVoo->PciInfo->bus, pVoo->PciInfo->device, pVoo->PciInfo->func); | ^~ voodoo_driver.c:385:81: error: invalid type argument of '->' (have 'int') 385 | pVoo->PciTag = pciTag(pVoo->PciInfo->bus, pVoo->PciInfo->device, pVoo->PciInfo->func); | ^~ In file included from voodoo.h:1, from voodoo_driver.c:65: voodoo_pcirename.h:62:41: error: invalid type argument of '->' (have 'int') 62 | (((_type) == REGION_MEM) ? (_pcidev)->memBase[(_b)] \ | ^~ voodoo_driver.c:434:20: note: in expansion of macro 'PCI_REGION_BASE' 434 | pVoo->PhysBase = PCI_REGION_BASE(pVoo->PciInfo, 0, REGION_MEM) + 0x400000; | ^~~~~~~~~~~~~~~ voodoo_pcirename.h:63:41: error: invalid type argument of '->' (have 'int') 63 | : (_pcidev)->ioBase[(_b)]) | ^~ voodoo_driver.c:434:20: note: in expansion of macro 'PCI_REGION_BASE' 434 | pVoo->PhysBase = PCI_REGION_BASE(pVoo->PciInfo, 0, REGION_MEM) + 0x400000; | ^~~~~~~~~~~~~~~ voodoo_driver.c:437:16: warning: implicit declaration of function 'xf86MapPciMem' [-Wimplicit-function-declaration] 437 | pVoo->MMIO = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, pVoo->PciTag, | ^~~~~~~~~~~~~ voodoo_driver.c:437:48: error: 'VIDMEM_MMIO' undeclared (first use in this function) 437 | pVoo->MMIO = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_MMIO, pVoo->PciTag, | ^~~~~~~~~~~ voodoo_driver.c:437:48: note: each undeclared identifier is reported only once for each function it appears in voodoo_driver.c:438:22: error: invalid type argument of '->' (have 'int') 438 | pVoo->PciInfo->memBase[0], 0x400000); | ^~ voodoo_driver.c:440:24: error: invalid type argument of '->' (have 'int') 440 | pVoo->PciInfo->memBase[0] + 0x400000, 0x400000); | ^~ voodoo_driver.c: In function 'VoodooScreenInit': voodoo_driver.c:683:3: warning: implicit declaration of function 'miInitializeBackingStore' [-Wimplicit-function-declaration] 683 | miInitializeBackingStore(pScreen); | ^~~~~~~~~~~~~~~~~~~~~~~~ *** [voodoo_driver.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5/src 3 errors bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5 1 error bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5 1 error bmake: stopped in /home/pbulk/build/x11/xf86-video-voodoo/work/xf86-video-voodoo-1.2.5 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-voodoo *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-voodoo