Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/f31-build-48029-26972/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/2048-cli.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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 14: %endif # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %else directive in line 22: %else # 0%%{?fedora} || 0%%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 24: %endif # 0%%{?fedora} || 0%%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %else directive in line 36: %else # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 39: %endif # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 66: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 81: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 96: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 122: %endif # %%{with sdl} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/2048-cli-0.9.1-7.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/f31-build-48029-26972/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/2048-cli.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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 14: %endif # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %else directive in line 22: %else # 0%%{?fedora} || 0%%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 24: %endif # 0%%{?fedora} || 0%%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %else directive in line 36: %else # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 39: %endif # 0%%{?rel_build} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 66: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 81: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 96: %endif # %%{with sdl} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 122: %endif # %%{with sdl} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uU80mk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf 2048-cli-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/2048-cli-0.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd 2048-cli-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.84mUsl + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + export TTF_FONT_PATH=/usr/share/fonts/liberation/LiberationMono-Regular.ttf + TTF_FONT_PATH=/usr/share/fonts/liberation/LiberationMono-Regular.ttf + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: /var/tmp/rpm-tmp.84mUsl: line 47: ./configure: No such file or directory + : + /usr/bin/make -j4 terminal + /usr/bin/mv -f 2048 2048nc + /usr/bin/make -j4 sdl + /usr/bin/mv -f 2048 2048sdl + /usr/bin/make -j4 curses + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/options.c src/main.c src/highscore.c src/engine.c src/merge_std.c src/gfx_terminal.c -o 2048 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/options.c src/main.c src/highscore.c src/engine.c src/merge_std.c src/gfx_sdl.c -o 2048 -I/usr/include/SDL2 -D_REENTRANT -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lSDL2 -lSDL2_ttf cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/options.c src/main.c src/highscore.c src/engine.c src/merge_std.c src/gfx_curses.c -o 2048 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcurses Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.13WREm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 + cd 2048-cli-0.9.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/doc/2048-cli + /usr/bin/install -pm 0755 2048 2048nc /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/man/man1/2048.1 + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/man/man1/2048nc.1 + /usr/bin/install -pm 0755 2048sdl /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/man/man1/2048sdl.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.1-7.fc31 --unique-debug-suffix -0.9.1-7.fc31.riscv64 --unique-debug-src-base 2048-cli-0.9.1-7.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/2048-cli-0.9.1 BUILDSTDERR: 61 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048sdl explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048nc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048 extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048sdl extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048nc extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/bin/2048 original debug info size: 260kB, size after compression: 236kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Processing files: 2048-cli-0.9.1-7.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TsWyqj + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + DOCDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/doc/2048-cli + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/doc/2048-cli + cp -pr README.md /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/doc/2048-cli + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wizvHk + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + LICENSEDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/licenses/2048-cli + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/licenses/2048-cli + cp -pr LICENSE /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64/usr/share/licenses/2048-cli + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: 2048-cli = 0.9.1-7.fc31 2048-cli(riscv-64) = 0.9.1-7.fc31 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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: 2048-cli-nocurses-0.9.1-7.fc31.riscv64 Provides: 2048-cli-nocurses = 0.9.1-7.fc31 2048-cli-nocurses(riscv-64) = 0.9.1-7.fc31 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) Processing files: 2048-cli-sdl-0.9.1-7.fc31.riscv64 Provides: 2048-cli-sdl = 0.9.1-7.fc31 2048-cli-sdl(riscv-64) = 0.9.1-7.fc31 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) libSDL2-2.0.so.0()(64bit) libSDL2_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: 2048-cli-debugsource-0.9.1-7.fc31.riscv64 Provides: 2048-cli-debugsource = 0.9.1-7.fc31 2048-cli-debugsource(riscv-64) = 0.9.1-7.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: 2048-cli-debuginfo-0.9.1-7.fc31.riscv64 Provides: 2048-cli-debuginfo = 0.9.1-7.fc31 2048-cli-debuginfo(riscv-64) = 0.9.1-7.fc31 debuginfo(build-id) = 139c7b1c58ce475a16382389bdebaf7492c0750c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(riscv-64) = 0.9.1-7.fc31 Processing files: 2048-cli-nocurses-debuginfo-0.9.1-7.fc31.riscv64 Provides: 2048-cli-nocurses-debuginfo = 0.9.1-7.fc31 2048-cli-nocurses-debuginfo(riscv-64) = 0.9.1-7.fc31 debuginfo(build-id) = 0bf8380fd469c225711627029e89316ca52bcd54 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(riscv-64) = 0.9.1-7.fc31 Processing files: 2048-cli-sdl-debuginfo-0.9.1-7.fc31.riscv64 Provides: 2048-cli-sdl-debuginfo = 0.9.1-7.fc31 2048-cli-sdl-debuginfo(riscv-64) = 0.9.1-7.fc31 debuginfo(build-id) = cb030c250b2495eeb479f992ea2e4169291ec2eb Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(riscv-64) = 0.9.1-7.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 Wrote: /builddir/build/RPMS/2048-cli-sdl-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-nocurses-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-debugsource-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-nocurses-debuginfo-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-sdl-debuginfo-0.9.1-7.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/2048-cli-debuginfo-0.9.1-7.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8AKQmn + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/2048-cli-0.9.1-7.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0