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/gperftools.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-63363-2675/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/gperftools.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/gperftools-2.11-2.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/gperftools.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-63363-2675/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/gperftools.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.jG5cVQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gperftools-2.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gperftools-2.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gperftools-2.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gperftools-2.7.90-disable-generic-dynamic-tls.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/\r//' README_windows.txt + chmod -x src/addressmap-inl.h src/central_freelist.h src/common.h src/config_for_unittests.h src/emergency_malloc.h src/getenv_safe.h src/getpc.h src/heap-profile-stats.h src/heap-profile-table.h src/internal_logging.h src/libc_override.h src/libc_override_aix.h src/libc_override_gcc_and_weak.h src/libc_override_glibc.h src/libc_override_osx.h src/libc_override_redefine.h src/linked_list.h src/malloc_hook-inl.h src/maybe_emergency_malloc.h src/memory_region_map.h src/mmap_hook.h src/packed-cache-inl.h src/page_heap.h src/page_heap_allocator.h src/pagemap.h src/profile-handler.h src/profiledata.h src/raw_printer.h src/safe_strerror.h src/sampler.h src/span.h src/stack_trace_table.h src/stacktrace_arm-inl.h src/stacktrace_generic-inl.h src/stacktrace_generic_fp-inl.h src/stacktrace_impl_setup-inl.h src/stacktrace_instrument-inl.h src/stacktrace_libgcc-inl.h src/stacktrace_libunwind-inl.h src/stacktrace_powerpc-darwin-inl.h src/stacktrace_powerpc-inl.h src/stacktrace_powerpc-linux-inl.h src/stacktrace_win32-inl.h src/static_vars.h src/symbolize.h src/system-alloc.h src/tcmalloc.h src/tcmalloc_guard.h src/thread_cache.h src/central_freelist.cc src/common.cc src/debugallocation.cc src/emergency_malloc.cc src/emergency_malloc_for_stacktrace.cc src/fake_stacktrace_scope.cc src/heap-checker-bcad.cc src/heap-checker.cc src/heap-profile-table.cc src/heap-profiler.cc src/internal_logging.cc src/malloc_extension.cc src/malloc_hook.cc src/memfs_malloc.cc src/memory_region_map.cc src/mmap_hook.cc src/page_heap.cc src/profile-handler.cc src/profiledata.cc src/profiler.cc src/raw_printer.cc src/safe_strerror.cc src/sampler.cc src/span.cc src/stack_trace_table.cc src/stacktrace.cc src/static_vars.cc src/symbolize.cc src/system-alloc.cc src/tcmalloc.cc src/thread_cache.cc + autoreconf -ifv Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/bin/autoreconf line 48. BEGIN failed--compilation aborted at /usr/bin/autoreconf line 48. error: Bad exit status from /var/tmp/rpm-tmp.jG5cVQ (%prep) Bad exit status from /var/tmp/rpm-tmp.jG5cVQ (%prep) 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/gperftools.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/gperftools.spec