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 x86_64 --nodeps /builddir/build/SPECS/avahi.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-40208-2059/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/avahi.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/avahi-0.8-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/avahi.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-40208-2059/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/avahi.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.eFkW4z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf avahi-0.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/avahi-0.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd avahi-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-man-add-missing-bshell.1-symlink.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-fix-requires-in-pc-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-fix-bytestring-decoding-for-proper-display.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-avahi_dns_packet_consume_uint32-fix-potential-undefi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Fix-NULL-pointer-crashes-from-175.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3000-avahi-0.8-no_undefined.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -fv docs/INSTALL removed 'docs/INSTALL' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ySrTrf + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 avahi-0.8 + rm -fv missing common/gcc_stack_protect.m4 removed 'missing' removed 'common/gcc_stack_protect.m4' + NOCONFIGURE=1 + ./autogen.sh Copying file ABOUT-NLS Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin Adding an entry to po/ChangeLog (backup is in po/ChangeLog~) Copying file common/build-to-host.m4 cp: cannot stat '/usr/share/aclocal/build-to-host.m4': No such file or directory Copying file common/gettext.m4 cp: cannot stat '/usr/share/aclocal/gettext.m4': No such file or directory Copying file common/host-cpu-c-abi.m4 cp: cannot stat '/usr/share/aclocal/host-cpu-c-abi.m4': No such file or directory Copying file common/iconv.m4 cp: cannot stat '/usr/share/aclocal/iconv.m4': No such file or directory Copying file common/intlmacosx.m4 cp: cannot stat '/usr/share/aclocal/intlmacosx.m4': No such file or directory Copying file common/lib-ld.m4 cp: cannot stat '/usr/share/aclocal/lib-ld.m4': No such file or directory Copying file common/lib-link.m4 cp: cannot stat '/usr/share/aclocal/lib-link.m4': No such file or directory Copying file common/lib-prefix.m4 cp: cannot stat '/usr/share/aclocal/lib-prefix.m4': No such file or directory Copying file common/nls.m4 cp: cannot stat '/usr/share/aclocal/nls.m4': No such file or directory Copying file common/po.m4 cp: cannot stat '/usr/share/aclocal/po.m4': No such file or directory Copying file common/progtest.m4 cp: cannot stat '/usr/share/aclocal/progtest.m4': No such file or directory Updating EXTRA_DIST in common/Makefile.am (backup is in common/Makefile.am~) Adding an entry to common/ChangeLog (backup is in common/ChangeLog~) Updating configure.ac (backup is in configure.ac~) Adding an entry to ChangeLog (backup is in ChangeLog~) Please run 'aclocal -I common' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.9 (or newer) to do this. Then run 'autoconf' to regenerate the configure file. You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around that implements the configure --disable-nls option. Press Return to acknowledge the previous two paragraphs. libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'common'. libtoolize: copying file 'common/libtool.m4' libtoolize: copying file 'common/ltoptions.m4' libtoolize: copying file 'common/ltsugar.m4' libtoolize: copying file 'common/ltversion.m4' libtoolize: copying file 'common/lt~obsolete.m4' configure.ac:421: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:422: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:59: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:59: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:59: the top level configure.ac:144: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:144: You should run autoupdate. common/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:144: the top level configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:146: the top level configure.ac:156: warning: The macro `AC_LANG_C' is obsolete. configure.ac:156: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... common/acx_pthread.m4:53: ACX_PTHREAD is expanded from... configure.ac:156: the top level configure.ac:156: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:156: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... common/acx_pthread.m4:53: ACX_PTHREAD is expanded from... configure.ac:156: the top level configure.ac:214: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:214: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.ac:214: the top level configure.ac:229: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:229: the top level configure.ac:229: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:229: the top level configure.ac:261: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:261: the top level configure.ac:262: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:262: the top level configure.ac:263: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:263: the top level configure.ac:264: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:264: the top level configure.ac:265: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:265: the top level configure.ac:266: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:266: the top level configure.ac:267: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:267: the top level configure.ac:268: warning: cannot check for file existence when cross compiling ./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... configure.ac:268: the top level configure.ac:303: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... configure.ac:303: the top level configure.ac:322: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:322: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:322: the top level configure.ac:349: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:349: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:349: the top level configure.ac:356: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:356: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:356: the top level configure.ac:381: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:381: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... common/gcc_visibility.m4:6: CHECK_VISIBILITY_HIDDEN is expanded from... configure.ac:381: the top level configure.ac:870: warning: The macro `AC_FD_CC' is obsolete. configure.ac:870: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... common/python.m4:4: AM_CHECK_PYMOD is expanded from... configure.ac:870: the top level configure.ac:873: warning: The macro `AC_FD_CC' is obsolete. configure.ac:873: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... common/python.m4:4: AM_CHECK_PYMOD is expanded from... configure.ac:873: the top level configure.ac:875: warning: The macro `AC_FD_CC' is obsolete. configure.ac:875: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... common/python.m4:4: AM_CHECK_PYMOD is expanded from... configure.ac:875: the top level configure.ac:875: warning: The macro `AC_FD_CC' is obsolete. configure.ac:875: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... common/python.m4:4: AM_CHECK_PYMOD is expanded from... common/python.m4:4: AM_CHECK_PYMOD is expanded from... configure.ac:875: the top level configure.ac:421: 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:422: error: possibly undefined macro: AM_GNU_GETTEXT error: Bad exit status from /var/tmp/rpm-tmp.ySrTrf (%build) Bad exit status from /var/tmp/rpm-tmp.ySrTrf (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/avahi.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/avahi.spec