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/fmtools.spec'], chrootPath='/var/lib/mock/f30-build-37699-21707/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fmtools.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 Wrote: /builddir/build/SRPMS/fmtools-2.0.7-14.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fmtools.spec'], chrootPath='/var/lib/mock/f30-build-37699-21707/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fmtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MR7YT1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fmtools-2.0.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/fmtools-2.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fmtools-2.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/fmcontrol.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TUsMDs + umask 022 + cd /builddir/build/BUILD + cd fmtools-2.0.7 + autoreconf -vif BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: configure.ac: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: configure.ac: not using Autoheader BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:6: installing 'build-aux/compile' BUILDSTDERR: autoreconf: Leaving directory `.' + 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-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating atlocal config.status: executing depfiles commands config.status: executing ./atconfig commands + /usr/bin/make -O -j4 gcc -DPACKAGE_NAME=\"fmtools\" -DPACKAGE_TARNAME=\"fmtools\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"fmtools\ 2.0.7\" -DPACKAGE_BUGREPORT=\"blp@cs.stanford.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fmtools\" -DVERSION=\"2.0.7\" -I. -Wall -Wstrict-prototypes -Wmissing-prototypes -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 -c -o fmscan.o fmscan.c gcc -DPACKAGE_NAME=\"fmtools\" -DPACKAGE_TARNAME=\"fmtools\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"fmtools\ 2.0.7\" -DPACKAGE_BUGREPORT=\"blp@cs.stanford.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fmtools\" -DVERSION=\"2.0.7\" -I. -Wall -Wstrict-prototypes -Wmissing-prototypes -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 -c -o fm.o fm.c gcc -DPACKAGE_NAME=\"fmtools\" -DPACKAGE_TARNAME=\"fmtools\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"fmtools\ 2.0.7\" -DPACKAGE_BUGREPORT=\"blp@cs.stanford.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fmtools\" -DVERSION=\"2.0.7\" -I. -Wall -Wstrict-prototypes -Wmissing-prototypes -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 -c -o fmlib.o fmlib.c gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fmscan fmscan.o fmlib.o gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fm fm.o fmlib.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VgES29 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64 + cd fmtools-2.0.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/fmtools-2.0.7' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin' /usr/bin/install -p fm fmscan '/builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 fm.1 fmscan.1 '/builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/fmtools-2.0.7' + install -pm 0755 /builddir/build/SOURCES/tkradio /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/tkradio.tcl + install -pm 0755 /builddir/build/SOURCES/tkradio-mute /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/tkradio-mute.tcl + install -pm 0755 /builddir/build/SOURCES/tkradio.py /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/tkradio.py + install -pm 0755 fmcontrol/fmcontrol /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/fmcontrol.py + install -pm 0644 fmcontrol/README README.fmcontrol + desktop-file-install --vendor '' --dir /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/applications /builddir/build/SOURCES/fmtools.desktop + install -Dpm 0644 /builddir/build/SOURCES/radio.png /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/pixmaps/radio.png + install -Dpm 0644 /builddir/build/SOURCES/fmlircrc /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/fmtools/fmlircrc + install -Dpm 0644 /builddir/build/SOURCES/radio.gif /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/share/fmtools/radio.gif + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0.7-14.fc30 --unique-debug-suffix -2.0.7-14.fc30.riscv64 --unique-debug-src-base fmtools-2.0.7-14.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fmtools-2.0.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/fmscan explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/fm extracting debug info from /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/fmscan extracting debug info from /builddir/build/BUILDROOT/fmtools-2.0.7-14.fc30.riscv64/usr/bin/fm /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 53 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/fmcontrol.py: #!/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/tkradio.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.VgES29 (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VgES29 (%install) 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/fmtools.spec