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/yacpi.spec'], chrootPath='/var/lib/mock/f29-build-9451-4234/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/yacpi.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/yacpi-3.0.1-28.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yacpi.spec'], chrootPath='/var/lib/mock/f29-build-9451-4234/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/yacpi.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.eaLb07 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yacpi-3.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/yacpi-3.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yacpi-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (yacpi-3.0.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #0 (yacpi-3.0.1.patch): patching file Makefile + sed -i 's|CFLAGS = -O2 -Wall -g|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|' Makefile + iconv -f ISO_8859-1 -t UTF-8 -o CHANGELOG.utf8 CHANGELOG + mv CHANGELOG.utf8 CHANGELOG + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZrnxWX + umask 022 + cd /builddir/build/BUILD + cd yacpi-3.0.1 + make -j4 yacpi build options: CC yacpi.c CC get_cpu.c 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 -DVERSION="3.0.1" CC = cc BIN = yacpi BUILDSTDERR: get_cpu.c: In function 'get_cpu_cur': BUILDSTDERR: get_cpu.c:29:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(cpuinfo,"%d",&freq); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: get_cpu.c: In function 'get_cpu_max': BUILDSTDERR: get_cpu.c:41:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(cpuinfo,"%d",&freq); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: get_cpu.c: In function 'get_cpu_gov': BUILDSTDERR: get_cpu.c:53:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buffer,sizeof(buffer),cpuinfo); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ built yacpi + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6PYmuw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 + cd yacpi-3.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 DOCPATH=/usr/share/doc/yacpi install -p -m644 CHANGELOG README THANKS COPYING /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64//usr/share/doc/yacpi install -p -m644 yacpi.1 /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64//usr/share/man/man1 install -p yacpi /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64//usr/bin/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0.1-28.fc29 --unique-debug-suffix -3.0.1-28.fc29.riscv64 --unique-debug-src-base yacpi-3.0.1-28.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yacpi-3.0.1 extracting debug info from /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64/usr/bin/yacpi /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 34 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: yacpi-3.0.1-28.fc29.riscv64 Provides: yacpi = 3.0.1-28.fc29 yacpi(riscv-64) = 3.0.1-28.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libacpi.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: yacpi-debugsource-3.0.1-28.fc29.riscv64 Provides: yacpi-debugsource = 3.0.1-28.fc29 yacpi-debugsource(riscv-64) = 3.0.1-28.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: yacpi-debuginfo-3.0.1-28.fc29.riscv64 Provides: debuginfo(build-id) = 60dbca43a0550f265fe0048700834b2a88b73438 yacpi-debuginfo = 3.0.1-28.fc29 yacpi-debuginfo(riscv-64) = 3.0.1-28.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: yacpi-debugsource(riscv-64) = 3.0.1-28.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 Wrote: /builddir/build/RPMS/yacpi-3.0.1-28.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/yacpi-debugsource-3.0.1-28.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/yacpi-debuginfo-3.0.1-28.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.piLgpv + umask 022 + cd /builddir/build/BUILD + cd yacpi-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/yacpi-3.0.1-28.fc29.riscv64 + exit 0 Child return code was: 0