+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/linux_logo.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.CtF1he + 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):' 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.qTRKbf + 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 ' + 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 + '[' 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 --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 ' 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 -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 -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 -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 -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 -I.. -c fix_mhz.c load_logo.c: In function 'load_logo_from_disk': load_logo.c:32:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(temp_st,BUFSIZ,fff); ^~~~~~~~~~~~~~~~~~~~~~~~~ load_logo.c: In function 'load_logo_from_disk': load_logo.c:32:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(temp_st,BUFSIZ,fff); ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -I.. -c uname.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; msgfmt -o da.mo da.po msgfmt -o de.mo de.po msgfmt -o es.mo es.po 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 fr.mo fr.po msgfmt -o nb.mo nb.po msgfmt -o nl.mo nl.po msgfmt -o it.mo it.po make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' msgfmt -o pl.mo pl.po cd Linux && make msgfmt -o pt_BR.mo pt_BR.po msgfmt -o ru.mo ru.po msgfmt -o sv.mo sv.po make[3]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' 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' msgfmt -o uk.mo uk.po make[2]: *** [Makefile:40: libsysinfo.a] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' make[1]: *** [Makefile:67: libsysinfo-0.2.2/libsysinfo.a] Error 2 make[1]: *** Waiting for unfinished jobs.... 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 ..... done. ... done. .... done. ... done. ...... done. ..... done. .... done. ...... done. ...... done. ... done. .... done. ...... done. .... done. make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/po' make[1]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11' make: *** [Makefile:42: logos-all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.qTRKbf (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qTRKbf (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff