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/kbd.spec'], chrootPath='/var/lib/mock/dist-an23-build-77599-40504/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/kbd.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 warning: line 23: It's not recommended to have unversioned Obsoletes: Obsoletes: vlock Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1646697600 Wrote: /builddir/build/SRPMS/kbd-2.4.0-1.an23.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/kbd.spec'], chrootPath='/var/lib/mock/dist-an23-build-77599-40504/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/kbd.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 warning: line 23: It's not recommended to have unversioned Obsoletes: Obsoletes: vlock Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1646697600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Mgz59Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kbd-2.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kbd-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + aclocal configure.ac:38: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:39: warning: macro 'AM_GNU_GETTEXT' not found in library + autoconf configure.ac:24: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:24: the top level configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... configure.ac:27: the top level configure.ac:44: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:44: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:44: the top level configure.ac:38: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:39: error: possibly undefined macro: AM_GNU_GETTEXT error: Bad exit status from /var/tmp/rpm-tmp.Mgz59Y (%prep) RPM build errors: line 23: It's not recommended to have unversioned Obsoletes: Obsoletes: vlock Bad exit status from /var/tmp/rpm-tmp.Mgz59Y (%prep) 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/kbd.spec