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/milter-regex.spec'], chrootPath='/var/lib/mock/f33-build-299369-56330/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/milter-regex.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/milter-regex-2.7-3.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/milter-regex.spec'], chrootPath='/var/lib/mock/f33-build-299369-56330/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/milter-regex.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.ux4gpF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf milter-regex-2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/milter-regex-2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd milter-regex-2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|/etc/milter-regex\.conf|/etc/mail/milter-regex.conf|; s|_milter-regex|mregex|' milter-regex.8 milter-regex.c + head -n +31 milter-regex.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vEg4xD + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.7 + make -j4 -f Makefile.linux '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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192' gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c milter-regex.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c eval.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c strlcat.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c strlcpy.c strlcpy.c:20:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 20 | static const char rcsid[] = "$Id: strlcpy.c,v 1.1.1.1 2007/01/11 15:49:52 dhartmei Exp $"; | ^~~~~ eval.c:33:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 33 | static const char rcsid[] = "$Id: eval.c,v 1.3 2019/01/28 17:12:52 dhartmei Exp $"; | ^~~~~ yacc -d parse.y milter-regex.c: In function 'setreply': milter-regex.c:102:22: warning: passing argument 2 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define RCODE_REJECT "554" | ^~~~~ milter-regex.c:244:25: note: in expansion of macro 'RCODE_REJECT' 244 | smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, | ^~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from milter-regex.c:35: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' 418 | LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); | ^~~ milter-regex.c:104:22: warning: passing argument 3 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XCODE_REJECT "5.7.1" | ^~~~~~~ milter-regex.c:244:39: note: in expansion of macro 'XCODE_REJECT' 244 | smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, | ^~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from milter-regex.c:35: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' 418 | LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); | ^~~ milter-regex.c:103:24: warning: passing argument 2 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define RCODE_TEMPFAIL "451" | ^~~~~ milter-regex.c:248:25: note: in expansion of macro 'RCODE_TEMPFAIL' 248 | smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from milter-regex.c:35: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' 418 | LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); | ^~~ milter-regex.c:105:24: warning: passing argument 3 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XCODE_TEMPFAIL "4.7.1" | ^~~~~~~ milter-regex.c:248:41: note: in expansion of macro 'XCODE_TEMPFAIL' 248 | smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from milter-regex.c:35: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' 418 | LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); | ^~~ nroff -Tascii -mandoc milter-regex.8 > milter-regex.cat8 gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c y.tab.c milter-regex.c: At top level: milter-regex.c:626:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 626 | "milter-regex", /* filter name */ | ^~~~~~~~~~~~~~ milter-regex.c: In function 'main': milter-regex.c:826:12: warning: comparison of integer expressions of different signedness: 'uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 826 | if ((uid != -1 || gid != -1) && chown(ofile, uid, gid)) { | ^~ milter-regex.c:826:25: warning: comparison of integer expressions of different signedness: 'gid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 826 | if ((uid != -1 || gid != -1) && chown(ofile, uid, gid)) { | ^~ gcc -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o -L/usr/lib/libmilter -lmilter -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ubUeHG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 + cd milter-regex-2.7 + mkdir -p /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/lib/systemd/system /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/var/spool/milter-regex /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/sbin /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/etc/mail /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/etc/sysconfig + install -p -m 755 milter-regex /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/sbin/ + install -p -m 644 milter-regex.8 /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/share/man/man8/ + install -p -m 644 /builddir/build/SOURCES/milter-regex.service /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/lib/systemd/system/milter-regex.service + install -p -m 644 /builddir/build/SOURCES/milter-regex-options /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/etc/sysconfig/milter-regex + install -p -m 644 /builddir/build/SOURCES/milter-regex.conf /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/etc/mail/milter-regex.conf + : + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.7-3.fc33 --unique-debug-suffix -2.7-3.fc33.riscv64 --unique-debug-src-base milter-regex-2.7-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/milter-regex-2.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/sbin/milter-regex extracting debug info from /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/sbin/milter-regex original debug info size: 320kB, size after compression: 316kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 157 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: milter-regex-2.7-3.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ax3HyE + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.7 + LICENSEDIR=/builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/share/licenses/milter-regex + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/share/licenses/milter-regex + cp -pr LICENSE /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64/usr/share/licenses/milter-regex + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(milter-regex) = 2.7-3.fc33 milter-regex = 2.7-3.fc33 milter-regex(riscv-64) = 2.7-3.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libmilter.so.1.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: milter-regex-debugsource-2.7-3.fc33.riscv64 Provides: milter-regex-debugsource = 2.7-3.fc33 milter-regex-debugsource(riscv-64) = 2.7-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: milter-regex-debuginfo-2.7-3.fc33.riscv64 Provides: debuginfo(build-id) = 01a491f02f65c6b4741e967c2a19a125e5930b9d milter-regex-debuginfo = 2.7-3.fc33 milter-regex-debuginfo(riscv-64) = 2.7-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: milter-regex-debugsource(riscv-64) = 2.7-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 Wrote: /builddir/build/RPMS/milter-regex-2.7-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/milter-regex-debugsource-2.7-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/milter-regex-debuginfo-2.7-3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tLvstF + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/milter-regex-2.7-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0