Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/keyutils.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-192903-60809/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/keyutils.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/keyutils-1.6.1-4.an8.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/keyutils.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-192903-60809/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/keyutils.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lKhs4n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keyutils-1.6.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/keyutils-1.6.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd keyutils-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y3M4Ge + umask 022 + cd /builddir/build/BUILD + cd keyutils-1.6.1 + make NO_ARLIB=1 ETCDIR=/etc LIBDIR=/usr/lib64 USRLIBDIR=/usr/lib64 BINDIR=/usr/bin SBINDIR=/usr/sbin MANDIR=/usr/share/man INCLUDEDIR=/usr/include SHAREDIR=/usr/share/keyutils RELEASE=.4.an8 NO_GLIBC_KEYERR=1 'CFLAGS=-Wall -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' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' cc -I. -Wall -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 -o keyctl.o -c keyctl.c cc -I. -DPKGBUILD="\"2023-01-05\"" -DPKGVERSION="\"keyutils-1.6.1\"" -DAPIVERSION="\"libkeyutils-1.9\"" -Wall -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 -o keyutils.os -c keyutils.c cc -Wall -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libkeyutils.so.1 -Wl,--version-script,version.lds -o libkeyutils.so.1.9 keyutils.os -ldl -lc ln -sf libkeyutils.so.1.9 libkeyutils.so.1 ln -sf libkeyutils.so.1 libkeyutils.so cc -L. -Wall -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o keyctl keyctl.o -lkeyutils cc -I. -Wall -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 -o request-key.o -c request-key.c cc -L. -Wall -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o request-key request-key.o -lkeyutils cc -I. -Wall -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 -o key.dns_resolver.o -c key.dns_resolver.c cc -I. -Wall -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 -o dns.afsdb.o -c dns.afsdb.c cc -L. -Wall -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o key.dns_resolver \ key.dns_resolver.o dns.afsdb.o -lkeyutils -lresolv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9LJeOf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64 + cd keyutils-1.6.1 + make NO_ARLIB=1 DESTDIR=/builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64 ETCDIR=/etc LIBDIR=/usr/lib64 USRLIBDIR=/usr/lib64 BINDIR=/usr/bin SBINDIR=/usr/sbin MANDIR=/usr/share/man INCLUDEDIR=/usr/include SHAREDIR=/usr/share/keyutils install install -D libkeyutils.so.1.9 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/lib64/libkeyutils.so.1.9 ln -sf libkeyutils.so.1.9 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/lib64/libkeyutils.so.1 mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/lib64 ln -sf /usr/lib64/libkeyutils.so.1 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/lib64/libkeyutils.so sed \ -e 's,@VERSION\@,1.6.1,g' \ -e 's,@prefix\@,/usr,g' \ -e 's,@exec_prefix\@,/usr,g' \ -e 's,@libdir\@,/usr/lib64,g' \ -e 's,@includedir\@,/usr/include,g' \ < libkeyutils.pc.in > libkeyutils.pc || rm libkeyutils.pc install -D libkeyutils.pc /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/lib64/pkgconfig/libkeyutils.pc rm libkeyutils.pc install -D keyctl /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/bin/keyctl install -D request-key /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/sbin/request-key install -D request-key-debug.sh /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/keyutils/request-key-debug.sh install -D key.dns_resolver /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/sbin/key.dns_resolver install -D -m 0644 request-key.conf /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/etc/request-key.conf mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/etc/request-key.d mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man1 install -m 0644 man/keyctl.1 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3 install -m 0644 man/keyctl_get_keyring_ID.3 man/keyctl.3 man/keyctl_chown.3 man/keyctl_revoke.3 man/keyctl_get_security.3 man/keyctl_move.3 man/keyctl_pkey_decrypt.3 man/keyctl_set_timeout.3 man/find_key_by_type_and_name.3 man/keyctl_join_session_keyring.3 man/keyctl_capabilities.3 man/keyctl_dh_compute.3 man/keyctl_invalidate.3 man/keyctl_set_reqkey_keyring.3 man/keyctl_pkey_query.3 man/keyctl_restrict_keyring.3 man/keyctl_instantiate.3 man/keyctl_clear.3 man/keyctl_session_to_parent.3 man/keyctl_link.3 man/keyctl_pkey_sign.3 man/keyctl_search.3 man/keyctl_setperm.3 man/keyctl_update.3 man/keyctl_describe.3 man/keyctl_read.3 man/keyctl_pkey_encrypt.3 man/keyctl_pkey_verify.3 man/keyctl_get_persistent.3 man/recursive_key_scan.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3 mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man5 install -m 0644 man/request-key.conf.5 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man7 install -m 0644 man/keyutils.7 man/asymmetric-key.7 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man7 mkdir -p /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man8 install -m 0644 man/request-key.8 man/key.dns_resolver.8 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man8 ln -sf keyctl_describe.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_describe_alloc.3 ln -sf keyctl_get_security.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_get_security_alloc.3 ln -sf keyctl_instantiate.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_instantiate_iov.3 ln -sf keyctl_instantiate.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_reject.3 ln -sf keyctl_instantiate.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_negate.3 ln -sf keyctl_instantiate.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_assume_authority.3 ln -sf keyctl_link.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_unlink.3 ln -sf keyctl_read.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_read_alloc.3 ln -sf recursive_key_scan.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/recursive_session_key_scan.3 ln -sf keyctl_dh_compute.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_dh_compute_alloc.3 ln -sf keyctl_dh_compute.3 /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/share/man/man3/keyctl_dh_compute_kdf.3 install -D -m 0644 keyutils.h /builddir/build/BUILDROOT/keyutils-1.6.1-4.an8.x86_64/usr/include/keyutils.h + %generate_compatibility_deps /var/tmp/rpm-tmp.9LJeOf: line 52: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.9LJeOf (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9LJeOf (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/keyutils.spec