D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.m5zvEw + 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-sis-0.9.1 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/xf86-video-sis-0.9.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-sis-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xf86-video-sis-0.9.1-20102701.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0002-Remove-XFree86-Misc-PassMessage-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0003-Fix-build-with-Werror-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0005-Fix-backlight-off-on-SiS30x.-video-bridges.patch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0006-Add-IgnoreHotkeyFlag-driver-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xf86-video-sis-0.9.1-dump-regs-after-video-init.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0007-Remove-useless-loader-symbol-lists.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0008-update-to-xextproto-7-1-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0009-update-for-rac-removal.patch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0010-change-to-use-abi-version-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0011-more-rac-removal.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0012-remove-mibank-h-reference.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0013-Update-to-new-CreateNewResourceType-API.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xf86-video-sis-0.9.1-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/disable-accel-mga19620.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0001-Remove-xorgconfig-xorgcfg-from-See-Also-list-in-man-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0004-Make-sisRegs3D4-big-enough-to-hold-all-values-writte.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0005-Correct-bounds-check-of-blitClip-array-access.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xserver112.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/pciTag-removal-workaround.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/Untangle-XF86DRI.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/swap-func-rename.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xf86MapDomainMemory-pci_device_map_legacy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/sync-with-freedesktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix-xv-crash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/sisimedia-no-xaa.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/sisimedia-xorg-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/deprecated-sym2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/disable-UploadToScreen-DownloadFromScreen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/remove_mibstore.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/sisimedia-1.17.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/use-compat-api.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.WhhVwO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xf86-video-sis-0.9.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + sed -i -e s,sis_drv,sisimedia_drv,g src/Makefile.am + sed -i -e 's,\"sis\",\"sisimedia\",g' src/sis.h + sed -i -e s,sisModuleData,sisimediaModuleData,g src/sis_driver.c + autoreconf -ifs libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: linking file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:41: installing './compile' configure.ac:34: installing './missing' src/Makefile.am: installing './depcomp' + 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 + '[' -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 --disable-static checking for a BSD-compatible install... /usr/bin/install -c 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 whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... gcc3 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... (cached) yes 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 for cpp... /usr/bin/cpp checking if /usr/bin/cpp requires -undef... yes checking if /usr/bin/cpp requires -traditional... yes 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 for X.Org SGML entities ... checking for /usr/share/sgml/X11/defs.ent... no no checking for ps2pdf... no configure: WARNING: ps2pdf not found - documentation targets will be skipped checking for linuxdoc... no checking whether to build documentation... no checking whether to build pdf documentation... 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 src/xvmc/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-sis-0.9.1/src' CC sis300_accel.lo In file included from sis.h:75:0, from sis300_accel.c:43: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC initextx.lo In file included from sis.h:75:0, from initextx.h:40, from initextx.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ initextx.c: In function 'SiSBuildBuiltInModeList': initextx.c:300:15: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, ^~~~~~~ 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/compiler.h:76, from sis.h:67, from initextx.h:40, from initextx.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ initextx.c:456:12: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(current->name, SiS_PlasmaMode[l].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/compiler.h:76, from sis.h:67, from initextx.h:40, from initextx.c:38: /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)) ^ initextx.c:539:14: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(current->name, "%dx%d", pSiS->SiS_Pr->CP_HDisplay[i], ^~~~~~~ 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/compiler.h:76, from sis.h:67, from initextx.h:40, from initextx.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ initextx.c:300:34: warning: '%d' directive writing between 1 and 5 bytes into a region of size between 4 and 8 [-Wformat-overflow=] sprintf(current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, ^~ initextx.c:300:30: note: directive argument in the range [0, 65535] sprintf(current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, ^~~~~~~ In file included from /usr/include/stdio.h:862:0, from /usr/include/xorg/os.h:86, from /usr/include/xorg/misc.h:117, from /usr/include/xorg/xf86Pci.h:107, from sis.h:68, from initextx.h:40, from initextx.c:38: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 12 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis310_accel.lo In file included from sis.h:75:0, from sis310_accel.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis6326_video.lo In file included from sis.h:75:0, from sis6326_video.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC init.lo In file included from sis.h:75:0, from init.h:60, from init.c:63: /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." ^~~~~~~ init.c: In function 'SiS_SetCRT1FIFO_630': init.c:2634:12: warning: implicit declaration of function 'pciReadLong' [-Wimplicit-function-declaration] templ = pciReadLong(0x00000000, 0x50); ^~~~~~~~~~~ init.c:2659:4: warning: implicit declaration of function 'pciWriteLong'; did you mean 'miWideLine'? [-Wimplicit-function-declaration] pciWriteLong(0x00000000, 0x50, templ); ^~~~~~~~~~~~ miWideLine init.c: In function 'SiS_Handle760': init.c:3312:15: warning: implicit declaration of function 'pciReadWord' [-Wimplicit-function-declaration] somebase = pciReadWord(0x00001000, 0x74); ^~~~~~~~~~~ init.c:3333:4: warning: implicit declaration of function 'pciWriteByte'; did you mean 'InPortByte'? [-Wimplicit-function-declaration] pciWriteByte(0x00000000, 0x7e, temp1); ^~~~~~~~~~~~ InPortByte make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_3daccel.lo In file included from sis.h:75:0, from sis_3daccel.c:37: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_accel.lo In file included from sis.h:75:0, from sis_accel.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ sis_accel.c: In function 'SiSAccelInit': sis_accel.c:669:14: warning: implicit declaration of function 'exaGetVersion'; did you mean 'drmGetVersion'? [-Wimplicit-function-declaration] if(exaGetVersion() <= EXA_MAKE_VERSION(0, 1, 0)) { ^~~~~~~~~~~~~ drmGetVersion sis_accel.c:669:33: warning: implicit declaration of function 'EXA_MAKE_VERSION'; did you mean 'PACKAGE_VERSION'? [-Wimplicit-function-declaration] if(exaGetVersion() <= EXA_MAKE_VERSION(0, 1, 0)) { ^~~~~~~~~~~~~~~~ PACKAGE_VERSION make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_dga.lo In file included from sis.h:75:0, from sis_dga.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_cursor.lo In file included from sis.h:75:0, from sis_cursor.c:40: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_hwmc.lo sis_hwmc.c:46:22: warning: extra tokens at end of #ifndef directive #ifndef GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 ^ In file included from sis_hwmc.c:50: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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_dac.lo In file included from sis.h:75:0, from sis_dac.c:70: /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." ^~~~~~~ sis_dac.c: In function 'SiSRestore': sis_dac.c:485:5: warning: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Wimplicit-function-declaration] usleep(10000); ^~~~~~ fseek sis_dac.c: In function 'SiS300Save': sis_dac.c:547:31: warning: implicit declaration of function 'pciReadLong' [-Wimplicit-function-declaration] sisReg->sisRegsPCI50 = pciReadLong(0x00000000, 0x50); ^~~~~~~~~~~ sis_dac.c: In function 'SiS300Restore': sis_dac.c:700:8: warning: implicit declaration of function 'pciWriteLong'; did you mean 'miWideLine'? [-Wimplicit-function-declaration] pciWriteLong(0x00000000, 0x50, temp1); ^~~~~~~~~~~~ miWideLine make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_memcpy.lo In file included from sis.h:75:0, from sis_memcpy.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC init301.lo In file included from sis.h:75:0, from init301.h:60, from init301.c:76: /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." ^~~~~~~ init301.c: In function 'SiS_SetChrontelGPIO': init301.c:956:15: warning: implicit declaration of function 'pciReadLong' [-Wimplicit-function-declaration] acpibase = pciReadLong(0x00000800, 0x74); ^~~~~~~~~~~ init301.c: At top level: init301.c:8195:1: warning: return type defaults to 'int' [-Wimplicit-int] SiS_ModifyVB(struct SiS_Private *SiS_Pr) ^~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_mergedfb.lo In file included from sis.h:75:0, from sis_mergedfb.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ sis_mergedfb.c: In function 'SiSCopyModeNLink': sis_mergedfb.c:310:15: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(mode->name, namebuffer); ^~~~ 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/compiler.h:76, from sis.h:67, from sis_mergedfb.c:38: /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)) ^ sis_mergedfb.c: In function 'SiSMetaModeParseError': sis_mergedfb.c:547:45: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] "Error parsing Metamodes at character no %d (near or in \"%s\")\n", ~^ %ld curr - src, ~~~~~~~~~~ sis_mergedfb.c: In function 'SISMFBPointerMoved': sis_mergedfb.c:1502:4: warning: 'xf86BlockSIGIO' is deprecated [-Wdeprecated-declarations] sigstate = xf86BlockSIGIO(); ^~~~~~~~ In file included from sis.h:74:0, from sis_mergedfb.c:38: /usr/include/xorg/xf86.h:98:33: note: declared here static inline _X_DEPRECATED int xf86BlockSIGIO(void) { input_lock(); return 0; } ^~~~~~~~~~~~~~ sis_mergedfb.c:1503:4: warning: implicit declaration of function 'miPointerAbsoluteCursor'; did you mean 'miPointerWarpCursor'? [-Wimplicit-function-declaration] miPointerAbsoluteCursor(x, y, currentTime.milliseconds); ^~~~~~~~~~~~~~~~~~~~~~~ miPointerWarpCursor sis_mergedfb.c:1504:4: warning: 'xf86UnblockSIGIO' is deprecated [-Wdeprecated-declarations] xf86UnblockSIGIO(sigstate); ^~~~~~~~~~~~~~~~ In file included from sis.h:74:0, from sis_mergedfb.c:38: /usr/include/xorg/xf86.h:99:34: note: declared here static inline _X_DEPRECATED void xf86UnblockSIGIO(int wasset) { input_unlock(); } ^~~~~~~~~~~~~~~~ sis_mergedfb.c: In function 'SiSProcXineramaGetState': sis_mergedfb.c:2493:12: warning: implicit declaration of function 'LookupWindow'; did you mean 'dixLookupWindow'? [-Wimplicit-function-declaration] pWin = LookupWindow(stuff->window, client); ^~~~~~~~~~~~ dixLookupWindow sis_mergedfb.c:2493:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pWin = LookupWindow(stuff->window, client); ^ sis_mergedfb.c: In function 'SiSProcXineramaGetScreenCount': sis_mergedfb.c:2518:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pWin = LookupWindow(stuff->window, client); ^ sis_mergedfb.c: In function 'SiSProcXineramaGetScreenSize': sis_mergedfb.c:2543:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pWin = LookupWindow (stuff->window, client); ^ sis_mergedfb.c: In function 'SiSProcXineramaSelectInput': sis_mergedfb.c:2636:12: warning: implicit declaration of function 'SecurityLookupWindow'; did you mean 'dixLookupWindow'? [-Wimplicit-function-declaration] pWin = SecurityLookupWindow(stuff->window,client,DixWriteAccess); ^~~~~~~~~~~~~~~~~~~~ dixLookupWindow sis_mergedfb.c:2636:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pWin = SecurityLookupWindow(stuff->window,client,DixWriteAccess); ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_opt.lo In file included from sis.h:75:0, from sis_opt.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_setup.lo In file included from sis.h:75:0, from sis_setup.c:40: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_shadow.lo In file included from sis.h:75:0, from sis_shadow.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] #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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_utility.lo In file included from sis.h:75:0, from sis_utility.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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ sis_utility.c: In function 'SISUtilityDeviceSwitch': sis_utility.c:898:2: warning: implicit declaration of function 'SISCRT1PreInit'; did you mean 'SISVGAPreInit'? [-Wimplicit-function-declaration] SISCRT1PreInit(pScrn); /*redetecting CRT1, pSiS->CRT1detected will update.*/ ^~~~~~~~~~~~~~ SISVGAPreInit sis_utility.c: In function 'SISVGADetected': sis_utility.c:967:13: warning: implicit declaration of function 'SiS_DetectVGA1'; did you mean 'SiS_CF2_VGA2'? [-Wimplicit-function-declaration] detected = SiS_DetectVGA1(pScrn); ^~~~~~~~~~~~~~ SiS_CF2_VGA2 sis_utility.c: In function 'SiSHandleSiSDirectCommand': sis_utility.c:1770:44: warning: passing argument 2 of 'sisutil_prepare_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sisutil_prepare_string(sdcbuf, mypScrn->monitor->id); ^~~~~~~ sis_utility.c:977:1: note: expected 'char *' but argument is of type 'const char *' sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring) ^~~~~~~~~~~~~~~~~~~~~~ sis_utility.c:1793:47: warning: passing argument 2 of 'sisutil_prepare_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sisutil_prepare_string(sdcbuf, pSiSEnt->pScrn_1->monitor->id); ^~~~~~~ sis_utility.c:977:1: note: expected 'char *' but argument is of type 'const char *' sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring) ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_vga.lo In file included from sis.h:75:0, from sis_vga.c:43: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_vb.lo In file included from sis.h:75:0, from sis_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] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ sis_vb.c: In function 'SiS_SISDetectCRT1': sis_vb.c:97:8: warning: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Wimplicit-function-declaration] usleep(10000); ^~~~~~ fseek make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_dri.lo In file included from sis.h:75:0, from sis_dri.c:43: /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." ^~~~~~~ sis_dri.c: In function 'SISDRIScreenInit': sis_dri.c:434:9: warning: implicit declaration of function 'SISDRICloseScreen'; did you mean 'DRICloseScreen'? [-Wimplicit-function-declaration] SISDRICloseScreen(pScreen); ^~~~~~~~~~~~~~~~~ DRICloseScreen sis_dri.c: In function 'SISDRIFinishScreenInit': sis_dri.c:788:41: warning: assignment discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] pSiS->cmdQ_SharedWritePortBackup = pSiS->cmdQ_SharedWritePort; ^ sis_dri.c: At top level: sis_dri.c:814:1: warning: conflicting types for 'SISDRICloseScreen' SISDRICloseScreen(ScreenPtr pScreen) ^~~~~~~~~~~~~~~~~ sis_dri.c:434:9: note: previous implicit declaration of 'SISDRICloseScreen' was here SISDRICloseScreen(pScreen); ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_driver.lo In file included from sis.h:75:0, from sis_driver.c:79: /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." ^~~~~~~ In file included from sis_driver.c:108:0: /usr/include/X11/extensions/xf86dgastr.h:1:2: warning: #warning "xf86dgastr.h is obsolete and may be removed in the future." [-Wcpp] #warning "xf86dgastr.h is obsolete and may be removed in the future." ^~~~~~~ /usr/include/X11/extensions/xf86dgastr.h:2:2: warning: #warning "include for the protocol defines." [-Wcpp] #warning "include for the protocol defines." ^~~~~~~ sis_driver.c: In function 'SISFreeRec': sis_driver.c:741:12: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(pScrn->currentMode->name); ^~~~~ In file included from /usr/include/xorg/misc.h:154:0, from /usr/include/xorg/xf86Pci.h:107, from sis.h:68, from sis_driver.c:79: /usr/include/stdlib.h:563:13: note: expected 'void *' but argument is of type 'const char *' extern void free (void *__ptr) __THROW; ^~~~ sis_driver.c: In function 'SiS_CheckKernelFB': sis_driver.c:1016:20: warning: implicit declaration of function 'open'; did you mean 'Fopen'? [-Wimplicit-function-declaration] if((fd = open(name, 'r')) != -1) { ^~~~ Fopen sis_driver.c:1020:12: warning: implicit declaration of function 'ioctl'; did you mean 'outl'? [-Wimplicit-function-declaration] if(!ioctl(fd, SISFB_GET_INFO_SIZE, &sisfbinfosize)) { ^~~~~ outl sis_driver.c:1178:7: warning: implicit declaration of function 'close'; did you mean 'Fclose'? [-Wimplicit-function-declaration] close (fd); ^~~~~ Fclose sis_driver.c: In function 'SiSDuplicateMode': sis_driver.c:2833:14: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(dest->name, source->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/compiler.h:76, from sis.h:67, from sis_driver.c:79: /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)) ^ sis_driver.c: In function 'SISPreInit': sis_driver.c:3612:7: warning: implicit declaration of function 'pciReadLong' [-Wimplicit-function-declaration] if(pciReadLong(0x00000000, 0x00) == 0x07301039) { ^~~~~~~~~~~ sis_driver.c:5129:3: warning: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Wimplicit-function-declaration] usleep(10000); ^~~~~~ fseek sis_driver.c: In function 'SISScreenInit': sis_driver.c:9522:35: warning: implicit declaration of function 'SISDRIScreenInit'; did you mean 'SISScreenInit'? [-Wimplicit-function-declaration] pSiS->directRenderingEnabled = SISDRIScreenInit(pScreen); ^~~~~~~~~~~~~~~~ SISScreenInit sis_driver.c:9848:42: warning: implicit declaration of function 'SISDRIFinishScreenInit'; did you mean 'DRIFinishScreenInit'? [-Wimplicit-function-declaration] pSiS->directRenderingEnabled = SISDRIFinishScreenInit(pScreen); ^~~~~~~~~~~~~~~~~~~~~~ DRIFinishScreenInit sis_driver.c: In function 'SISLeaveVT': sis_driver.c:10673:35: warning: passing argument 1 of 'xf86ScreenToScrn' from incompatible pointer type [-Wincompatible-pointer-types] pScreen = xf86ScreenToScrn(pScrn); ^~~~~ In file included from sis.h:74:0, from sis_driver.c:79: /usr/include/xorg/xf86.h:413:30: note: expected 'ScreenPtr {aka struct _Screen *}' but argument is of type 'ScrnInfoPtr {aka struct _ScrnInfoRec *}' extern _X_EXPORT ScrnInfoPtr xf86ScreenToScrn(ScreenPtr pScreen); ^~~~~~~~~~~~~~~~ sis_driver.c:10673:16: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] pScreen = xf86ScreenToScrn(pScrn); ^ sis_driver.c: In function 'SISCloseScreen': sis_driver.c:10757:8: warning: implicit declaration of function 'SISDRICloseScreen'; did you mean 'SISCloseScreen'? [-Wimplicit-function-declaration] SISDRICloseScreen(pScreen); ^~~~~~~~~~~~~~~~~ SISCloseScreen sis_driver.c: In function 'SiS_GetSetBIOSScratch': sis_driver.c:10981:75: warning: passing argument 5 of 'pci_device_map_legacy' from incompatible pointer type [-Wincompatible-pointer-types] (void) pci_device_map_legacy(SISPTR(pScrn)->PciInfo, 0, 0x2000, 1, &base); // HA HA HA MAGIC NUMBER ^ In file included from /usr/include/xorg/xf86Pci.h:108:0, from sis.h:68, from sis_driver.c:79: /usr/include/pciaccess.h:546:5: note: expected 'void **' but argument is of type 'UChar ** {aka unsigned char **}' int pci_device_map_legacy(struct pci_device *dev, pciaddr_t base, ^~~~~~~~~~~~~~~~~~~~~ sis_driver.c: In function 'SISHotkeySwitchMode': sis_driver.c:11275:8: warning: implicit declaration of function 'VidModeGetCurrentModeline' [-Wimplicit-function-declaration] if(!VidModeGetCurrentModeline(pScrn->scrnIndex,&hkeymode,&dotClock)) ^~~~~~~~~~~~~~~~~~~~~~~~~ sis_driver.c:11278:8: warning: implicit declaration of function 'VidModeGetFirstModeline' [-Wimplicit-function-declaration] if(!VidModeGetFirstModeline(pScrn->scrnIndex,&hkeymode,&dotClock)) ^~~~~~~~~~~~~~~~~~~~~~~ sis_driver.c:11282:12: warning: implicit declaration of function 'VidModeGetDotClock' [-Wimplicit-function-declaration] if((VidModeGetDotClock(pScrn->scrnIndex,dotclock)==dotClock)&&(VidModeGetModeValue(hkeymode,0)==hdisplay)) ^~~~~~~~~~~~~~~~~~ sis_driver.c:11282:71: warning: implicit declaration of function 'VidModeGetModeValue' [-Wimplicit-function-declaration] if((VidModeGetDotClock(pScrn->scrnIndex,dotclock)==dotClock)&&(VidModeGetModeValue(hkeymode,0)==hdisplay)) ^~~~~~~~~~~~~~~~~~~ sis_driver.c:11292:11: warning: implicit declaration of function 'VidModeSwitchMode'; did you mean 'SISHotkeySwitchMode'? [-Wimplicit-function-declaration] if(!VidModeSwitchMode(pScrn->scrnIndex,hkeymode)) ^~~~~~~~~~~~~~~~~ SISHotkeySwitchMode sis_driver.c:11299:12: warning: implicit declaration of function 'VidModeGetNextModeline' [-Wimplicit-function-declaration] } while(VidModeGetNextModeline(pScrn->scrnIndex,&hkeymode,&dotClock)); ^~~~~~~~~~~~~~~~~~~~~~ sis_driver.c: In function 'SISPMEvent': sis_driver.c:11337:17: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(0); ^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CC sis_video.lo In file included from sis.h:75:0, from sis_video.c:107: /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-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' CCLD sisimedia_drv.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' Making all in man make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' /usr/bin/cpp -undef -traditional -D__vendorversion__="\"xf86-video-sis 0.9.1\" \"X Version 11\"" -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__xconfigfile__=xorg.conf -D__xservername__=Xorg < sis.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > sis.4 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' make[2]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uFh7WH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 + cd xf86-video-sis-0.9.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-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 install Making install in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -c sisimedia_drv.la '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -c .libs/sisimedia_drv.so /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/lib64/xorg/modules/drivers/sisimedia_drv.so libtool: install: /usr/bin/install -c .libs/sisimedia_drv.lai /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/lib64/xorg/modules/drivers/sisimedia_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/src' Making install in man make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/share/man/man4' /usr/bin/install -c -m 644 sis.4 '/home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/share/man/man4' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1/man' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.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-sis-0.9.1' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xf86-video-sis-0.9.1' + rm -f /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/share/man/man4/sis.4 + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 0.9.1-9.20091203.26.mga7 --unique-debug-suffix -0.9.1-9.20091203.26.mga7.x86_64 --unique-debug-src-base x11-driver-video-sisimedia-0.9.1-9.20091203.26.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-sis-0.9.1 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64/usr/lib64/xorg/modules/drivers/sisimedia_drv.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 4619 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-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 Provides: libtool(/usr/lib64/xorg/modules/drivers/sisimedia_drv.la) x11-driver-video-sisimedia = 0.9.1-9.20091203.26.mga7 x11-driver-video-sisimedia(x86-64) = 0.9.1-9.20091203.26.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.11)(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 Obsoletes: x11-driver-video-sis-imedia < 0.9.1-9.20091203.26.mga7 Processing files: x11-driver-video-sisimedia-debugsource-0.9.1-9.20091203.26.mga7.x86_64 Provides: x11-driver-video-sisimedia-debugsource = 0.9.1-9.20091203.26.mga7 x11-driver-video-sisimedia-debugsource(x86-64) = 0.9.1-9.20091203.26.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-sisimedia-debuginfo-0.9.1-9.20091203.26.mga7.x86_64 Provides: debuginfo(build-id) = 3248ca665f42c8a94c27bb77c026c3d2e12426e1 x11-driver-video-sisimedia-debuginfo = 0.9.1-9.20091203.26.mga7 x11-driver-video-sisimedia-debuginfo(x86-64) = 0.9.1-9.20091203.26.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11-driver-video-sisimedia-debugsource(x86-64) = 0.9.1-9.20091203.26.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-sisimedia-debugsource-0.9.1-9.20091203.26.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11-driver-video-sisimedia-debuginfo-0.9.1-9.20091203.26.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UJpINH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xf86-video-sis-0.9.1 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/x11-driver-video-sisimedia-0.9.1-9.20091203.26.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8VoXFH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf xf86-video-sis-0.9.1 + exit 0 D: [iurt_root_command] Success!