+ 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-qxl-0.1.5nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-qxl-0.1.5nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xf86-video-qxl-0.1.5nb1 --- config.h --- --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in uxa --- uxa.lo --- --- uxa-accel.lo --- --- uxa-glyphs.lo --- --- uxa-render.lo --- --- uxa-glyphs.lo --- CC uxa-glyphs.lo --- uxa-render.lo --- CC uxa-render.lo --- uxa.lo --- CC uxa.lo --- uxa-accel.lo --- CC uxa-accel.lo --- uxa-unaccel.lo --- CC uxa-unaccel.lo --- uxa-damage.lo --- CC uxa-damage.lo --- libuxa.la --- CCLD libuxa.la Making all in spiceccid --- qxl_driver.lo --- --- qxl_image.lo --- --- qxl_surface.lo --- --- qxl_surface_ums.lo --- --- qxl_driver.lo --- CC qxl_driver.lo --- qxl_surface.lo --- CC qxl_surface.lo --- qxl_image.lo --- CC qxl_image.lo --- qxl_surface_ums.lo --- CC qxl_surface_ums.lo --- qxl_driver.lo --- In file included from /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27, from qxl_driver.c:42: /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] 589 | RRSetChanged (ScreenPtr pScreen); | ^~~~~~~~~~~~ /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here 580 | RRSetChanged(ScreenPtr pScreen); | ^~~~~~~~~~~~ --- qxl_surface.lo --- In file included from /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27, from qxl.h:43, from qxl_surface.c:27: /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] 589 | RRSetChanged (ScreenPtr pScreen); | ^~~~~~~~~~~~ /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here 580 | RRSetChanged(ScreenPtr pScreen); | ^~~~~~~~~~~~ --- qxl_driver.lo --- In file included from qxl_driver.c:45: qxl.h:280:5: error: unknown type name 'pciVideoPtr' 280 | pciVideoPtr pci; | ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 281 | PCITAG pci_tag; | ^~~~~~ qxl.h: In function 'ioport_write': qxl.h:637:22: error: 'qxl_screen_t' {aka 'struct _qxl_screen_t'} has no member named 'io' 637 | pci_io_write8(qxl->io, port, val); | ^~ --- qxl_surface.lo --- In file included from qxl_surface.c:27: qxl.h:280:5: error: unknown type name 'pciVideoPtr' 280 | pciVideoPtr pci; | ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 281 | PCITAG pci_tag; | ^~~~~~ --- qxl_image.lo --- In file included from /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27, from qxl.h:43, from qxl_image.c:37: /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] 589 | RRSetChanged (ScreenPtr pScreen); | ^~~~~~~~~~~~ /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here 580 | RRSetChanged(ScreenPtr pScreen); | ^~~~~~~~~~~~ --- qxl_surface.lo --- qxl.h: In function 'ioport_write': qxl.h:637:22: error: 'qxl_screen_t' {aka 'struct _qxl_screen_t'} has no member named 'io' 637 | pci_io_write8(qxl->io, port, val); | ^~ --- qxl_driver.lo --- qxl_driver.c: In function 'unmap_memory_helper': qxl_driver.c:227:2: error: implicit declaration of function 'xf86UnMapVidMem' [-Werror=implicit-function-declaration] 227 | xf86UnMapVidMem (scrnIndex, qxl->ram, (1 << qxl->pci->size[0])); | ^~~~~~~~~~~~~~~ qxl_driver.c:227:2: warning: nested extern declaration of 'xf86UnMapVidMem' [-Wnested-externs] qxl_driver.c:227:19: error: 'scrnIndex' undeclared (first use in this function) 227 | xf86UnMapVidMem (scrnIndex, qxl->ram, (1 << qxl->pci->size[0])); | ^~~~~~~~~ qxl_driver.c:227:19: note: each undeclared identifier is reported only once for each function it appears in qxl_driver.c:227:54: error: invalid type argument of '->' (have 'int') 227 | xf86UnMapVidMem (scrnIndex, qxl->ram, (1 << qxl->pci->size[0])); | ^~ qxl_driver.c:229:55: error: invalid type argument of '->' (have 'int') 229 | xf86UnMapVidMem (scrnIndex, qxl->vram, (1 << qxl->pci->size[1])); | ^~ qxl_driver.c:231:54: error: invalid type argument of '->' (have 'int') 231 | xf86UnMapVidMem (scrnIndex, qxl->rom, (1 << qxl->pci->size[2])); | ^~ --- qxl_image.lo --- In file included from qxl_image.c:37: qxl.h:280:5: error: unknown type name 'pciVideoPtr' 280 | pciVideoPtr pci; | ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 281 | PCITAG pci_tag; | ^~~~~~ qxl.h: In function 'ioport_write': --- qxl_driver.lo --- qxl_driver.c: In function 'map_memory_helper': qxl_driver.c:262:16: error: implicit declaration of function 'xf86MapPciMem' [-Werror=implicit-function-declaration] 262 | qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~~~~~ qxl_driver.c:262:16: warning: nested extern declaration of 'xf86MapPciMem' [-Wnested-externs] --- qxl_image.lo --- qxl.h:637:22: error: 'qxl_screen_t' {aka 'struct _qxl_screen_t'} has no member named 'io' 637 | pci_io_write8(qxl->io, port, val); | ^~ --- qxl_driver.lo --- qxl_driver.c:262:31: error: 'scrnIndex' undeclared (first use in this function) 262 | qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~ --- qxl_surface.lo --- *** [qxl_surface.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src --- qxl_driver.lo --- qxl_driver.c:262:42: error: 'VIDMEM_FRAMEBUFFER' undeclared (first use in this function); did you mean 'DRM_FRAME_BUFFER'? 262 | qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, | ^~~~~~~~~~~~~~~~~~ | DRM_FRAME_BUFFER qxl_driver.c:263:53: error: invalid type argument of '->' (have 'int') 263 | qxl->pci_tag, qxl->pci->memBase[0], | ^~ qxl_driver.c:264:45: error: invalid type argument of '->' (have 'int') 264 | (1 << qxl->pci->size[0])); | ^~ qxl_driver.c:265:41: error: invalid type argument of '->' (have 'int') 265 | qxl->ram_physical = (void *)qxl->pci->memBase[0]; | ^~ --- qxl_surface_ums.lo --- In file included from /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27, from qxl.h:43, from qxl_surface_ums.c:50: /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] 589 | RRSetChanged (ScreenPtr pScreen); | ^~~~~~~~~~~~ /home/pbulk/build/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here 580 | RRSetChanged(ScreenPtr pScreen); | ^~~~~~~~~~~~ --- qxl_driver.lo --- qxl_driver.c:267:43: error: 'VIDMEM_MMIO' undeclared (first use in this function) 267 | qxl->vram = xf86MapPciMem (scrnIndex, VIDMEM_MMIO | VIDMEM_MMIO_32BIT, | ^~~~~~~~~~~ --- qxl_image.lo --- *** [qxl_image.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src --- qxl_driver.lo --- qxl_driver.c:267:57: error: 'VIDMEM_MMIO_32BIT' undeclared (first use in this function) 267 | qxl->vram = xf86MapPciMem (scrnIndex, VIDMEM_MMIO | VIDMEM_MMIO_32BIT, | ^~~~~~~~~~~~~~~~~ qxl_driver.c:268:54: error: invalid type argument of '->' (have 'int') 268 | qxl->pci_tag, qxl->pci->memBase[1], | ^~ qxl_driver.c:269:46: error: invalid type argument of '->' (have 'int') 269 | (1 << qxl->pci->size[1])); | ^~ qxl_driver.c:270:42: error: invalid type argument of '->' (have 'int') 270 | qxl->vram_physical = (void *)qxl->pci->memBase[1]; | ^~ qxl_driver.c:271:36: error: invalid type argument of '->' (have 'int') 271 | qxl->vram_size = (1 << qxl->pci->size[1]); | ^~ qxl_driver.c:274:53: error: invalid type argument of '->' (have 'int') 274 | qxl->pci_tag, qxl->pci->memBase[2], | ^~ qxl_driver.c:275:45: error: invalid type argument of '->' (have 'int') 275 | (1 << qxl->pci->size[2])); | ^~ qxl_driver.c:277:28: error: invalid type argument of '->' (have 'int') 277 | qxl->io_base = qxl->pci->ioBase[3]; | ^~ qxl_driver.c: In function 'qxl_save_state': qxl_driver.c:441:9: error: implicit declaration of function 'xf86IsPrimaryPci' [-Werror=implicit-function-declaration] 441 | if (xf86IsPrimaryPci (qxl->pci)) | ^~~~~~~~~~~~~~~~ qxl_driver.c:441:9: warning: nested extern declaration of 'xf86IsPrimaryPci' [-Wnested-externs] --- qxl_surface_ums.lo --- In file included from qxl_surface_ums.c:50: qxl.h:280:5: error: unknown type name 'pciVideoPtr' 280 | pciVideoPtr pci; | ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 281 | PCITAG pci_tag; | ^~~~~~ qxl.h: In function 'ioport_write': qxl.h:637:22: error: 'qxl_screen_t' {aka 'struct _qxl_screen_t'} has no member named 'io' 637 | pci_io_write8(qxl->io, port, val); | ^~ --- qxl_driver.lo --- qxl_driver.c: In function 'qxl_pre_init': qxl_driver.c:1070:16: error: implicit declaration of function 'xf86GetPciInfoForEntity' [-Werror=implicit-function-declaration] 1070 | qxl->pci = xf86GetPciInfoForEntity (qxl->entity->index); | ^~~~~~~~~~~~~~~~~~~~~~~ qxl_driver.c:1070:16: warning: nested extern declaration of 'xf86GetPciInfoForEntity' [-Wnested-externs] qxl_driver.c:1072:20: error: implicit declaration of function 'pciTag' [-Werror=implicit-function-declaration] 1072 | qxl->pci_tag = pciTag (qxl->pci->bus, qxl->pci->device, qxl->pci->func); | ^~~~~~ qxl_driver.c:1072:20: warning: nested extern declaration of 'pciTag' [-Wnested-externs] qxl_driver.c:1072:36: error: invalid type argument of '->' (have 'int') 1072 | qxl->pci_tag = pciTag (qxl->pci->bus, qxl->pci->device, qxl->pci->func); | ^~ qxl_driver.c:1072:51: error: invalid type argument of '->' (have 'int') 1072 | qxl->pci_tag = pciTag (qxl->pci->bus, qxl->pci->device, qxl->pci->func); | ^~ qxl_driver.c:1072:69: error: invalid type argument of '->' (have 'int') 1072 | qxl->pci_tag = pciTag (qxl->pci->bus, qxl->pci->device, qxl->pci->func); | ^~ qxl_driver.c:1074:17: error: invalid type argument of '->' (have 'int') 1074 | if (qxl->pci->revision < 4) | ^~ --- qxl_surface_ums.lo --- *** [qxl_surface_ums.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src --- qxl_driver.lo --- qxl_driver.c: In function 'qxl_probe': qxl_driver.c:1341:10: error: implicit declaration of function 'xf86GetPciVideoInfo'; did you mean 'xf86GetEntityInfo'? [-Werror=implicit-function-declaration] 1341 | if (!xf86GetPciVideoInfo ()) | ^~~~~~~~~~~~~~~~~~~ | xf86GetEntityInfo qxl_driver.c:1341:10: warning: nested extern declaration of 'xf86GetPciVideoInfo' [-Wnested-externs] qxl_driver.c:1344:15: error: implicit declaration of function 'xf86MatchPciInstances' [-Werror=implicit-function-declaration] 1344 | numUsed = xf86MatchPciInstances (QXL_NAME, PCI_VENDOR_RED_HAT, | ^~~~~~~~~~~~~~~~~~~~~ qxl_driver.c:1344:15: warning: nested extern declaration of 'xf86MatchPciInstances' [-Wnested-externs] qxl_driver.c:1349:5: error: implicit declaration of function 'xfree'; did you mean 'cfree'? [-Werror=implicit-function-declaration] 1349 | xfree (devSections); | ^~~~~ | cfree qxl_driver.c:1349:5: warning: nested extern declaration of 'xfree' [-Wnested-externs] qxl_driver.c:1366:15: error: implicit declaration of function 'xf86ConfigPciEntity'; did you mean 'xf86ConfigFbEntity'? [-Werror=implicit-function-declaration] 1366 | if ((pScrn = xf86ConfigPciEntity (pScrn, 0, usedChips[i], qxlPciChips, | ^~~~~~~~~~~~~~~~~~~ | xf86ConfigFbEntity qxl_driver.c:1366:15: warning: nested extern declaration of 'xf86ConfigPciEntity' [-Wnested-externs] qxl_driver.c:1366:13: warning: assignment to 'ScrnInfoPtr' {aka 'struct _ScrnInfoRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1366 | if ((pScrn = xf86ConfigPciEntity (pScrn, 0, usedChips[i], qxlPciChips, | ^ At top level: qxl_driver.c:1281:13: warning: 'qxl_kernel_mode_enabled' defined but not used [-Wunused-function] 1281 | static Bool qxl_kernel_mode_enabled(ScrnInfoPtr pScrn, struct pci_device *pci_dev) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors *** [qxl_driver.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src 4 errors bmake[3]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src *** [all-recursive] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src 1 error bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 1 error bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 1 error bmake: stopped in /home/pbulk/build/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-qxl *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/x11/xf86-video-qxl