=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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-qxl-0.1.5nb1 --- all --- /usr/bin/make 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.lo --- CC uxa.lo --- uxa-accel.lo --- CC uxa-accel.lo --- uxa-glyphs.lo --- CC uxa-glyphs.lo --- uxa-render.lo --- CC uxa-render.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_image.lo --- CC qxl_image.lo --- qxl_surface.lo --- CC qxl_surface.lo --- qxl_surface_ums.lo --- CC qxl_surface_ums.lo --- qxl_driver.lo --- In file included from /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27:0, from qxl_driver.c:42: /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] RRSetChanged (ScreenPtr pScreen); ^~~~~~~~~~~~ /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here RRSetChanged(ScreenPtr pScreen); ^~~~~~~~~~~~ --- qxl_surface.lo --- In file included from /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27:0, from qxl.h:43, from qxl_surface.c:27: /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] RRSetChanged (ScreenPtr pScreen); ^~~~~~~~~~~~ /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here RRSetChanged(ScreenPtr pScreen); ^~~~~~~~~~~~ --- qxl_image.lo --- In file included from /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27:0, from qxl.h:43, from qxl_image.c:37: /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] RRSetChanged (ScreenPtr pScreen); ^~~~~~~~~~~~ /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here RRSetChanged(ScreenPtr pScreen); ^~~~~~~~~~~~ --- qxl_surface_ums.lo --- In file included from /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/xf86Crtc.h:27:0, from qxl.h:43, from qxl_surface_ums.c:50: /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:589:1: warning: redundant redeclaration of 'RRSetChanged' [-Wredundant-decls] RRSetChanged (ScreenPtr pScreen); ^~~~~~~~~~~~ /tmp/x11/xf86-video-qxl/work/.x11-buildlink/include/xorg/randrstr.h:580:1: note: previous declaration of 'RRSetChanged' was here RRSetChanged(ScreenPtr pScreen); ^~~~~~~~~~~~ --- qxl_driver.lo --- In file included from qxl_driver.c:45:0: qxl.h:280:5: error: unknown type name 'pciVideoPtr' pciVideoPtr pci; ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 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' pci_io_write8(qxl->io, port, val); ^~ --- qxl_surface.lo --- In file included from qxl_surface.c:27:0: qxl.h:280:5: error: unknown type name 'pciVideoPtr' pciVideoPtr pci; ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 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' 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] 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); did you mean 'rindex'? xf86UnMapVidMem (scrnIndex, qxl->ram, (1 << qxl->pci->size[0])); ^~~~~~~~~ rindex 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') xf86UnMapVidMem (scrnIndex, qxl->ram, (1 << qxl->pci->size[0])); ^~ qxl_driver.c:229:55: error: invalid type argument of '->' (have 'int') xf86UnMapVidMem (scrnIndex, qxl->vram, (1 << qxl->pci->size[1])); ^~ qxl_driver.c:231:54: error: invalid type argument of '->' (have 'int') xf86UnMapVidMem (scrnIndex, qxl->rom, (1 << qxl->pci->size[2])); ^~ --- qxl_image.lo --- In file included from qxl_image.c:37:0: qxl.h:280:5: error: unknown type name 'pciVideoPtr' pciVideoPtr pci; ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' 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' pci_io_write8(qxl->io, port, val); ^~ --- 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] qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, ^~~~~~~~~~~~~ qxl_driver.c:262:16: warning: nested extern declaration of 'xf86MapPciMem' [-Wnested-externs] --- qxl_surface_ums.lo --- In file included from qxl_surface_ums.c:50:0: qxl.h:280:5: error: unknown type name 'pciVideoPtr' pciVideoPtr pci; ^~~~~~~~~~~ qxl.h:281:5: error: unknown type name 'PCITAG' PCITAG pci_tag; ^~~~~~ --- qxl_surface.lo --- *** [qxl_surface.lo] Error code 1 make[3]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src --- qxl_driver.lo --- qxl_driver.c:262:31: error: 'scrnIndex' undeclared (first use in this function); did you mean 'rindex'? qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, ^~~~~~~~~ rindex --- qxl_surface_ums.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' pci_io_write8(qxl->io, port, val); ^~ --- qxl_image.lo --- *** [qxl_image.lo] Error code 1 make[3]: stopped in /tmp/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'? qxl->ram = xf86MapPciMem (scrnIndex, VIDMEM_FRAMEBUFFER, ^~~~~~~~~~~~~~~~~~ DRM_FRAME_BUFFER qxl_driver.c:263:53: error: invalid type argument of '->' (have 'int') qxl->pci_tag, qxl->pci->memBase[0], ^~ qxl_driver.c:264:45: error: invalid type argument of '->' (have 'int') (1 << qxl->pci->size[0])); ^~ qxl_driver.c:265:41: error: invalid type argument of '->' (have 'int') qxl->ram_physical = (void *)qxl->pci->memBase[0]; ^~ qxl_driver.c:267:43: error: 'VIDMEM_MMIO' undeclared (first use in this function) qxl->vram = xf86MapPciMem (scrnIndex, VIDMEM_MMIO | VIDMEM_MMIO_32BIT, ^~~~~~~~~~~ --- qxl_surface_ums.lo --- *** [qxl_surface_ums.lo] Error code 1 make[3]: stopped in /tmp/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); did you mean 'VIDMEM_MMIO'? qxl->vram = xf86MapPciMem (scrnIndex, VIDMEM_MMIO | VIDMEM_MMIO_32BIT, ^~~~~~~~~~~~~~~~~ VIDMEM_MMIO qxl_driver.c:268:54: error: invalid type argument of '->' (have 'int') qxl->pci_tag, qxl->pci->memBase[1], ^~ qxl_driver.c:269:46: error: invalid type argument of '->' (have 'int') (1 << qxl->pci->size[1])); ^~ qxl_driver.c:270:42: error: invalid type argument of '->' (have 'int') qxl->vram_physical = (void *)qxl->pci->memBase[1]; ^~ qxl_driver.c:271:36: error: invalid type argument of '->' (have 'int') qxl->vram_size = (1 << qxl->pci->size[1]); ^~ qxl_driver.c:274:53: error: invalid type argument of '->' (have 'int') qxl->pci_tag, qxl->pci->memBase[2], ^~ qxl_driver.c:275:45: error: invalid type argument of '->' (have 'int') (1 << qxl->pci->size[2])); ^~ qxl_driver.c:277:28: error: invalid type argument of '->' (have 'int') 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'; did you mean 'xf86scanpci'? [-Werror=implicit-function-declaration] if (xf86IsPrimaryPci (qxl->pci)) ^~~~~~~~~~~~~~~~ xf86scanpci qxl_driver.c:441:9: warning: nested extern declaration of 'xf86IsPrimaryPci' [-Wnested-externs] qxl_driver.c: In function 'qxl_pre_init': qxl_driver.c:1070:16: error: implicit declaration of function 'xf86GetPciInfoForEntity'; did you mean 'xf86GetDevFromEntity'? [-Werror=implicit-function-declaration] qxl->pci = xf86GetPciInfoForEntity (qxl->entity->index); ^~~~~~~~~~~~~~~~~~~~~~~ xf86GetDevFromEntity 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] 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') 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') 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') 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') if (qxl->pci->revision < 4) ^~ 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] 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'; did you mean 'xf86pathIsSafe'? [-Werror=implicit-function-declaration] numUsed = xf86MatchPciInstances (QXL_NAME, PCI_VENDOR_RED_HAT, ^~~~~~~~~~~~~~~~~~~~~ xf86pathIsSafe 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] 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] 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 makes pointer from integer without a cast [-Wint-conversion] 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] 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 make[3]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src 4 errors make[3]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src *** [all-recursive] Error code 1 make[2]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src 1 error make[2]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5/src *** [all-recursive] Error code 1 make[1]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 1 error make[1]: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 *** [all] Error code 2 make: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 1 error make: stopped in /tmp/x11/xf86-video-qxl/work/xf86-video-qxl-0.1.5 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-qxl *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/xf86-video-qxl