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/procdump.spec'], chrootPath='/var/lib/mock/f33-build-299541-56366/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/procdump.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/procdump-1.1.1-2.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/procdump.spec'], chrootPath='/var/lib/mock/f33-build-299541-56366/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/procdump.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.DSAgA8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ProcDump-for-Linux-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ProcDump-for-Linux-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ProcDump-for-Linux-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-for-build-on-GCC-10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XFhTra + umask 022 + cd /builddir/build/BUILD + cd ProcDump-for-Linux-1.1.1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 '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' rm -rf obj rm -rf bin rm -rf /builddir/build/BUILD/ProcDump-for-Linux-1.1.1/pkgbuild gcc -c -g -o obj/Logging.o src/Logging.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/Events.o src/Events.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/Handle.o src/Handle.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/Procdump.o src/Procdump.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/CoreDumpWriter.o src/CoreDumpWriter.c -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 ./include -pthread -std=gnu99 src/CoreDumpWriter.c: In function 'IsCoreClrProcess': src/CoreDumpWriter.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets(lineBuf, sizeof(lineBuf), procFile); // Skip first line with column headers. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from ./include/CoreDumpWriter.h:20, from src/CoreDumpWriter.c:11: In function 'strncpy', inlined from 'IsCoreClrProcess' at src/CoreDumpWriter.c:114:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'IsCoreClrProcess' at src/CoreDumpWriter.c:138:28: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/CoreDumpWriter.c: In function 'IsCoreClrProcess': src/CoreDumpWriter.c:138:67: note: length computed here 138 | if(strncpy(*socketName, ptr, sizeof(char)*strlen(ptr)+1)!=NULL) | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from ./include/CoreDumpWriter.h:20, from src/CoreDumpWriter.c:11: In function 'strncpy', inlined from 'WriteCoreDumpInternal' at src/CoreDumpWriter.c:494:17: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/CoreDumpWriter.c: In function 'WriteCoreDumpInternal': src/CoreDumpWriter.c:490:26: note: length computed here 490 | lineLength = strlen(lineBuffer); // get # of characters read | ^~~~~~~~~~~~~~~~~~ gcc -c -g -o obj/ProcDumpTestApplication.o tests/integration/ProcDumpTestApplication.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/Process.o src/Process.c -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/TriggerThreadProcs.o src/TriggerThreadProcs.c -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 ./include -pthread -std=gnu99 gcc -o bin/ProcDumpTestApplication obj/ProcDumpTestApplication.o -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 ./include -pthread -std=gnu99 gcc -c -g -o obj/ProcDumpConfiguration.o src/ProcDumpConfiguration.c -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 ./include -pthread -std=gnu99 gcc -o bin/procdump obj/CoreDumpWriter.o obj/Events.o obj/Handle.o obj/Logging.o obj/ProcDumpConfiguration.o obj/Procdump.o obj/Process.o obj/TriggerThreadProcs.o -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 ./include -pthread -std=gnu99 In function 'strncpy', inlined from 'WriteCoreDumpInternal' at src/CoreDumpWriter.c:494:17: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/CoreDumpWriter.c: In function 'WriteCoreDumpInternal': src/CoreDumpWriter.c:490:26: note: length computed here 490 | lineLength = strlen(lineBuffer); // get # of characters read | ^ In function 'strncpy', inlined from 'IsCoreClrProcess.constprop.isra' at src/CoreDumpWriter.c:138:28: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/CoreDumpWriter.c: In function 'IsCoreClrProcess.constprop.isra': src/CoreDumpWriter.c:138:67: note: length computed here 138 | if(strncpy(*socketName, ptr, sizeof(char)*strlen(ptr)+1)!=NULL) | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cvgRQa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 + cd ProcDump-for-Linux-1.1.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/bin cp bin/procdump /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/man/man1 cp procdump.1 /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.1-2.fc33 --unique-debug-suffix -1.1.1-2.fc33.riscv64 --unique-debug-src-base procdump-1.1.1-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ProcDump-for-Linux-1.1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/bin/procdump extracting debug info from /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/bin/procdump original debug info size: 420kB, size after compression: 404kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 230 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: procdump-1.1.1-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FfZGO9 + umask 022 + cd /builddir/build/BUILD + cd ProcDump-for-Linux-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/doc/procdump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/doc/procdump + cp -pr README.md /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/doc/procdump + cp -pr procdump.gif /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/doc/procdump + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HmH1t8 + umask 022 + cd /builddir/build/BUILD + cd ProcDump-for-Linux-1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/licenses/procdump + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/licenses/procdump + cp -pr LICENSE /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64/usr/share/licenses/procdump + RPM_EC=0 ++ jobs -p + exit 0 Provides: procdump = 1.1.1-2.fc33 procdump(riscv-64) = 1.1.1-2.fc33 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) libc.so.6(GLIBC_2.32)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: procdump-debugsource-1.1.1-2.fc33.riscv64 Provides: procdump-debugsource = 1.1.1-2.fc33 procdump-debugsource(riscv-64) = 1.1.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: procdump-debuginfo-1.1.1-2.fc33.riscv64 Provides: debuginfo(build-id) = cce3c1a145b8a5116e290b57fbaad124638668d9 procdump-debuginfo = 1.1.1-2.fc33 procdump-debuginfo(riscv-64) = 1.1.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: procdump-debugsource(riscv-64) = 1.1.1-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 Wrote: /builddir/build/RPMS/procdump-1.1.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/procdump-debuginfo-1.1.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/procdump-debugsource-1.1.1-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k2EuHc + umask 022 + cd /builddir/build/BUILD + cd ProcDump-for-Linux-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/procdump-1.1.1-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0