+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xteddy.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.7Usuzs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xteddy-2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/xteddy-2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xteddy-2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Link-against-Xext.patch):' Patch #0 (0001-Link-against-Xext.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dc3Yg0 + umask 022 + cd /builddir/build/BUILD + cd xteddy-2.2 + 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 /builddir/build/BUILD/xteddy-2.2/missing: Unknown `--run' option Try `/builddir/build/BUILD/xteddy-2.2/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... 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 for IMLIB2... yes configure: creating ./config.status config.status: creating Makefile config.status: creating html/Makefile config.status: creating images/Makefile config.status: executing depfiles commands + make -j4 Making all in html make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2/html' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2/html' Making all in images make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2/images' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2/images' make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2' gcc -DPIXMAP_PATH=\"/usr/share/xteddy\" -Wall -I. -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 -c xteddy.c xteddy.c: In function 'main': xteddy.c:203:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( (!strncmp(argv[argnum],"-F", 2)) || ( (!strncmp(argv[argnum],"-f", 2)) && (strcmp(argv[argnum],"-float")) ) ) ^~ xteddy.c:205:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (strlen(teddy) == 0){ /* accept "-f " as well as "-f" */ ^~ xteddy.c:156:24: warning: variable 'charcount' set but not used [-Wunused-but-set-variable] int charcount; ^~~~~~~~~ gcc -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 -lImlib2 -lX11 -lXext -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xteddy xteddy.o make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5JHYxg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64 + cd xteddy-2.2 + make install DESTDIR=/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64 Making install in html make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2/html' make[2]: Entering directory '/builddir/build/BUILD/xteddy-2.2/html' 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/xteddy-2.2/html' make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2/html' Making install in images make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2/images' make[2]: Entering directory '/builddir/build/BUILD/xteddy-2.2/images' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/xteddy" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy" /usr/bin/install -c -m 644 'teddy.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/teddy.png' /usr/bin/install -c -m 644 'xteddy.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xteddy.png' /usr/bin/install -c -m 644 'xpenguin.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xpenguin.png' /usr/bin/install -c -m 644 'xduck.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xduck.png' /usr/bin/install -c -m 644 'xtuxxy.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xtuxxy.png' /usr/bin/install -c -m 644 'xalex.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xalex.png' /usr/bin/install -c -m 644 'xbobo.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xbobo.png' /usr/bin/install -c -m 644 'xklitze.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xklitze.png' /usr/bin/install -c -m 644 'xruessel.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xruessel.png' /usr/bin/install -c -m 644 'xnamu.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xnamu.png' /usr/bin/install -c -m 644 'xbrummi.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xbrummi.png' /usr/bin/install -c -m 644 'xorca.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xorca.png' /usr/bin/install -c -m 644 'xcherubino.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xcherubino.png' /usr/bin/install -c -m 644 'xhedgehog.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xhedgehog.png' /usr/bin/install -c -m 644 'xpuppy.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xpuppy.png' /usr/bin/install -c -m 644 'xtrouble.png' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/xtrouble.png' make[2]: Leaving directory '/builddir/build/BUILD/xteddy-2.2/images' make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2/images' make[1]: Entering directory '/builddir/build/BUILD/xteddy-2.2' make[2]: Entering directory '/builddir/build/BUILD/xteddy-2.2' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/bin" /usr/bin/install -c 'xteddy' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/bin/xteddy' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/bin" /usr/bin/install -c 'xtoys' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/bin/xtoys' /usr/bin/install -c 'xteddy_test' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/bin/xteddy_test' test -z "/usr/share/man/man6" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/man/man6" /usr/bin/install -c -m 644 './xteddy.6' '/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/man/man6/xteddy.6' make[2]: Leaving directory '/builddir/build/BUILD/xteddy-2.2' make[1]: Leaving directory '/builddir/build/BUILD/xteddy-2.2' + install -p -m644 /builddir/build/SOURCES/kacicka.png /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/xteddy/ + /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: xteddy-2.2-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9ZIWRq + umask 022 + cd /builddir/build/BUILD + cd xteddy-2.2 + DOCDIR=/builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr COPYING /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr README /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr AUTHORS /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr ChangeLog /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr NEWS /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr xteddy.README /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + cp -pr images.credit /builddir/build/BUILDROOT/xteddy-2.2-8.fc28.riscv64/usr/share/doc/xteddy + exit 0 Provides: xteddy = 2.2-8.fc28 xteddy(riscv-64) = 2.2-8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libImlib2.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(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/xteddy-2.2-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/xteddy-2.2-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xteddy-2.2-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dpjWfw + umask 022 + cd /builddir/build/BUILD + cd xteddy-2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xteddy-2.2-8.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