+ 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 --- init.lo --- In file included from init.h:62, 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] 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." | ^~~~~~~ --- vb_ext.lo --- In file included from vb_ext.c:34: /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] 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." | ^~~~~~~ --- 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: /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] 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." | ^~~~~~~ --- vb_init.lo --- In file included from vb_init.c:49: /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] 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." | ^~~~~~~ vb_init.c: In function 'XGIInitNew': vb_init.c:447:81: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 447 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x50 , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:447:81: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c: In function 'DualChipInit': vb_init.c:679:84: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 679 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:679:84: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:680:91: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 680 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND + 0x80 , 1 , &Temp ) ; /* Set */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:680:91: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:682:77: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 682 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:682:77: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:683:84: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 683 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c + 0x80 , 1 , &Temp ) ; /* Set */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:683:84: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:685:77: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 685 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:685:77: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:686:84: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 686 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 + 0x80 , 1 , &Temp ) ; /* Set */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:686:84: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:688:77: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 688 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:688:77: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:690:84: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 690 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 + 0x80 , 1 , &Temp ) ; /* Set */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:690:84: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:692:77: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 692 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 , 0 , &Temp ) ; /* Get */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:692:77: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c:694:84: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 694 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 + 0x80 , 1 , &Temp ) ; /* Set */ | ^~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:694:84: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} vb_init.c: In function 'SetPowerConsume': vb_init.c:2938:77: warning: passing argument 4 of 'HwDeviceExtension->pQueryVGAConfigSpace' from incompatible pointer type [-Wincompatible-pointer-types] 2938 | HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x08 , 0 , &lTemp ) ; /* Get */ | ^~~~~~ | | | ULONG * {aka long unsigned int *} vb_init.c:2938:77: note: expected 'CARD32 *' {aka 'unsigned int *'} but argument is of type 'ULONG *' {aka 'long unsigned int *'} --- vb_setmode.lo --- CC vb_setmode.lo In file included from vb_setmode.c:34: /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] 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." | ^~~~~~~ --- xgi_accel.lo --- CC xgi_accel.lo In file included from xgi_accel.c:42: /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] 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." | ^~~~~~~ --- xgi_cursor.lo --- CC xgi_cursor.lo In file included from xgi_cursor.c:39: /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] 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." | ^~~~~~~ --- xgi_dac.lo --- CC xgi_dac.lo In file included from xgi_dac.c:51: /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] 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." | ^~~~~~~ --- xgi_dga.lo --- CC xgi_dga.lo In file included from xgi_dga.c:42: /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] 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." | ^~~~~~~ --- xgi_driver.lo --- CC xgi_driver.lo In file included from xgi_driver.c:61: /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] 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." | ^~~~~~~ xgi_driver.c: In function 'XGIDisplayPowerManagementSet': xgi_driver.c:511:9: warning: implicit declaration of function 'XGISetDPMS'; did you mean 'XGISetup'? [-Wimplicit-function-declaration] 511 | XGISetDPMS(pScrn, pVBInfo, pHwDevInfo, PowerState); | ^~~~~~~~~~ | XGISetup xgi_driver.c: In function 'XGIGenerateModeListFromMetaModes': xgi_driver.c:1187:53: warning: passing argument 1 of 'XGIGetModeFromName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1187 | mode2 = XGIGetModeFromName(mode1->name, j); | ~~~~~^~~~~~ xgi_driver.c:1023:26: note: expected 'char *' but argument is of type 'const char *' 1023 | XGIGetModeFromName(char *str, DisplayModePtr i) | ~~~~~~^~~ xgi_driver.c: In function 'XGIDDCPreInit': xgi_driver.c:2310:28: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2310 | strcpy(newm->name, tempm->name); | ~~~~^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/11/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/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'const char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ xgi_driver.c: In function 'XGIPreInit': xgi_driver.c:2903:36: warning: assignment to 'XGIIOADDRESS' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 2903 | 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 [-Wdeprecated-declarations] 4087 | err = pci_device_map_region(pXGI->PciInfo, i, TRUE); | ^~~ In file included from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/xf86.h:93, from xgi_driver.c:52: /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:85:19: note: declared here 85 | int __deprecated pci_device_map_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~ xgi_driver.c: In function 'XGIUnmapMem': xgi_driver.c:4163:17: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4163 | pci_device_unmap_region(pXGI->PciInfo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/xf86.h:93, from xgi_driver.c:52: /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4197:17: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4197 | pci_device_unmap_region(pXGI->PciInfo, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/xf86.h:93, from xgi_driver.c:52: /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4212:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4212 | pci_device_unmap_region(pXGI->PciInfo, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/xf86.h:93, from xgi_driver.c:52: /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4213:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4213 | pci_device_unmap_region(pXGI->PciInfo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/xorg/xf86.h:93, from xgi_driver.c:52: /home/pbulk/build/x11/xf86-video-xgi/work/.buildlink/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c: In function 'XGIModeInit': xgi_driver.c:4320:5: warning: implicit declaration of function 'Volari_SetDefaultIdleWait' [-Wimplicit-function-declaration] 4320 | Volari_SetDefaultIdleWait(pXGI, mode->HDisplay, pScrn->depth); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c: In function 'XGIRestore': xgi_driver.c:4481:9: warning: implicit declaration of function 'XGISetModeNew' [-Wimplicit-function-declaration] 4481 | XGISetModeNew( &pXGI->xgi_HwDevExt, pXGI->XGI_Pr, 0x03); | ^~~~~~~~~~~~~ --- xgi_opt.lo --- CC xgi_opt.lo In file included from xgi_opt.c:41: /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] 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." | ^~~~~~~ --- xgi_driver.lo --- In file included from /usr/include/fcntl.h:342, from xgi_driver.c:109: In function 'open', inlined from 'XGIPreInit' at xgi_driver.c:2800:19: /usr/include/bits/fcntl2.h:50:11: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments 50 | __open_missing_mode (); | ^~~~~~~~~~~~~~~~~~~~~~ *** [xgi_driver.lo] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1/src bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1/src bmake[1]: stopped making "all-recursive" in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 bmake: stopped making "all" in /home/pbulk/build/x11/xf86-video-xgi/work/xf86-video-xgi-1.6.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/xf86-video-xgi *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/xf86-video-xgi