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-30761-16551/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=995gid=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-30761-16551/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=995gid=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.2xzIPq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux_logo-5.11 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/linux_logo-5.11.tar.gz + 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):' 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 + echo 'Patch #3 (linux_logo-5.11-kvm-cpus.patch):' 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.If44QU + 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-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 /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 BUILDSTDERR: load_logo.c: In function 'load_logo_from_disk': 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: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 fix_mhz.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 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 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 cd po && make gcc -o parse_logos parse_logos.o load_logo_native.o 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 msgfmt -o da.mo da.po msgfmt -o de.mo de.po make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' cd Linux && make make[3]: Entering 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. make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' BUILDSTDERR: make[2]: *** [Makefile:40: libsysinfo.a] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' msgfmt -o es.mo es.po BUILDSTDERR: make[1]: *** [Makefile:67: libsysinfo-0.2.2/libsysinfo.a] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... 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 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 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 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.If44QU (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.If44QU (%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