Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux_logo.spec'], chrootPath='/var/lib/mock/f29-build-26674-13873/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/linux_logo-5.11-20.fc29.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/f29-build-26674-13873/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.08UpAT + 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 . Patch #0 (linux_logo-5.11-add-ppc64le.patch): + echo 'Patch #0 (linux_logo-5.11-add-ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libsysinfo-0.2.2/Linux/cpuinfo_ppc.c patching file libsysinfo-0.2.2/Linux/Makefile + echo 'Patch #1 (linux_logo-5.11-default-logo.patch):' Patch #1 (linux_logo-5.11-default-logo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #2 (0001-initial-aarch64-support.patch):' Patch #2 (0001-initial-aarch64-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #3 (linux_logo-5.11-kvm-cpus.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libsysinfo-0.2.2/Linux/cpuinfo_x86.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DrdPPV + 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,-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 --prefix=/usr /usr/bin/xgettext /usr/bin/gcc CONFIGURING LINUX_LOGO Detected Architecture: riscv64 Detected Operating System: Linux Install prefix: /usr Install program: /usr/bin/install xgettext: xgettext libsysinfo: libsysinfo-0.2.2 C Compiler : gcc CFLAGS : -Wall -O2 /usr/bin/gcc /usr/bin/ar CONFIGURING LIBSYSINFO Detected Architecture: riscv64 Detected Operating System: Linux C Compiler : gcc AR : ar CFLAGS : -Wall -O2 If cross compiling set the CROSS and ARCH variables Done configuring, run 'make' + 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' 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' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ilibsysinfo-0.2.2 -c parse_logos.c 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 -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 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 -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 make[2]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' cd all && make make[3]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c bogomips.c 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c fix_mhz.c BUILDSTDERR: load_logo.c: In function 'load_logo_from_disk': BUILDSTDERR: load_logo.c:32:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp_st,BUFSIZ,fff); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: load_logo.c: In function 'load_logo_from_disk': BUILDSTDERR: load_logo.c:32:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp_st,BUFSIZ,fff); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c parsing.c 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c sysinfo_common.c 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; if cmp -s linux_logo.po linux_logo.pot; then \ rm -f linux_logo.po; \ else \ mv linux_logo.po linux_logo.pot; \ fi 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c uname.c msgfmt -o da.mo da.po gcc -o parse_logos parse_logos.o load_logo_native.o msgfmt -o de.mo de.po msgfmt -o es.mo es.po msgfmt -o fr.mo fr.po msgfmt -o nb.mo nb.po msgfmt -o nl.mo nl.po msgfmt -o it.mo it.po 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 make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' msgfmt -o zh_TW.mo zh_TW.po cd Linux && make 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 ./parse_logos 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' 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.... make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' Parsing logos from file "logo_config"... + Added logo ./logos/banner.logo containing "The Default Banner Logo" + Added logo ./logos/classic.logo containing "The Default Classic Logo" + Added logo ./logos/alternate_oses/bsd.logo containing "FreeBSD Logo" + Added logo ./logos/alternate_oses/bsd_banner.logo containing "FreeBSD Logo" + Added logo ./logos/alternate_oses/aix.logo containing "AIX Logo" + Added logo ./logos/alternate_oses/solaris.logo containing "The Default Banner Logos" + Added logo ./logos/alternate_oses/irix.logo containing "Irix Logo" + Added logo ./logos/classic-no_periods_or_chars.logo containing "Classic No Dots Or Letters" + Added logo ./logos/classic-no_periods.logo containing "The Classic Logo, No Periods" + Added logo ./logos/distributions/slackware.logo containing "Slackware Logo" + Added logo ./logos/distributions/ubuntu.logo containing "Ubuntu Logo" + Added logo ./logos/distributions/pld.logo containing "PLD Linux banner" + Added logo ./logos/distributions/mandrakelinux-banner.logo containing "Mandrakelinux(TM) Banner" + Added logo ./logos/distributions/core.logo containing "Core Linux Logo" + Added logo ./logos/distributions/mandriva-banner.logo containing "Mandriva(TM) Linux Banner" + Added logo ./logos/distributions/mandrake-old.logo containing "Mandrake(TM) Linux Banner" + Added logo ./logos/distributions/suse.logo containing "SUSE Logo" + Added logo ./logos/distributions/sourcemage.logo containing "Source Mage GNU/Linux large" + Added logo ./logos/distributions/debian-banner.logo containing "Debian Banner (white) " + Added logo ./logos/distributions/debian-old.logo containing "Debian Old Penguin Logos " + Added logo ./logos/distributions/redhat-banner.logo containing "RedHat Banner (white) " + Added logo ./logos/distributions/gnu-linux.logo containing "Classic GNU/Linux" + Added logo ./logos/distributions/sourcemage-banner.logo containing "Source Mage GNU/Linux banner" + Added logo ./logos/distributions/sme.logo containing "SME Server Banner Logo" + Added logo ./logos/distributions/debian.logo containing "Debian Swirl Logos" + Added logo ./logos/banner-simplified.logo containing "Simplified Banner Logo" 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. make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/po' make[1]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11' BUILDSTDERR: make: *** [Makefile:42: logos-all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.DrdPPV (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.DrdPPV (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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