+ case "${usergroup_phase}" in + 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-xgi-1.6.1nb4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-xgi-1.6.1nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xf86-video-xgi-1.6.1nb4 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- init.lo --- --- vb_ext.lo --- --- init.lo --- CC init.lo --- vb_ext.lo --- CC vb_ext.lo In file included from vb_ext.c:34:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- init.lo --- In file included from init.h:62:0, from init.c:67: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- vb_i2c.lo --- CC vb_i2c.lo --- vb_init.lo --- CC vb_init.lo --- vb_i2c.lo --- In file included from vb_i2c.c:25:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- vb_init.lo --- In file included from vb_init.c:49:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ vb_init.c: In function 'XGIInitNew': vb_init.c:447:9: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x50 , 0 , &Temp ) ; /* Get */ ^ vb_init.c:447:9: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c: In function 'DualChipInit': vb_init.c:679:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND , 0 , &Temp ) ; /* Get */ ^ vb_init.c:679:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:680:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND + 0x80 , 1 , &Temp ) ; /* Set */ ^ vb_init.c:680:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:682:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c , 0 , &Temp ) ; /* Get */ ^ vb_init.c:682:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:683:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c + 0x80 , 1 , &Temp ) ; /* Set */ ^ vb_init.c:683:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:685:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 , 0 , &Temp ) ; /* Get */ ^ vb_init.c:685:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:686:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 + 0x80 , 1 , &Temp ) ; /* Set */ ^ vb_init.c:686:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:688:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 , 0 , &Temp ) ; /* Get */ ^ vb_init.c:688:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:690:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 + 0x80 , 1 , &Temp ) ; /* Set */ ^ vb_init.c:690:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:692:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 , 0 , &Temp ) ; /* Get */ ^ vb_init.c:692:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c:694:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 + 0x80 , 1 , &Temp ) ; /* Set */ ^ vb_init.c:694:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' vb_init.c: In function 'XGINew_DDRSizing340': vb_init.c:2792:9: warning: passing argument 2 of 'XGINew_SetDRAMSizingType' from incompatible pointer type [enabled by default] XGINew_SetDRAMSizingType( i , XGINew_DDRDRAM_TYPE20, pVBInfo ) ; ^ vb_init.c:1903:6: note: expected 'const USHORT (*)[5]' but argument is of type 'USHORT (*)[5]' void XGINew_SetDRAMSizingType(int index , const USHORT DRAMTYPE_TABLE[][5], ^ vb_init.c: In function 'SetPowerConsume': vb_init.c:2938:5: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [enabled by default] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x08 , 0 , &lTemp ) ; /* Get */ ^ vb_init.c:2938:5: note: expected 'CARD32 *' but argument is of type 'ULONG *' --- vb_setmode.lo --- CC vb_setmode.lo In file included from vb_setmode.c:34:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_accel.lo --- CC xgi_accel.lo In file included from xgi_accel.c:42:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_cursor.lo --- CC xgi_cursor.lo In file included from xgi_cursor.c:39:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_dac.lo --- CC xgi_dac.lo In file included from xgi_dac.c:51:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_dga.lo --- CC xgi_dga.lo --- xgi_driver.lo --- CC xgi_driver.lo --- xgi_dga.lo --- In file included from xgi_dga.c:42:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_driver.lo --- In file included from xgi_driver.c:61:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ xgi_driver.c: In function 'XGIDisplayPowerManagementSet': xgi_driver.c:511:2: warning: implicit declaration of function 'XGISetDPMS' [-Wimplicit-function-declaration] XGISetDPMS(pScrn, pVBInfo, pHwDevInfo, PowerState); ^ xgi_driver.c: In function 'XGIGenerateModeListFromMetaModes': xgi_driver.c:1187:21: warning: passing argument 1 of 'XGIGetModeFromName' discards 'const' qualifier from pointer target type [enabled by default] mode2 = XGIGetModeFromName(mode1->name, j); ^ xgi_driver.c:1023:1: note: expected 'char *' but argument is of type 'const char *' XGIGetModeFromName(char *str, DisplayModePtr i) ^ xgi_driver.c: In function 'XGIDDCPreInit': xgi_driver.c:2310:17: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [enabled by default] strcpy(newm->name, tempm->name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdint.h:25, from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9, from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pixman-1/pixman.h:105, from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/fb.h:28, from xgi_driver.c:50: /usr/include/bits/string3.h:102:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ xgi_driver.c: In function 'XGIPreInit': xgi_driver.c:2903:36: warning: assignment makes integer from pointer without a cast [enabled by default] pXGI->xgi_HwDevExt.pjIOAddress = (pointer)((XGIIOADDRESS) (pXGI->RelIO + 0x30)); ^ xgi_driver.c: In function 'XGIMapMem': xgi_driver.c:4087:9: warning: 'pci_device_map_region' is deprecated (declared at /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:85) [-Wdeprecated-declarations] err = pci_device_map_region(pXGI->PciInfo, i, TRUE); ^ xgi_driver.c: In function 'XGIUnmapMem': xgi_driver.c:4163:17: warning: 'pci_device_unmap_region' is deprecated (declared at /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88) [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 1); ^ xgi_driver.c:4197:17: warning: 'pci_device_unmap_region' is deprecated (declared at /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88) [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 0); ^ xgi_driver.c:4212:9: warning: 'pci_device_unmap_region' is deprecated (declared at /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88) [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 0); ^ xgi_driver.c:4213:9: warning: 'pci_device_unmap_region' is deprecated (declared at /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88) [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 1); ^ xgi_driver.c: In function 'XGIModeInit': xgi_driver.c:4320:5: warning: implicit declaration of function 'Volari_SetDefaultIdleWait' [-Wimplicit-function-declaration] Volari_SetDefaultIdleWait(pXGI, mode->HDisplay, pScrn->depth); ^ xgi_driver.c: In function 'XGIRestore': xgi_driver.c:4481:2: warning: implicit declaration of function 'XGISetModeNew' [-Wimplicit-function-declaration] XGISetModeNew( &pXGI->xgi_HwDevExt, pXGI->XGI_Pr, 0x03); ^ --- xgi_opt.lo --- CC xgi_opt.lo In file included from xgi_opt.c:41:0: /home/pbulk/build/x11/xf86-video-xgi/work/.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ --- xgi_driver.lo --- In file included from /usr/include/fcntl.h:306:0, from xgi_driver.c:109: In function 'open', inlined from 'XGIPreInit' at xgi_driver.c:2800:12: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^ *** [xgi_driver.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1/src 1 error bmake[2]: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 1 error bmake[1]: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 1 error bmake: stopped in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xf86-video-xgi *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xf86-video-xgi