Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.spec'], chrootPath='/var/lib/mock/f31-build-68282-29955/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1518134400 Wrote: /builddir/build/SRPMS/linux_logo-5.11-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.spec'], chrootPath='/var/lib/mock/f31-build-68282-29955/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1518134400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2BSTRm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux_logo-5.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/linux_logo-5.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linux_logo-5.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (linux_logo-5.11-add-ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (linux_logo-5.11-default-logo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (0001-initial-aarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (linux_logo-5.11-kvm-cpus.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (linux_logo-5.11-add-ppc64le.patch): patching file libsysinfo-0.2.2/Linux/cpuinfo_ppc.c patching file libsysinfo-0.2.2/Linux/Makefile Patch #1 (linux_logo-5.11-default-logo.patch): patching file Makefile Patch #2 (0001-initial-aarch64-support.patch): patching file libsysinfo-0.2.2/Linux/Makefile patching file libsysinfo-0.2.2/Linux/cpuinfo_aarch64.c Patch #3 (linux_logo-5.11-kvm-cpus.patch): patching file libsysinfo-0.2.2/Linux/cpuinfo_x86.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ni9gIo + umask 022 + cd /builddir/build/BUILD + cd linux_logo-5.11 + 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-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 --prefix=/usr BUILDSTDERR: which: no gcc in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) BUILDSTDERR: which: no cc in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) BUILDSTDERR: ./configure: line 63: [: =: unary operator expected BUILDSTDERR: ./configure: line 69: -O2: command not found BUILDSTDERR: which: no gcc in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) BUILDSTDERR: which: no cc in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) BUILDSTDERR: ./configure: line 45: [: =: unary operator expected + make logos-all -j4 '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' BUILDSTDERR: make[1]: O2: Command not found BUILDSTDERR: make[1]: [Makefile:73: parse_logos.o] Error 127 (ignored) BUILDSTDERR: make[1]: O2: Command not found BUILDSTDERR: make[1]: [Makefile:82: load_logo_native.o] Error 127 (ignored) BUILDSTDERR: make[1]: O2: Command not found BUILDSTDERR: make[1]: [Makefile:79: load_logo.o] Error 127 (ignored) BUILDSTDERR: make[3]: O2: Command not found BUILDSTDERR: make[3]: [Makefile:6: bogomips.o] Error 127 (ignored) BUILDSTDERR: make[3]: O2: Command not found BUILDSTDERR: make[3]: [Makefile:9: fix_mhz.o] Error 127 (ignored) BUILDSTDERR: make[3]: O2: Command not found BUILDSTDERR: make[3]: [Makefile:12: parsing.o] Error 127 (ignored) BUILDSTDERR: make[3]: O2: Command not found BUILDSTDERR: make[3]: [Makefile:15: sysinfo_common.o] Error 127 (ignored) BUILDSTDERR: make[3]: O2: Command not found /usr/bin/xgettext C compiler not found! CONFIGURING LINUX_LOGO Detected Architecture: riscv64 Detected Operating System: Linux Install prefix: /usr Install program: /usr/bin/install xgettext: xgettext libintl.h not found, disabling i18n support libsysinfo: libsysinfo-0.2.2 C Compiler : CFLAGS : -O2 C compiler not found! /usr/bin/ar CONFIGURING LIBSYSINFO Detected Architecture: riscv64 Detected Operating System: Linux C Compiler : AR : ar CFLAGS : -O2 If cross compiling set the CROSS and ARCH variables Done configuring, run 'make' echo "./logos/banner.logo" > logo_config echo "./logos/classic.logo" >> logo_config find ./logos -type f -a ! -name banner.logo -a ! -name classic.logo >> logo_config make all make[1]: Entering directory '/builddir/build/BUILD/linux_logo-5.11' 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 -Ilibsysinfo-0.2.2 -c parse_logos.c 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 -Ilibsysinfo-0.2.2 -o load_logo_native.o -c load_logo.c 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 -Ilibsysinfo-0.2.2 -c load_logo.c cd libsysinfo-0.2.2 && make cd po && make make[2]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/po' xgettext --default-domain=linux_logo --add-comments --keyword=_ --keyword=S_ ../*.c ../*.h; msgfmt -o da.mo da.po make[2]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' cd all && make msgfmt -o de.mo de.po msgfmt -o es.mo es.po msgfmt -o fr.mo fr.po make[3]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' 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.. -c bogomips.c 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.. -c fix_mhz.c msgfmt -o nb.mo nb.po 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.. -c parsing.c msgfmt -o nl.mo nl.po 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.. -c sysinfo_common.c 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.. -c uname.c msgfmt -o it.mo it.po BUILDSTDERR: make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2make[3]: [Makefile:18: uname.o] Error 127 (ignored) BUILDSTDERR: make[3]: *** No rule to make target 'riscv64', needed by 'cpuinfo.o'. Stop. BUILDSTDERR: make[2]: *** [Makefile:40: libsysinfo.a] Error 2 BUILDSTDERR: make[1]: *** [Makefile:67: libsysinfo-0.2.2/libsysinfo.a] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ...... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ...... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: make: *** [Makefile:42: logos-all] Error 2 .2/all' if cmp -s linux_logo.po linux_logo.pot; then \ rm -f linux_logo.po; \ else \ mv linux_logo.po linux_logo.pot; \ fi cd Linux && make msgfmt -o pl.mo pl.po msgfmt -o pt_BR.mo pt_BR.po msgfmt -o ru.mo ru.po msgfmt -o sv.mo sv.po msgfmt -o uk.mo uk.po msgfmt -o zh_TW.mo zh_TW.po for n in da.mo de.mo es.mo fr.mo nb.mo nl.mo it.mo pl.mo pt_BR.mo ru.mo sv.mo uk.mo zh_TW.mo; do \ l=`basename $n .mo`; \ l=$l".po"; \ mv -f $l $l".bac"; \ msgmerge -o $l $l".bac" linux_logo.pot; \ done make[3]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/po' make[1]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ni9gIo (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ni9gIo (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.spec