D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/x11-driver-video-xgi-1.6.1-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M1KLAN + 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/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/xf86-video-xgi-1.6.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-xgi-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /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 + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0002-Fix-invalid-mode-passed-to-open.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /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 + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0004-Add-check-for-libpciaccess-on-ARM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0005-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oFyBOt + 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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) + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking for 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 pkg-config... /usr/bin/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... gcc3 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 objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 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 + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' CC vb_i2c.lo In file included from vb_i2c.c:25:0: /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] #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:9: warning: zero-length gnu_printf format string [-Wformat-zero-length] 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' CC init.lo In file included from init.h:62:0, 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] #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' CC vb_ext.lo In file included from vb_ext.c:34:0: /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] #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' CC vb_init.lo In file included from vb_init.c:49:0: /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] #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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x50 , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , PCI_COMMAND + 0x80 , 1 , &Temp ) ; /* Set */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x0c + 0x80 , 1 , &Temp ) ; /* Set */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x10 + 0x80 , 1 , &Temp ) ; /* Set */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x14 + 0x80 , 1 , &Temp ) ; /* Set */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 , 0 , &Temp ) ; /* Get */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x18 + 0x80 , 1 , &Temp ) ; /* Set */ ^ 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] HwDeviceExtension->pQueryVGAConfigSpace( HwDeviceExtension , 0x08 , 0 , &lTemp ) ; /* Get */ ^ vb_init.c:2938:77: note: expected 'CARD32 * {aka unsigned int *}' but argument is of type 'ULONG * {aka long unsigned int *}' 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' CC xgi_cursor.lo In file included from xgi_cursor.c:39:0: /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] #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' CC xgi_accel.lo In file included from xgi_accel.c:42:0: /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] #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' CC xgi_dac.lo In file included from xgi_dac.c:51:0: /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] #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' CC xgi_dga.lo In file included from xgi_dga.c:42:0: /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] #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' CC xgi_setup.lo In file included from xgi_setup.c:38:0: /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] #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: warning: assignment makes integer from pointer without a cast [-Wint-conversion] pHwDevInfo->pjIOAddress = (pointer)(pXGI->RelIO + 0x30); ^ xgi_setup.c:638:5: warning: implicit declaration of function 'XGI_New_GetVBType'; did you mean 'XGI_GetRegByte'? [-Wimplicit-function-declaration] XGI_New_GetVBType(pXGI->XGI_Pr, pHwDevInfo); //yilin ^~~~~~~~~~~~~~~~~ XGI_GetRegByte 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' CC xgi_opt.lo In file included from xgi_opt.c:41:0: /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] #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' CC xgi_driver.lo In file included from xgi_driver.c:61:0: /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] #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:48: warning: passing argument 1 of 'XGIGetModeFromName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mode2 = XGIGetModeFromName(mode1->name, j); ^~~~~ xgi_driver.c:1026: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:2313:24: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(newm->name, tempm->name); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-mageia-linux-gnu/7.3.0/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:88: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:2910:36: warning: assignment makes integer from pointer without a cast [-Wint-conversion] 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] err = pci_device_map_region(pXGI->PciInfo, i, TRUE); ^~~ In file included from /usr/include/xorg/xf86.h:106:0, from xgi_driver.c:52: /usr/include/pciaccess.h:85:19: note: declared here 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] pci_device_unmap_region(pXGI->PciInfo, 1); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/xorg/xf86.h:106:0, from xgi_driver.c:52: /usr/include/pciaccess.h:88:18: note: declared here int __deprecated pci_device_unmap_region(struct pci_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4204:17: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 0); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/xorg/xf86.h:106:0, from xgi_driver.c:52: /usr/include/pciaccess.h:88:18: note: declared here int __deprecated pci_device_unmap_region(struct pci_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4219:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 0); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/xorg/xf86.h:106:0, from xgi_driver.c:52: /usr/include/pciaccess.h:88:18: note: declared here int __deprecated pci_device_unmap_region(struct pci_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~ xgi_driver.c:4220:9: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations] pci_device_unmap_region(pXGI->PciInfo, 1); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/xorg/xf86.h:106:0, from xgi_driver.c:52: /usr/include/pciaccess.h:88:18: note: declared here int __deprecated pci_device_unmap_region(struct pci_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~ 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' CC xgi_vga.lo In file included from xgi_vga.c:42:0: /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] #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' CC xgi_vb.lo In file included from xgi_vb.c:38:0: /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] #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' CC vb_setmode.lo In file included from vb_setmode.c:34:0: /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] #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' CC xgi_dri.lo In file included from xgi_dri.c:45:0: /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] #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_dri.c: In function 'XGIDRIScreenInit': xgi_dri.c:277:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] pDRIInfo->drmDriverName = XGIKernelDriverName; ^ xgi_dri.c:278:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] pDRIInfo->clientDriverName = XGIClientDriverName; ^ xgi_dri.c:386:50: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] "[dri] Video RAM memory heap: 0x%0x to 0x%0x (%dKB)\n", ~~^ %0lx pXGI->DRIheapstart, pXGI->DRIheapend, ~~~~~~~~~~~~~~~~~~ xgi_dri.c:386:59: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] "[dri] Video RAM memory heap: 0x%0x to 0x%0x (%dKB)\n", ~~^ %0lx pXGI->DRIheapstart, pXGI->DRIheapend, ~~~~~~~~~~~~~~~~ xgi_dri.c:423:61: warning: passing argument 5 of 'drmAgpAlloc' from incompatible pointer type [-Wincompatible-pointer-types] if (drmAgpAlloc(pXGI->drmSubFD, pXGI->agpSize, 0, NULL, &pXGI->agpHandle) < 0) { ^ In file included from xgi.h:204:0, from xgi_dri.c:58: /usr/include/xf86drm.h:668:22: note: expected 'drm_handle_t * {aka unsigned int *}' but argument is of type 'long unsigned int *' extern int drmAgpAlloc(int fd, unsigned long size, ^~~~~~~~~~~ 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' CC xgi_video.lo In file included from xgi_video.c:73:0: /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] #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' CC xgi_videohw.lo 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' CCLD xgi_drv.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' Making all in man make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' GEN xgi.4 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oovFPx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 + cd xf86-video-xgi-1.6.1 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall_std is deprecated, try %make_install instead' warning: %makeinstall_std is deprecated, try %make_install instead + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 install Making install in src make[1]: Entering 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' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -c xgi_drv.la '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -c .libs/xgi_drv.so /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/lib64/xorg/modules/drivers/xgi_drv.so libtool: install: /usr/bin/install -c .libs/xgi_drv.lai /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/lib64/xorg/modules/drivers/xgi_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/src' Making install in man make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/share/man/man4' /usr/bin/install -c -m 644 xgi.4 '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/share/man/man4' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1/man' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1' + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 1.6.1-7.mga7 --unique-debug-suffix -1.6.1-7.mga7.x86_64 --unique-debug-src-base x11-driver-video-xgi-1.6.1-7.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xf86-video-xgi-1.6.1 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64/usr/lib64/xorg/modules/drivers/xgi_drv.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2790 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: x11-driver-video-xgi-1.6.1-7.mga7.x86_64 Provides: libtool(/usr/lib64/xorg/modules/drivers/xgi_drv.la) x11-driver-video-xgi = 1.6.1-7.mga7 x11-driver-video-xgi(x86-64) = 1.6.1-7.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Conflicts: xorg-x11-server < 7.0 Processing files: x11-driver-video-xgi-debugsource-1.6.1-7.mga7.x86_64 Provides: x11-driver-video-xgi-debugsource = 1.6.1-7.mga7 x11-driver-video-xgi-debugsource(x86-64) = 1.6.1-7.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: x11-driver-video-xgi-debuginfo-1.6.1-7.mga7.x86_64 Provides: debuginfo(build-id) = 2452d4b8c34e52ed5ece12074bb6e6c321587f05 x11-driver-video-xgi-debuginfo = 1.6.1-7.mga7 x11-driver-video-xgi-debuginfo(x86-64) = 1.6.1-7.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11-driver-video-xgi-debugsource(x86-64) = 1.6.1-7.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-xgi-1.6.1-7.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-xgi-debugsource-1.6.1-7.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-xgi-debuginfo-1.6.1-7.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ut2YxG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xf86-video-xgi-1.6.1 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-xgi-1.6.1-7.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Se2QhP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf xf86-video-xgi-1.6.1 + exit 0 D: [iurt_root_command] Success!