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/clthreads.spec'], chrootPath='/var/lib/mock/f31-build-65668-29732/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/clthreads.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=1563753600 Wrote: /builddir/build/SRPMS/clthreads-2.4.2-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clthreads.spec'], chrootPath='/var/lib/mock/f31-build-65668-29732/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/clthreads.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=1563753600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wp2Y6h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clthreads-2.4.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/clthreads-2.4.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd clthreads-2.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '\|ldconfig|d' source/Makefile + sed -i -e 's|install -d $(DESTDIR)$(PREFIX)/$(INCDIR)|install -d $(DESTDIR)$(INCDIR)|' -e 's|install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)|install -d $(DESTDIR)$(LIBDIR)|' source/Makefile + sed -i 's|/install|/install -p|' source/Makefile + sed -i -e '/^CXXFLAGS += -march=native/d' source/Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OSwQZi + umask 022 + cd /builddir/build/BUILD + cd clthreads-2.4.2 + 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 -C source PREFIX=/usr LIBDIR=/usr/lib64 BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from a_thread.cc:22: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'A_thread::A_thread(const char*)' at a_thread.cc:34:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o itc_mesg.o itc_mesg.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o p_thread.o p_thread.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o itc_ip1q.o itc_ip1q.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o a_thread.o a_thread.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o textmsg.o textmsg.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -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 -Wall -O2 -fPIC -DVERSION=\"2.4.2\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c -o itc_ctrl.o itc_ctrl.cc make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libclthreads.so.2 -o libclthreads.so.2.4.2 p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o -lpthread make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y2hhre + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 + cd clthreads-2.4.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 'INSTALL=/usr/bin/install -p' -C source PREFIX=/usr LIBDIR=/usr/lib64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4.2-1.fc31 --unique-debug-suffix -2.4.2-1.fc31.riscv64 --unique-debug-src-base clthreads-2.4.2-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/clthreads-2.4.2 BUILDSTDERR: 53 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 make: Entering directory '/builddir/build/BUILD/clthreads-2.4.2/source' install -d /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/include install -d /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/lib64 install -m 644 clthreads.h /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/include install -m 755 libclthreads.so.2.4.2 /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/lib64 ln -sf libclthreads.so.2.4.2 /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/lib64/libclthreads.so make: Leaving directory '/builddir/build/BUILD/clthreads-2.4.2/source' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/lib64/libclthreads.so.2.4.2 extracting debug info from /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/lib64/libclthreads.so.2.4.2 original debug info size: 208kB, size after compression: 172kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: clthreads-2.4.2-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WCMPph + umask 022 + cd /builddir/build/BUILD + cd clthreads-2.4.2 + DOCDIR=/builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/doc/clthreads + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/doc/clthreads + cp -pr AUTHORS /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/doc/clthreads + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ydCDch + umask 022 + cd /builddir/build/BUILD + cd clthreads-2.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/licenses/clthreads + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/licenses/clthreads + cp -pr COPYING /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64/usr/share/licenses/clthreads + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: clthreads = 2.4.2-1.fc31 clthreads(riscv-64) = 2.4.2-1.fc31 libclthreads.so.2()(64bit) 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: clthreads-devel-2.4.2-1.fc31.riscv64 Provides: clthreads-devel = 2.4.2-1.fc31 clthreads-devel(riscv-64) = 2.4.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libclthreads.so.2()(64bit) Processing files: clthreads-debugsource-2.4.2-1.fc31.riscv64 Provides: clthreads-debugsource = 2.4.2-1.fc31 clthreads-debugsource(riscv-64) = 2.4.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clthreads-debuginfo-2.4.2-1.fc31.riscv64 Provides: clthreads-debuginfo = 2.4.2-1.fc31 clthreads-debuginfo(riscv-64) = 2.4.2-1.fc31 debuginfo(build-id) = f7ccd10ff5a2c4c2e1551a9ed055292df638ccf7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clthreads-debugsource(riscv-64) = 2.4.2-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 Wrote: /builddir/build/RPMS/clthreads-debugsource-2.4.2-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/clthreads-devel-2.4.2-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/clthreads-2.4.2-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/clthreads-debuginfo-2.4.2-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GMfVfh + umask 022 + cd /builddir/build/BUILD + cd clthreads-2.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clthreads-2.4.2-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0