Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clinfo.spec'], chrootPath='/var/lib/mock/f31-build-57112-28288/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clinfo.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=1548892800 Wrote: /builddir/build/SRPMS/clinfo-2.2.18.04.06-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clinfo.spec'], chrootPath='/var/lib/mock/f31-build-57112-28288/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clinfo.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=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yTK1OM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clinfo-2.2.18.04.06 + /usr/bin/gzip -dc /builddir/build/SOURCES/clinfo-2.2.18.04.06.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd clinfo-2.2.18.04.06 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0X0cNI + umask 022 + cd /builddir/build/BUILD + cd clinfo-2.2.18.04.06 + 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: In file included from /usr/include/CL/cl.h:32, BUILDSTDERR: from src/ext.h:24, BUILDSTDERR: from src/error.h:8, BUILDSTDERR: from src/clinfo.c:31: BUILDSTDERR: /usr/include/CL/cl_version.h:34:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2) BUILDSTDERR: 34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)") BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/clinfo.c:6: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'device_info_partition_types_ext' at src/clinfo.c:1567:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/clinfo.c: In function 'device_info_partition_types_ext': BUILDSTDERR: src/clinfo.c:1566:12: note: length computed here BUILDSTDERR: 1566 | slen = strlen(ptstr[str_idx]); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/clinfo.c:6: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'device_info_partition_affinities_ext' at src/clinfo.c:1657:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/clinfo.c: In function 'device_info_partition_affinities_ext': BUILDSTDERR: src/clinfo.c:1656:12: note: length computed here BUILDSTDERR: 1656 | slen = strlen(str); BUILDSTDERR: | ^~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -std=c99 -Wall -Wextra -c -o clinfo.o src/clinfo.c cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld clinfo.o -lOpenCL -ldl -o clinfo Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S14NFJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 + cd clinfo-2.2.18.04.06 + install -Dpm0755 -t /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/bin clinfo + install -Dpm0644 -t /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/man/man1 man1/clinfo.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.2.18.04.06-2.fc31 --unique-debug-suffix -2.2.18.04.06-2.fc31.riscv64 --unique-debug-src-base clinfo-2.2.18.04.06-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/clinfo-2.2.18.04.06 BUILDSTDERR: 245 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/bin/clinfo extracting debug info from /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/bin/clinfo original debug info size: 320kB, size after compression: 312kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: clinfo-2.2.18.04.06-2.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9yU1CM + umask 022 + cd /builddir/build/BUILD + cd clinfo-2.2.18.04.06 + DOCDIR=/builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/doc/clinfo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/doc/clinfo + cp -pr README.md /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/doc/clinfo + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NOcMWK + umask 022 + cd /builddir/build/BUILD + cd clinfo-2.2.18.04.06 + LICENSEDIR=/builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/licenses/clinfo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/licenses/clinfo + cp -pr LICENSE /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/licenses/clinfo + cp -pr legalcode.txt /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64/usr/share/licenses/clinfo + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: clinfo = 2.2.18.04.06-2.fc31 clinfo(riscv-64) = 2.2.18.04.06-2.fc31 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) libOpenCL.so.1()(64bit) libOpenCL.so.1(OPENCL_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: clinfo-debugsource-2.2.18.04.06-2.fc31.riscv64 Provides: clinfo-debugsource = 2.2.18.04.06-2.fc31 clinfo-debugsource(riscv-64) = 2.2.18.04.06-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clinfo-debuginfo-2.2.18.04.06-2.fc31.riscv64 Provides: clinfo-debuginfo = 2.2.18.04.06-2.fc31 clinfo-debuginfo(riscv-64) = 2.2.18.04.06-2.fc31 debuginfo(build-id) = 45de087706bbc43fc6d2eac125b1081081ca762d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clinfo-debugsource(riscv-64) = 2.2.18.04.06-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 Wrote: /builddir/build/RPMS/clinfo-2.2.18.04.06-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/clinfo-debugsource-2.2.18.04.06-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/clinfo-debuginfo-2.2.18.04.06-2.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wwQfxM + umask 022 + cd /builddir/build/BUILD + cd clinfo-2.2.18.04.06 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clinfo-2.2.18.04.06-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0