Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/milter-regex.spec'], chrootPath='/var/lib/mock/f29-build-7451-1836/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/milter-regex-2.0-12.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/milter-regex.spec'], chrootPath='/var/lib/mock/f29-build-7451-1836/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.byjL0r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf milter-regex-2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/milter-regex-2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd milter-regex-2.0 + /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|; BUILDSTDERR: s|_milter-regex|mregex|' milter-regex.8 milter-regex.c + head -n +31 milter-regex.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W8xNYz + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.0 + make -j4 -f Makefile.linux '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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192' gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c milter-regex.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c eval.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c strlcat.c gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c strlcpy.c BUILDSTDERR: strlcpy.c:20:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: strlcpy.c,v 1.1.1.1 2007/01/11 15:49:52 dhartmei Exp $"; BUILDSTDERR: ^~~~~ yacc -d parse.y BUILDSTDERR: eval.c:33:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: eval.c,v 1.2 2011/11/24 13:43:27 dhartmei Exp $"; BUILDSTDERR: ^~~~~ nroff -Tascii -mandoc milter-regex.8 > milter-regex.cat8 gcc -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 -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c y.tab.c BUILDSTDERR: milter-regex.c: In function 'setreply': BUILDSTDERR: milter-regex.c:100:22: warning: passing argument 2 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: #define RCODE_REJECT "554" BUILDSTDERR: ^~~~~ BUILDSTDERR: milter-regex.c:242:25: note: in expansion of macro 'RCODE_REJECT' BUILDSTDERR: smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from milter-regex.c:35: BUILDSTDERR: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); BUILDSTDERR: ^~~ BUILDSTDERR: milter-regex.c:102:22: warning: passing argument 3 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: #define XCODE_REJECT "5.7.1" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: milter-regex.c:242:39: note: in expansion of macro 'XCODE_REJECT' BUILDSTDERR: smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from milter-regex.c:35: BUILDSTDERR: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); BUILDSTDERR: ^~~ BUILDSTDERR: milter-regex.c:101:24: warning: passing argument 2 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: #define RCODE_TEMPFAIL "451" BUILDSTDERR: ^~~~~ BUILDSTDERR: milter-regex.c:246:25: note: in expansion of macro 'RCODE_TEMPFAIL' BUILDSTDERR: smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from milter-regex.c:35: BUILDSTDERR: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); BUILDSTDERR: ^~~ BUILDSTDERR: milter-regex.c:103:24: warning: passing argument 3 of 'smfi_setreply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: #define XCODE_TEMPFAIL "4.7.1" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: milter-regex.c:246:41: note: in expansion of macro 'XCODE_TEMPFAIL' BUILDSTDERR: smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from milter-regex.c:35: BUILDSTDERR: /usr/include/libmilter/mfapi.h:418:33: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: LIBMILTER_API int smfi_setreply __P((SMFICTX *, char *, char *, char *)); BUILDSTDERR: ^~~ BUILDSTDERR: milter-regex.c: At top level: BUILDSTDERR: milter-regex.c:624:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: "milter-regex", /* filter name */ BUILDSTDERR: ^~~~~~~~~~~~~~ gcc -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o -L/usr/lib/libmilter -lmilter -lpthread + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.65X7Az + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 + cd milter-regex-2.0 + mkdir -p /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/lib/systemd/system /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/var/spool/milter-regex /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/sbin /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/etc/mail /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/etc/sysconfig + install -p -m 755 milter-regex /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/sbin/ + install -p -m 644 milter-regex.8 /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/share/man/man8/ + install -p -m 644 /builddir/build/SOURCES/milter-regex.service /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/lib/systemd/system/milter-regex.service + install -p -m 644 /builddir/build/SOURCES/milter-regex-options /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/etc/sysconfig/milter-regex + install -p -m 644 /builddir/build/SOURCES/milter-regex.conf /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/etc/mail/milter-regex.conf + : + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: milter-regex-2.0-12.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7rCqak + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.0 + LICENSEDIR=/builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.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.0-12.fc29.riscv64/usr/share/licenses/milter-regex + cp -pr LICENSE /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64/usr/share/licenses/milter-regex + exit 0 Provides: config(milter-regex) = 2.0-12.fc29 milter-regex = 2.0-12.fc29 milter-regex(riscv-64) = 2.0-12.fc29 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 Wrote: /builddir/build/RPMS/milter-regex-2.0-12.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T8v1vu + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/milter-regex-2.0-12.fc29.riscv64 + exit 0 Child return code was: 0