D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/x11-driver-video-xgi-1.6.1-13.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RTPGkN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xf86-video-xgi-1.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xf86-video-xgi-1.6.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-xgi-1.6.1 + rm -rf /home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Add-missing-includes-to-avoid-implicit-function-decl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Fix-invalid-mode-passed-to-open.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-Fixed-Module-xgi-does-not-have-a-xgiModuleData.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0004-Add-check-for-libpciaccess-on-ARM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0005-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MAiEx7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xf86-video-xgi-1.6.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether to enable maintainer-specific portions of Makefiles... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if XINERAMA is defined... yes checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for XORG... yes checking for XEXT... yes checking for /usr/include/xorg/dri.h... yes checking for /usr/include/xorg/sarea.h... yes checking for /usr/include/xorg/dristruct.h... yes checking whether to include DRI support... yes checking for DRI... yes checking whether XSERVER_LIBPCIACCESS is declared... yes checking for PCIACCESS... yes checking xaa.h usability... no checking xaa.h presence... no checking for xaa.h... no checking whether to include XAA support... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o vb_init.lo vb_init.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c vb_init.c -fPIC -DPIC -o .libs/vb_init.o In file included from vb_init.c:49: /usr/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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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 *'} make[2]: *** [Makefile:519: vb_init.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_setup.lo xgi_setup.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_setup.c -fPIC -DPIC -o .libs/xgi_setup.o In file included from xgi_setup.c:38: /usr/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_setup.c: In function 'XGI_InitHwDevInfo': xgi_setup.c:590:29: error: assignment to 'XGIIOADDRESS' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 590 | pHwDevInfo->pjIOAddress = (pointer)(pXGI->RelIO + 0x30); | ^ xgi_setup.c:638:5: error: implicit declaration of function 'XGI_New_GetVBType' [-Wimplicit-function-declaration] 638 | XGI_New_GetVBType(pXGI->XGI_Pr, pHwDevInfo); //yilin | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:519: xgi_setup.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_dga.lo xgi_dga.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_dga.c -fPIC -DPIC -o .libs/xgi_dga.o In file included from xgi_dga.c:42: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_vga.lo xgi_vga.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_vga.c -fPIC -DPIC -o .libs/xgi_vga.o In file included from xgi_vga.c:42: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_vb.lo xgi_vb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_vb.c -fPIC -DPIC -o .libs/xgi_vb.o In file included from xgi_vb.c:38: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_opt.lo xgi_opt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_opt.c -fPIC -DPIC -o .libs/xgi_opt.o In file included from xgi_opt.c:41: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_cursor.lo xgi_cursor.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_cursor.c -fPIC -DPIC -o .libs/xgi_cursor.o In file included from xgi_cursor.c:39: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_driver.lo xgi_driver.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_driver.c -fPIC -DPIC -o .libs/xgi_driver.o In file included from xgi_driver.c:61: /usr/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 'XGIGenerateModeListFromMetaModes': xgi_driver.c:1190:53: warning: passing argument 1 of 'XGIGetModeFromName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1190 | mode2 = XGIGetModeFromName(mode1->name, j); | ~~~~~^~~~~~ xgi_driver.c:1026:26: note: expected 'char *' but argument is of type 'const char *' 1026 | XGIGetModeFromName(char *str, DisplayModePtr i) | ~~~~~~^~~ xgi_driver.c: In function 'XGIDDCPreInit': xgi_driver.c:2313:28: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2313 | strcpy(newm->name, tempm->name); | ~~~~^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-mageia-linux/14/include/stdint.h:9, from /usr/include/pixman-1/pixman.h:105, from /usr/include/xorg/fb.h:28, from xgi_driver.c:50: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' 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:2910:36: error: assignment to 'XGIIOADDRESS' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 2910 | pXGI->xgi_HwDevExt.pjIOAddress = (pointer)((XGIIOADDRESS) (pXGI->RelIO + 0x30)); | ^ xgi_driver.c: In function 'XGIMapMem': xgi_driver.c:4094:9: warning: 'pci_device_map_region' is deprecated [-Wdeprecated-declarations] 4094 | err = pci_device_map_region(pXGI->PciInfo, i, TRUE); | ^~~ In file included from /usr/include/xorg/xf86.h:93, from xgi_driver.c:52: /usr/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:4170:17: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4170 | pci_device_unmap_region(pXGI->PciInfo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4204:17: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4204 | pci_device_unmap_region(pXGI->PciInfo, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4219:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4219 | pci_device_unmap_region(pXGI->PciInfo, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4220:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] 4220 | pci_device_unmap_region(pXGI->PciInfo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pciaccess.h:88:18: note: declared here 88 | int __deprecated pci_device_unmap_region(struct pci_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:519: xgi_driver.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_accel.lo xgi_accel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_accel.c -fPIC -DPIC -o .libs/xgi_accel.o In file included from xgi_accel.c:42: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o vb_ext.lo vb_ext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c vb_ext.c -fPIC -DPIC -o .libs/vb_ext.o In file included from vb_ext.c:34: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_dac.lo xgi_dac.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_dac.c -fPIC -DPIC -o .libs/xgi_dac.o In file included from xgi_dac.c:51: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_video.lo xgi_video.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_video.c -fPIC -DPIC -o .libs/xgi_video.o In file included from xgi_video.c:73: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o init.lo init.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c init.c -fPIC -DPIC -o .libs/init.o In file included from init.h:62, from init.c:67: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o vb_i2c.lo vb_i2c.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c vb_i2c.c -fPIC -DPIC -o .libs/vb_i2c.o In file included from vb_i2c.c:25: /usr/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.c: In function 'I2C_DelayUS': vb_i2c.c:97:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 97 | ErrorF(""); | ^~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o xgi_videohw.lo xgi_videohw.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c xgi_videohw.c -fPIC -DPIC -o .libs/xgi_videohw.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o vb_setmode.lo vb_setmode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/X11/dri -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c vb_setmode.c -fPIC -DPIC -o .libs/vb_setmode.o In file included from vb_setmode.c:34: /usr/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." | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[1]: *** [Makefile:444: all-recursive] Error 1 make: *** [Makefile:376: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MAiEx7 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MAiEx7 (%build) I: [iurt_root_command] ERROR: chroot