Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdomainkeys-toaster.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1660262697.001970/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e462faaecf7d444181d8c55c3febe213', '-D', '/var/lib/mock/centos+epel-7-x86_64-1660262697.001970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdomainkeys-toaster.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libdomainkeys-toaster-0.69-1.3.1.kng.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdomainkeys-toaster.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1660262697.001970/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '62cf0f62305643c488930e636aa10acc', '-D', '/var/lib/mock/centos+epel-7-x86_64-1660262697.001970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5atn8p96:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdomainkeys-toaster.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1Wz6dX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdomainkeys-0.69 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/libdomainkeys-0.69.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libdomainkeys-0.69 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libdomainkeys-openssl-1.1.patch):' Patch #0 (libdomainkeys-openssl-1.1.patch): + /usr/bin/cat /builddir/build/SOURCES/libdomainkeys-openssl-1.1.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile patching file domainkeys.c patching file socket.lib + '[' -f /var/tmp/libdomainkeys-0.69-gcc ']' + echo gcc + perl -pi '-es|CFLAGS=|CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC |' Makefile + perl -pi '-es/`cat dns.lib`/-lresolv /' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hG11dw + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + '[' -n /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 -a /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + make UNAME=Linux gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -o makeheader makeheader.c ./makeheader domainkeys.h gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c dktest.c -I. dktest.c: In function 'main': dktest.c:146:3: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] if (optt == 3) errorout(dk,dk_message(NULL, "", 1)); /* TC4 */ ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:148:3: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] if (optt == 5) errorout(dk,dk_message(dk, "", 0)); /* TC6 */ ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:181:9: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] st = dk_message(dk,inp,inlen); ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:193:10: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] st = dk_message(dk, start, i); ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:199:10: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] st = dk_message(dk, "\r\n", 2); ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:210:7: warning: pointer targets in passing argument 2 of 'dk_message' differ in signedness [-Wpointer-sign] st = dk_message(dk, start, i); ^ In file included from dktest.c:3:0: ./domainkeys.h:286:1: note: expected 'const unsigned char *' but argument is of type 'char *' dk_message(DK *dk, const unsigned char *ptr, size_t len) ^ dktest.c:286:5: warning: pointer targets in passing argument 3 of 'dk_getsig' differ in signedness [-Wpointer-sign] dk_getsig(dk, privkey, advice, advicelen); ^ In file included from dktest.c:3:0: ./domainkeys.h:384:1: note: expected 'unsigned char *' but argument is of type 'char *' dk_getsig(DK *dk, void *privatekey, unsigned char buf[], size_t len) ^ dktest.c:288:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat=] printf("%d %d\n",dk_siglen(privkey), strlen(advice)); /* TC39 */ ^ dktest.c:288:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=] dktest.c:291:5: warning: pointer targets in passing argument 3 of 'dk_getsig' differ in signedness [-Wpointer-sign] st = dk_getsig(dk, privkey, advice, advicelen); ^ In file included from dktest.c:3:0: ./domainkeys.h:384:1: note: expected 'unsigned char *' but argument is of type 'char *' dk_getsig(DK *dk, void *privatekey, unsigned char buf[], size_t len) ^ dktest.c:308:5: warning: enumeration value 'DK_STAT_DUPLICATE' not handled in switch [-Wswitch] switch(st) { ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c domainkeys.c -I. domainkeys.c: In function 'dk_from': domainkeys.c:1557:18: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c dns_txt.c dns_txt.c: In function 'dns_text': dns_txt.c:133:7: warning: pointer targets in passing argument 1 of 'dk_strdup' differ in signedness [-Wpointer-sign] return (char *) dk_strdup( buf ); ^ dns_txt.c:19:14: note: expected 'const char *' but argument is of type 'u_char *' extern char *dk_strdup(const char *s); ^ dns_txt.c:70:9: warning: unused variable 'i' [-Wunused-variable] int i, rc; /* misc variables */ ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c -o dktrace.o dktrace.c rm -f libdomainkeys.a ar cr libdomainkeys.a domainkeys.o dns_txt.o dktrace.o ranlib libdomainkeys.a (if make dnstest >/dev/null 2>&1; then echo -lresolv; else echo ""; fi) >dns.lib rm -f dnstest gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -o dktest dktest.o -L. -ldomainkeys -lcrypto -lresolv `cat socket.lib` + '[' -f /var/tmp/libdomainkeys-0.69-gcc ']' + rm -f /var/tmp/libdomainkeys-0.69-gcc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vDAwl7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + cd libdomainkeys-0.69 + rm -rf /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/include + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/bin + install -p domainkeys.h dktrace.h /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/include + install -p libdomainkeys.a /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/lib64 + install -p dknewkey dktest /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: libdomainkeys-toaster-0.69-1.3.1.kng.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bhcQFI + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + DOCDIR=/builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/share/doc/libdomainkeys-toaster-0.69 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/share/doc/libdomainkeys-toaster-0.69 + cp -pr README /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/share/doc/libdomainkeys-toaster-0.69 + cp -pr CHANGES /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/share/doc/libdomainkeys-toaster-0.69 + cp -pr dknewkey.html dktest.html softwarelicense1-1.html /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64/usr/share/doc/libdomainkeys-toaster-0.69 + exit 0 Provides: libdomainkeys-devel = 0.69 libdomainkeys-toaster = 0.69-1.3.1.kng.el7 libdomainkeys-toaster(x86-64) = 0.69-1.3.1.kng.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Obsoletes: libdomainkeys Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 Wrote: /builddir/build/RPMS/libdomainkeys-toaster-0.69-1.3.1.kng.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZGzuFV + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + '[' -n /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 -a /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-0.69-1.3.1.kng.el7.x86_64 + '[' -d /builddir/build/BUILD/libdomainkeys-0.69 ']' + rm -rf /builddir/build/BUILD/libdomainkeys-0.69 + exit 0 Child return code was: 0