Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-drv-sisusb.spec'], chrootPath='/var/lib/mock/f33-build-301977-56876/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-drv-sisusb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/xorg-x11-drv-sisusb-0.9.6-34.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-drv-sisusb.spec'], chrootPath='/var/lib/mock/f33-build-301977-56876/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-drv-sisusb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ymTqGf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xf86-video-sisusb-0.9.6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xf86-video-sisusb-0.9.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-sisusb-0.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Remove-mibstore.h.patch):' Patch #0 (0001-Remove-mibstore.h.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/sisusb_driver.c Patch #1 (0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch): + echo 'Patch #1 (0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/compat-api.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6RVaMh + umask 022 + cd /builddir/build/BUILD + cd xf86-video-sisusb-0.9.6 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying 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. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:41: installing './compile' configure.ac:34: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 06:11:16.855961972 -0400 +++ ./configure 2020-08-15 06:12:13.745960103 -0400 @@ -1850,7 +1850,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 06:12:13.745960103 -0400 +++ ./configure 2020-08-15 06:12:14.855960067 -0400 @@ -12717,7 +12717,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19559,7 +19559,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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 riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 12671: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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 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 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' Making all in src make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' CC sisusb_accel.lo CC sisusb_dac.lo CC sisusb_driver.lo CC sisusb_cursor.lo In file included from sisusb_cursor.c:39: sisusb_cursor.c: In function 'SiSUSBLoadCursorImage': sisusb_cursor.h:46:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 46 | pSiSUSB->HWCursorBackup[0] &= 0xbfffffff; \ | ^~~~~~~ sisusb_cursor.c:151:17: note: in expansion of macro 'sisusbSetCursorStatus' 151 | if(status1) sisusbSetCursorStatus(status1) | ^~~~~~~~~~~~~~~~~~~~~ sisusb_cursor.c:151:5: note: some parts of macro expansion are not guarded by this 'if' clause 151 | if(status1) sisusbSetCursorStatus(status1) | ^~ In file included from sisusb_cursor.c:39: sisusb_cursor.c: In function 'SiSUSBLoadCursorImageARGB': sisusb_cursor.h:46:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 46 | pSiSUSB->HWCursorBackup[0] &= 0xbfffffff; \ | ^~~~~~~ sisusb_cursor.c:253:17: note: in expansion of macro 'sisusbSetCursorStatus' 253 | if(status1) sisusbSetCursorStatus(status1) | ^~~~~~~~~~~~~~~~~~~~~ sisusb_cursor.c:253:5: note: some parts of macro expansion are not guarded by this 'if' clause 253 | if(status1) sisusbSetCursorStatus(status1) | ^~ sisusb_driver.c: In function 'SISUSBFreeRec': sisusb_driver.c:201:18: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 201 | free(pScrn->chipset); | ~~~~~^~~~~~~~~ In file included from /usr/include/xorg/misc.h:139, from /usr/include/xorg/xf86str.h:37, from /usr/include/xorg/xf86Privstr.h:37, from /usr/include/xorg/xf86Priv.h:38, from sisusb.h:84, from sisusb_driver.c:36: /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'const char *' 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ sisusb_driver.c: In function 'SiSUSBFindUSBDongle': sisusb_driver.c:302:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 302 | else p = dev->busID; | ^ sisusb_driver.c:304:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 304 | p = dev->busID; | ^ sisusb_driver.c: In function 'SISUSBPreInit': sisusb_driver.c:836:37: warning: passing argument 1 of 'SiSUSBCheckForUSBDongle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 836 | if(SiSUSBCheckForUSBDongle(pScrn->chipset, pSiSUSB, &pSiSUSB->sisusbdev) < 0) { | ~~~~~^~~~~~~~~ sisusb_driver.c:240:31: note: expected 'char *' but argument is of type 'const char *' 240 | SiSUSBCheckForUSBDongle(char *filename, SISUSBPtr pSiSUSB, int *filehandle) | ~~~~~~^~~~~~~~ sisusb_driver.c:889:38: warning: variable 'sisfbversion' set but not used [-Wunused-but-set-variable] 889 | CARD32 sisfbinfosize = 0, sisfbversion; | ^~~~~~~~~~~~ sisusb_driver.c: In function 'SISUSBBlockHandler': sisusb_driver.c:1648:36: warning: passing argument 1 of 'SiSUSBCheckForUSBDongle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1648 | if(SiSUSBCheckForUSBDongle(pScrn->chipset, pSiSUSB, &pSiSUSB->sisusbdev) >= 0) { | ~~~~~^~~~~~~~~ sisusb_driver.c:240:31: note: expected 'char *' but argument is of type 'const char *' 240 | SiSUSBCheckForUSBDongle(char *filename, SISUSBPtr pSiSUSB, int *filehandle) | ~~~~~~^~~~~~~~ sisusb_dac.c: In function 'orSISREG': sisusb_dac.c:760:8: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 760 | read(pSiSUSB->sisusbdev, &tmp, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sisusb_dac.c: In function 'andSISREG': sisusb_dac.c:775:8: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 775 | read(pSiSUSB->sisusbdev, &tmp, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sisusb_init.lo CC sisusb_opt.lo In file included from /usr/include/string.h:519, from sisusb.h:40, from sisusb_driver.c:36: In function 'strncpy', inlined from 'SISUSBPreInit' at sisusb_driver.c:954:11, inlined from 'SISUSBPreInit' at sisusb_driver.c:743:1: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sisusb_init.c: In function 'SiS_SetCRT1ModeRegs': sisusb_init.c:758:19: warning: variable 'xres' set but not used [-Wunused-but-set-variable] 758 | USHORT resindex,xres; | ^~~~ sisusb_init.c: In function 'SiSUSBBuildBuiltInModeList': sisusb_init.c:1318:22: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1318 | sprintf(current->name, "%dx%d", pSiSUSB->SiS_Pr->SiS_RefIndex[i].XRes, | ~~~~~~~^~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from sisusb.h:35, from sisusb_init.h:54, from sisusb_init.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'const char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ CC sisusb_setup.lo CC sisusb_shadow.lo CC sisusb_utility.lo sisusb_init.c:1318:34: warning: '%d' directive writing between 1 and 5 bytes into a region of size between 4 and 8 [-Wformat-overflow=] 1318 | sprintf(current->name, "%dx%d", pSiSUSB->SiS_Pr->SiS_RefIndex[i].XRes, | ^~ sisusb_init.c:1318:30: note: directive argument in the range [0, 65535] 1318 | sprintf(current->name, "%dx%d", pSiSUSB->SiS_Pr->SiS_RefIndex[i].XRes, | ^~~~~~~ In file included from /usr/include/stdio.h:866, from sisusb.h:39, from sisusb_init.h:54, from sisusb_init.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 12 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sisusb_vga.lo sisusb_utility.c: In function 'SiSHandleSiSDirectCommand': sisusb_utility.c:592:55: warning: passing argument 2 of 'sisutil_prepare_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 592 | sisutil_prepare_string(sdcbuf, pScrn->monitor->id); | ~~~~~~~~~~~~~~^~~~ sisusb_utility.c:265:60: note: expected 'char *' but argument is of type 'const char *' 265 | sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring) | ~~~~~~^~~~~~~~ sisusb_utility.c: In function 'SiSUSBProcSiSCtrlQueryVersion': sisusb_utility.c:781:21: warning: unused variable 'n' [-Wunused-variable] 781 | register int n; | ^ sisusb_utility.c: In function 'SiSUSBProcSiSCtrlCommand': sisusb_utility.c:806:19: warning: unused variable 'n' [-Wunused-variable] 806 | register int n; | ^ sisusb_utility.c: In function 'SiSUSBSProcSiSCtrlQueryVersion': sisusb_utility.c:869:18: warning: unused variable 'n' [-Wunused-variable] 869 | register int n; | ^ sisusb_utility.c: In function 'SiSUSBSProcSiSCtrlCommand': sisusb_utility.c:879:18: warning: unused variable 'n' [-Wunused-variable] 879 | register int n; | ^ CC sisusb_video.lo In file included from /usr/include/string.h:519, from sisusb.h:40, from sisusb_utility.c:36: In function 'strncpy', inlined from 'sisutil_prepare_string' at sisusb_utility.c:272:7, inlined from 'SiSHandleSiSDirectCommand' at sisusb_utility.c:592:10: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sisusb_utility.c: In function 'SiSHandleSiSDirectCommand': sisusb_utility.c:270:14: note: length computed here 270 | slen = strlen(mystring); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from sisusb.h:40, from sisusb_utility.c:36: In function 'strncpy', inlined from 'sisutil_prepare_string' at sisusb_utility.c:272:7, inlined from 'SiSHandleSiSDirectCommand' at sisusb_utility.c:586:7: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sisusb_utility.c: In function 'SiSHandleSiSDirectCommand': sisusb_utility.c:270:14: note: length computed here 270 | slen = strlen(mystring); | ^~~~~~~~~~~~~~~~ CCLD sisusb_drv.la sisusb_dac.h:48:13: warning: type of 'SiSUSBRegInit' does not match original declaration [-Wlto-type-mismatch] 48 | extern void SiSUSBRegInit(SiS_Private *SiS_Pr, USHORT BaseAddr); | ^ sisusb_init.c:194:1: note: type mismatch in parameter 2 194 | SiSUSBRegInit(SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr) | ^ sisusb_init.c:194:1: note: type 'SISIOADDRESS' should match type 'USHORT' sisusb_init.c:194:1: note: 'SiSUSBRegInit' was previously declared here sisusb_init.c:194:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'strncpy', inlined from 'sisutil_prepare_string' at sisusb_utility.c:272:7, inlined from 'SiSHandleSiSDirectCommand' at sisusb_utility.c:592:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ sisusb_utility.c: In function 'SiSHandleSiSDirectCommand': sisusb_utility.c:270:14: note: length computed here 270 | slen = strlen(mystring); | ^ In function 'strncpy', inlined from 'sisutil_prepare_string' at sisusb_utility.c:272:7, inlined from 'SiSHandleSiSDirectCommand' at sisusb_utility.c:586:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ sisusb_utility.c: In function 'SiSHandleSiSDirectCommand': sisusb_utility.c:270:14: note: length computed here 270 | slen = strlen(mystring); | ^ make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' GEN sisusb.4 make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jx3Y4e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 + cd xf86-video-sisusb-0.9.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -p sisusb_drv.la '/builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -p .libs/sisusb_drv.so /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers/sisusb_drv.so libtool: install: /usr/bin/install -p .libs/sisusb_drv.lai /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers/sisusb_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/share/man/man4' /usr/bin/install -p -m 644 sisusb.4 '/builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/share/man/man4' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6/man' make[1]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-sisusb-0.9.6' + find /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 -regex '.*.la$' + xargs rm -f -- + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.6-34.fc33 --unique-debug-suffix -0.9.6-34.fc33.riscv64 --unique-debug-src-base xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xf86-video-sisusb-0.9.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers/sisusb_drv.so extracting debug info from /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64/usr/lib64/xorg/modules/drivers/sisusb_drv.so original debug info size: 1492kB, size after compression: 1256kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 801 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 Provides: xorg-x11-drv-sisusb = 0.9.6-34.fc33 xorg-x11-drv-sisusb(riscv-64) = 0.9.6-34.fc33 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.27)(64bit) rtld(GNU_HASH) Processing files: xorg-x11-drv-sisusb-debugsource-0.9.6-34.fc33.riscv64 Provides: xorg-x11-drv-sisusb-debugsource = 0.9.6-34.fc33 xorg-x11-drv-sisusb-debugsource(riscv-64) = 0.9.6-34.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xorg-x11-drv-sisusb-debuginfo-0.9.6-34.fc33.riscv64 Provides: debuginfo(build-id) = 90512aa5adb50ce481db2378c7da5c4c75ee45db xorg-x11-drv-sisusb-debuginfo = 0.9.6-34.fc33 xorg-x11-drv-sisusb-debuginfo(riscv-64) = 0.9.6-34.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xorg-x11-drv-sisusb-debugsource(riscv-64) = 0.9.6-34.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 Wrote: /builddir/build/RPMS/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-drv-sisusb-debuginfo-0.9.6-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-drv-sisusb-debugsource-0.9.6-34.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k4lA1i + umask 022 + cd /builddir/build/BUILD + cd xf86-video-sisusb-0.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-sisusb-0.9.6-34.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0