Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jfbterm.spec'], chrootPath='/var/lib/mock/f33-build-302059-56884/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jfbterm.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/jfbterm-0.4.7-44.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jfbterm.spec'], chrootPath='/var/lib/mock/f33-build-302059-56884/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jfbterm.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XG9nGH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jfbterm-0.4.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/jfbterm-0.4.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jfbterm-0.4.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (jfbterm-0.4.6-conf.patch):' Patch #0 (jfbterm-0.4.6-conf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .conf --fuzz=0 patching file jfbterm.conf.sample Patch #1 (jfbterm-0.4.7-remove-sticky.patch): + echo 'Patch #1 (jfbterm-0.4.7-remove-sticky.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_sticky --fuzz=0 patching file Makefile.in + echo 'Patch #5 (jfbterm-0.4.7-userspace.patch):' Patch #5 (jfbterm-0.4.7-userspace.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .userspace --fuzz=0 patching file fbdpsp.c + echo 'Patch #3 (jfbterm-0.4.7-infinite_loop.patch):' Patch #3 (jfbterm-0.4.7-infinite_loop.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .infinite_loop --fuzz=0 patching file ChangeLog patching file main.c patching file term.h + echo 'Patch #10 (jfbterm-0.4.7-remove-warning.patch):' Patch #10 (jfbterm-0.4.7-remove-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_warn --fuzz=0 patching file fbcommon.c patching file fbdpsp.c patching file pcf.c patching file term.c patching file vterm.c patching file vtermlow.c + echo 'Patch #11 (jfbterm-0.4.7-mmap-newkernel.patch):' Patch #11 (jfbterm-0.4.7-mmap-newkernel.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nmap_newkernel --fuzz=0 patching file fbcommon.c Patch #12 (jfbterm-0.4.7-hang-onexit.patch): + echo 'Patch #12 (jfbterm-0.4.7-hang-onexit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hang_onexit --fuzz=0 patching file term.c Patch #13 (jfbterm-0.4.7-pagemask_userspace.patch): + echo 'Patch #13 (jfbterm-0.4.7-pagemask_userspace.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pagemask --fuzz=0 patching file fbcommon.c patching file fbcommon.h Patch #15 (jfbterm-0.4.7-hang-on-utmp-refresh-with-invalid-utid.patch): + echo 'Patch #15 (jfbterm-0.4.7-hang-on-utmp-refresh-with-invalid-utid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .utid_with_refresh --fuzz=0 patching file term.c + echo 'Patch #16 (jfbterm-0.4.7-wrong-inline-gcc5.patch):' Patch #16 (jfbterm-0.4.7-wrong-inline-gcc5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .inline_gcc5 --fuzz=0 patching file pen.c patching file pen.h + touch Makefile.in aclocal.m4 config.h.in configure stamp-h.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vVvnfE + umask 022 + cd /builddir/build/BUILD + cd jfbterm-0.4.7 + cp -p /usr/share/fonts/japanese/efont-unicode-bdf/b16.pcf.gz fonts/ + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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 --enable-direct-color creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for main in -lm... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for malloc.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for st_rdev in struct stat... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking whether sys/types.h defines makedev... no checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for vprintf... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for ioperm... no checking for gunzip... /usr/bin/gunzip checking whether to enable color gamma... no checking whether to enable reverse-video... no checking whether to enable debugging... no checking whether to enable utf8... yes checking whether to enable other coding system... yes checking whether to enable 1bpp... no checking whether to enable 2bpp... yes checking whether to enable 8bpp... yes checking whether to enable 15bpp... yes checking whether to enable 16bpp... yes checking whether to enable 24bpp... yes checking whether to enable 32bpp... yes checking whether to enable pseudo-color... yes checking whether to enable direct-color... yes checking whether to enable true-color... yes checking whether to enable vga16fb... yes checking whether to enable packed-pixels... yes configure: warning: but ioperm() not found on your system, disable vga16fb support checking whether to enable check-mmio-error... no checking whether to enable force-8bit... no checking whether to enable dimmer... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h + touch stamp-h + /usr/bin/make -j4 cd . && /builddir/build/BUILD/jfbterm-0.4.7/missing automake-1.4 --gnu Makefile WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.4' program. make: *** [Makefile:119: Makefile.in] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.vVvnfE (%build) Bad exit status from /var/tmp/rpm-tmp.vVvnfE (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/jfbterm.spec