Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/milter-regex.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79636-53418/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/milter-regex-2.7-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/milter-regex.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79636-53418/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.utWZ3E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf milter-regex-2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/milter-regex-2.7.tar.gz + 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.KkriO3 + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd milter-regex-2.7 + make -j8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wwrite-strings -DYYMAXDEPTH=8192' 'LDFLAGS=-Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--as-needed -L/usr/lib/libmilter -lmilter -lpthread' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c strlcpy.c yacc -d parse.y 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wwrite-strings -DYYMAXDEPTH=8192 -c y.tab.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 $"; | ^~~~~ milter-regex.c: In function 'setreply': milter-regex.c:102:25: 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:32: note: in expansion of macro 'RCODE_REJECT' 244 | smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, | ^~~~~~~~~~~~ In file included from /usr/include/features.h:503, 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:25: 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:46: note: in expansion of macro 'XCODE_REJECT' 244 | smfi_setreply(ctx, RCODE_REJECT, XCODE_REJECT, | ^~~~~~~~~~~~ /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:25: 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:32: note: in expansion of macro 'RCODE_TEMPFAIL' 248 | smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, | ^~~~~~~~~~~~~~ /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:25: 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:48: note: in expansion of macro 'XCODE_TEMPFAIL' 248 | smfi_setreply(ctx, RCODE_TEMPFAIL, XCODE_TEMPFAIL, | ^~~~~~~~~~~~~~ /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: At top level: milter-regex.c:626:9: 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:26: 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:39: 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 -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--as-needed -L/usr/lib/libmilter -lmilter -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wEk10g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64 + cd milter-regex-2.7 + mkdir -p /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/lib/systemd/system /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/var/spool/milter-regex /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/share/man/man8 /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/sbin /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/etc/mail /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/etc/sysconfig + install -p -m 755 milter-regex /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/sbin/ + install -p -m 644 milter-regex.8 /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/share/man/man8/ + install -p -m 644 /builddir/build/SOURCES/milter-regex.service /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/lib/systemd/system/milter-regex.service + install -p -m 644 /builddir/build/SOURCES/milter-regex-options /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/etc/sysconfig/milter-regex + install -p -m 644 /builddir/build/SOURCES/milter-regex.conf /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/etc/mail/milter-regex.conf + : + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.7-2.oc9 --unique-debug-suffix -2.7-2.oc9.aarch64 --unique-debug-src-base milter-regex-2.7-2.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/milter-regex-2.7 extracting debug info from /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/sbin/milter-regex 216 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: milter-regex-2.7-2.oc9.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.E839ry + umask 022 + cd /builddir/build/BUILD + cd milter-regex-2.7 + LICENSEDIR=/builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/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-2.oc9.aarch64/usr/share/licenses/milter-regex + cp -pr LICENSE /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64/usr/share/licenses/milter-regex + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(milter-regex) = 2.7-2.oc9 milter-regex = 2.7-2.oc9 milter-regex(aarch-64) = 2.7-2.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libmilter.so.1.0()(64bit) rtld(GNU_HASH) Processing files: milter-regex-debugsource-2.7-2.oc9.aarch64 Provides: milter-regex-debugsource = 2.7-2.oc9 milter-regex-debugsource(aarch-64) = 2.7-2.oc9 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-2.oc9.aarch64 Provides: debuginfo(build-id) = 530b75de5f360cbedded895e0dc995d022e68af1 milter-regex-debuginfo = 2.7-2.oc9 milter-regex-debuginfo(aarch-64) = 2.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: milter-regex-debugsource(aarch-64) = 2.7-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/milter-regex-2.7-2.oc9.aarch64 Wrote: /builddir/build/RPMS/milter-regex-2.7-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/milter-regex-debugsource-2.7-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/milter-regex-debuginfo-2.7-2.oc9.aarch64.rpm Child return code was: 0