Mock Version: 1.4.21 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/1153252-epel-8-x86_64-1579267761.027174/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8fe804974ab945e5a61969b6f29bcf13', '-D', '/var/lib/mock/1153252-epel-8-x86_64-1579267761.027174/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} 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.el8.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/1153252-epel-8-x86_64-1579267761.027174/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e8a4a8cd0646463ebd39ce59f2f13a9b', '-D', '/var/lib/mock/1153252-epel-8-x86_64-1579267761.027174/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xv83009q:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KJ1E3h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdomainkeys-0.69 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdomainkeys-0.69.tar.gz + /usr/bin/tar -xof - + 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/patch --no-backup-if-mismatch -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC |' Makefile + perl -pi '-es/`cat dns.lib`/-lresolv /' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ilnzg1 + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + '[' -n /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 -a /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + make UNAME=Linux 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -o makeheader makeheader.c ./makeheader domainkeys.h 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c dktest.c -I. dktest.c: In function 'main': dktest.c:146:47: 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: ./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:45: 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: ./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:28: 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: ./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:30: 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: ./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:30: 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: ./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:27: 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: ./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:28: 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: ./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:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] printf("%d %d\n",dk_siglen(privkey), strlen(advice)); /* TC39 */ ~^ ~~~~~~~~~~~~~~~~~~ %ld dktest.c:288:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] printf("%d %d\n",dk_siglen(privkey), strlen(advice)); /* TC39 */ ~^ ~~~~~~~~~~~~~~ %ld dktest.c:291:33: 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: ./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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DBIND_8_COMPAT -O2 -DDOMAIN_KEYS -c dns_txt.c dns_txt.c: In function 'dns_text': dns_txt.c:133:34: 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 *' {aka 'unsigned 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.VHpsJN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + cd libdomainkeys-0.69 + rm -rf /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/include + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/bin + install -p domainkeys.h dktrace.h /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/include + install -p libdomainkeys.a /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/lib64 + install -p dknewkey dktest /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/include/dktrace.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/domainkeys.h is executable but has empty or no shebang, removing executable bit Processing files: libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SkZqCA + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + DOCDIR=/builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/share/doc/libdomainkeys-toaster + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/share/doc/libdomainkeys-toaster + cp -pr README /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/share/doc/libdomainkeys-toaster + cp -pr CHANGES /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/share/doc/libdomainkeys-toaster + cp -pr dknewkey.html dktest.html softwarelicense1-1.html /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64/usr/share/doc/libdomainkeys-toaster + exit 0 Provides: libdomainkeys-devel = 0.69 libdomainkeys-toaster = 0.69-1.3.1.kng.el8 libdomainkeys-toaster(x86-64) = 0.69-1.3.1.kng.el8 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.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(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-toaster-0.69-1.3.1.kng.el8.x86_64 Wrote: /builddir/build/RPMS/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.I67AJn + umask 022 + cd /builddir/build/BUILD + cd libdomainkeys-0.69 + '[' -n /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 -a /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdomainkeys-toaster-0.69-1.3.1.kng.el8.x86_64 + '[' -d /builddir/build/BUILD/libdomainkeys-0.69 ']' + rm -rf /builddir/build/BUILD/libdomainkeys-0.69 + exit 0 Child return code was: 0