+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xscope.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3VnPFs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xscope-1.4.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xscope-1.4.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xscope-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ljKQaA + umask 022 + cd /builddir/build/BUILD + cd xscope-1.4.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./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 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 for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no 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... none 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc option to accept ISO C99... none needed 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 Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... (cached) yes checking if Xtrans should support UNIX socket connections... yes checking if Xtrans should support TCP socket connections... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for getaddrinfo... yes checking if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... no checking for socklen_t... yes checking for struct msghdr.msg_control... yes checking if Xtrans should support os-specific local connections... no checking for XSCOPE... yes checking for getdtablesize... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xscope-1.4.1' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xscope-1.4.1/man' GEN xscope.1 make[2]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1/man' make[2]: Entering directory '/builddir/build/BUILD/xscope-1.4.1' CC audio.o CC common.o CC decode11.o CC decode_bigreq.o CC decode_glx.o CC decode_lbx.o CC decode_randr.o CC decode_render.o CC decode_shm.o CC decode_wcp.o CC decodenas.o CC extensions.o CC fd.o decodenas.c: In function 'DecodeAudioError': decodenas.c:318:11: warning: unused variable 'Error' [-Wunused-variable] short Error = IByte(&buf[1]); ^~~~~ CC print11.o fd.c: In function 'MainLoop': fd.c:420:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] MainLoop(void) ^~~~~~~~ CC print_bigreq.o CC print_glx.o CC print_lbx.o CC print_randr.o print_randr.c: In function 'RandrOldGetScreenInfoReply': print_randr.c:85:20: warning: variable 'ngvg' set but not used [-Wunused-but-set-variable] unsigned short ngvg; ^~~~ print_randr.c:84:20: warning: variable 'nvg' set but not used [-Wunused-but-set-variable] unsigned short nvg; ^~~ print_randr.c:83:20: warning: variable 'nsize' set but not used [-Wunused-but-set-variable] unsigned short nsize; ^~~~~ CC print_render.o CC print_shm.o print_render.c: In function 'RenderQueryPictFormatsReply': print_render.c:82:10: warning: variable 'v' set but not used [-Wunused-but-set-variable] long v; ^ print_render.c:81:10: warning: variable 'd' set but not used [-Wunused-but-set-variable] long d; ^ print_render.c:80:10: warning: variable 's' set but not used [-Wunused-but-set-variable] long s; ^ print_render.c:78:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] long n; ^ CC print_wcp.o print_wcp.c: In function 'WcpAnalyzeImage1RLL': print_wcp.c:73:39: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] fprintf(stdout, "%s %9d %9d:", Leader, y, (char *) data - buf); ~~^ ~~~~~~~~~~~~~~~~~~~ %9ld print_wcp.c:103:42: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] fprintf(stdout, "%s%20s: %d, %d %d\n", Leader, error, ~^ %ld x, y - 1, (char *) data - buf); ~~~~~~~~~~~~~~~~~~~ print_wcp.c: In function 'WcpAnalyzeImageNLRU': print_wcp.c:180:39: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] fprintf(stdout, "%s %9d %9d:", Leader, y, (char *) data - buf); ~~^ ~~~~~~~~~~~~~~~~~~~ %9ld print_wcp.c:220:43: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'PIXEL {aka long unsigned int}' [-Wformat=] fprintf(stdout, " %3ld:%0*x", run, bytes * 2, pix); ~~~^ %0*lx print_wcp.c:229:42: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] fprintf(stdout, "%s%20s: %d, %d %d\n", Leader, error, ~^ %ld x, y - 1, (char *) data - buf); ~~~~~~~~~~~~~~~~~~~ CC printnas.o CC prtype.o printnas.c: In function 'PrintSuccessfulAudioSetUpReply': printnas.c:105:11: warning: variable 'm' set but not used [-Wunused-but-set-variable] short m; ^ printnas.c:104:11: warning: variable 'n' set but not used [-Wunused-but-set-variable] short n; ^ printnas.c: In function 'AudioListDevicesReply': printnas.c:326:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] long n; ^ printnas.c: In function 'AuDeviceAttributes': printnas.c:354:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l; ^ At top level: printnas.c:221:1: warning: 'AudioImplementationError' defined but not used [-Wunused-function] AudioImplementationError(const unsigned char *buf) ^~~~~~~~~~~~~~~~~~~~~~~~ printnas.c:210:1: warning: 'AudioLengthError' defined but not used [-Wunused-function] AudioLengthError(const unsigned char *buf) ^~~~~~~~~~~~~~~~ printnas.c:198:1: warning: 'AudioIDChoiceError' defined but not used [-Wunused-function] AudioIDChoiceError(const unsigned char *buf) ^~~~~~~~~~~~~~~~~~ printnas.c:187:1: warning: 'AudioAllocError' defined but not used [-Wunused-function] AudioAllocError(const unsigned char *buf) ^~~~~~~~~~~~~~~ printnas.c:176:1: warning: 'AudioAccessError' defined but not used [-Wunused-function] AudioAccessError(const unsigned char *buf) ^~~~~~~~~~~~~~~~ printnas.c:165:1: warning: 'AudioMatchError' defined but not used [-Wunused-function] AudioMatchError(const unsigned char *buf) ^~~~~~~~~~~~~~~ printnas.c:153:1: warning: 'AudioValueError' defined but not used [-Wunused-function] AudioValueError(const unsigned char *buf) ^~~~~~~~~~~~~~~ printnas.c:142:1: warning: 'AudioRequestError' defined but not used [-Wunused-function] AudioRequestError(const unsigned char *buf) ^~~~~~~~~~~~~~~~~ CC scope-transport.o CC scope.o scope.c: In function 'FlushFD': scope.c:1054:38: warning: logical 'and' of equal expressions [-Wlogical-op] if (errno != EWOULDBLOCK && errno != EAGAIN) { ^~ scope.c: In function 'DataFromRawFile': scope.c:1374:23: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (fgets(FDinfo[rawfd].buffer, BUFFER_SIZE, raw) == NULL) { ^~~~~~ In file included from /usr/include/stdio.h:861:0, from scope.h:58, from scope.c:51: /usr/include/bits/stdio2.h:255:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ scope.c:1378:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] FDinfo[rawfd].bufcount = strlen(FDinfo[rawfd].buffer); ^~~~~~ In file included from /usr/include/X11/Xos.h:62:0, from scope.h:56, from scope.c:51: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ scope.c:1382:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] in = FDinfo[rawfd].buffer; ^ scope.c:1470:30: warning: pointer targets in passing argument 1 of 'warn' differ in signedness [-Wpointer-sign] warn(FDinfo[rawfd].buffer); ^~~~~~ In file included from scope.h:127:0, from scope.c:51: proto.h:6:13: note: expected 'const char *' but argument is of type 'unsigned char *' extern void warn(const char *s); ^~~~ CC server.o CC table11.o CCLD xscope make[2]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1' make[1]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XNDOvy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 + cd xscope-1.4.1 + make install DESTDIR=/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 Making install in man make[1]: Entering directory '/builddir/build/BUILD/xscope-1.4.1/man' make[2]: Entering directory '/builddir/build/BUILD/xscope-1.4.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 xscope.1 '/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1/man' make[1]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1/man' make[1]: Entering directory '/builddir/build/BUILD/xscope-1.4.1' make[2]: Entering directory '/builddir/build/BUILD/xscope-1.4.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/bin' /usr/bin/install -c xscope '/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1' make[1]: Leaving directory '/builddir/build/BUILD/xscope-1.4.1' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xscope-1.4.1-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gIJe1g + umask 022 + cd /builddir/build/BUILD + cd xscope-1.4.1 + DOCDIR=/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + cp -pr AUTHORS /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + cp -pr NEWS /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + cp -pr ChangeLog /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + cp -pr README /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/doc/xscope + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g06z5w + umask 022 + cd /builddir/build/BUILD + cd xscope-1.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/licenses/xscope + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/licenses/xscope + cp -pr COPYING /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64/usr/share/licenses/xscope + exit 0 Provides: xscope = 1.4.1-7.fc28 xscope(riscv-64) = 1.4.1-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/xscope-1.4.1-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xscope-1.4.1-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qBlYpe + umask 022 + cd /builddir/build/BUILD + cd xscope-1.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xscope-1.4.1-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff