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/deco.spec'], chrootPath='/var/lib/mock/f33-build-289449-54314/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/deco.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=1595808000 Wrote: /builddir/build/SRPMS/deco-1.6.4-10.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/deco.spec'], chrootPath='/var/lib/mock/f33-build-289449-54314/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/deco.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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yrdVna + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf deco-1.6.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/1.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd deco-1.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cEJjHb + umask 022 + cd /builddir/build/BUILD + cd deco-1.6.4 + make -j4 PREFIX=/usr SHARE=/var/lib/deco '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' LDFLAGS= c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c deco.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c arch.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c exec.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c extr.c deco.c: In function 'setup_opts': deco.c:21:3: warning: missing braces around initializer [-Wmissing-braces] 21 | { | ^ 22 | 'a', 0, &Absolute, | { } 23 | 'c', 0, &Clean, | { } 24 | 'e', 1, &Extension, | { } 25 | 'u', 0, &Unlink, | { } 26 | 'v', 0, &Verbose, | { } 27 | 0 | { 28 | }; | } In file included from deco.c:5: msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ deco.c:31:37: note: in expansion of macro 'WRITE_STR' 31 | return (Archives && *Archives) || (WRITE_STR(STDERR_FILENO, MSG_USAGE), false); | ^~~~~~~~~ arch.c: In function 'setup': arch.c:29:2: warning: enumeration value 'Other' not handled in switch [-Wswitch] 29 | switch (file_type(true, a->file.p)) | ^~~~~~ arch.c: In function 'extract': arch.c:231:21: warning: missing braces around initializer [-Wmissing-braces] 231 | struct archive a = { (char *)arg }; | ^ | { } arch.c:236:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 236 | if (create_sandbox(&a)) | ^ c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c fs.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c link.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c mem.c In file included from arch.h:1, from arch.c:1: fs.h:25:13: warning: 'first.z' may be used uninitialized in this function [-Wmaybe-uninitialized] 25 | return x.z - x.e; | ~~~~^~~~~ arch.c:160:14: note: 'first.z' was declared here 160 | struct path first; | ^~~~~ In file included from fs.c:3: fs.c: In function 'pretty_print': msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ fs.c:46:2: note: in expansion of macro 'WRITE_STR' 46 | WRITE_STR(STDOUT_FILENO, p); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ fs.c:48:3: note: in expansion of macro 'WRITE_STR' 48 | WRITE_STR(STDOUT_FILENO, "/"); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ fs.c:49:2: note: in expansion of macro 'WRITE_STR' 49 | WRITE_STR(STDOUT_FILENO, "\n"); | ^~~~~~~~~ c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c msg.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c opts.c c99 -D SHARE=\"/var/lib/deco\" -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -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 -c str.c In file included from msg.c:1: msg.c: In function 'err': msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:10:2: note: in expansion of macro 'WRITE_STR' 10 | WRITE_STR(STDERR_FILENO, "deco: "); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:11:2: note: in expansion of macro 'WRITE_STR' 11 | WRITE_STR(STDERR_FILENO, msg); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:14:3: note: in expansion of macro 'WRITE_STR' 14 | WRITE_STR(STDERR_FILENO, " ("); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:15:3: note: in expansion of macro 'WRITE_STR' 15 | WRITE_STR(STDERR_FILENO, strerror(syserr)); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:16:3: note: in expansion of macro 'WRITE_STR' 16 | WRITE_STR(STDERR_FILENO, ")"); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:20:3: note: in expansion of macro 'WRITE_STR' 20 | WRITE_STR(STDERR_FILENO, ": "); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:21:3: note: in expansion of macro 'WRITE_STR' 21 | WRITE_STR(STDERR_FILENO, id); | ^~~~~~~~~ msg.h:8:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | #define WRITE_STR(fd, s) write(fd, s, strlen(s)) | ^~~~~~~~~~~~~~~~~~~~~~~ msg.c:23:2: note: in expansion of macro 'WRITE_STR' 23 | WRITE_STR(STDERR_FILENO, "\n"); | ^~~~~~~~~ opts.c: In function 'parse_opts': opts.c:33:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 33 | if ((*argv)[chr] == opt->key) | ^ c99 -o deco deco.o arch.o exec.o extr.o fs.o link.o mem.o msg.o opts.o str.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dnX0g8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 + cd deco-1.6.4 + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 mkdir -p -m 755 "/builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/bin" cp deco "/builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/bin" chmod 755 "/builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/bin"/deco + install -dm 755 /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64//var/lib/deco + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.4-10.fc33 --unique-debug-suffix -1.6.4-10.fc33.riscv64 --unique-debug-src-base deco-1.6.4-10.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/deco-1.6.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/bin/deco extracting debug info from /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/bin/deco original debug info size: 200kB, size after compression: 196kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 41 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: deco-1.6.4-10.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QUDvN9 + umask 022 + cd /builddir/build/BUILD + cd deco-1.6.4 + DOCDIR=/builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/share/doc/deco + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/share/doc/deco + cp -pr LICENSE /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/share/doc/deco + cp -pr NEWS /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/share/doc/deco + cp -pr README.md /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64/usr/share/doc/deco + RPM_EC=0 ++ jobs -p + exit 0 Provides: deco = 1.6.4-10.fc33 deco(riscv-64) = 1.6.4-10.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) rtld(GNU_HASH) Processing files: deco-debugsource-1.6.4-10.fc33.riscv64 Provides: deco-debugsource = 1.6.4-10.fc33 deco-debugsource(riscv-64) = 1.6.4-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: deco-debuginfo-1.6.4-10.fc33.riscv64 Provides: debuginfo(build-id) = 3a23ca9907fca0ce147b1715faad40c5a95d5ee5 deco-debuginfo = 1.6.4-10.fc33 deco-debuginfo(riscv-64) = 1.6.4-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: deco-debugsource(riscv-64) = 1.6.4-10.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 Wrote: /builddir/build/RPMS/deco-debugsource-1.6.4-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/deco-1.6.4-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/deco-debuginfo-1.6.4-10.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1G1f77 + umask 022 + cd /builddir/build/BUILD + cd deco-1.6.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/deco-1.6.4-10.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0