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/thrift.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69700-3999/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/thrift.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/thrift-0.14.0-6.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/thrift.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69700-3999/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/thrift.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.vruLws + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thrift-0.14.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/thrift-0.14.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd thrift-0.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/thrift-char.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/configure-java-prefix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's/^AC_PROG_LIBTOOL/LT_INIT/g' configure.ac + find . -name '*.cpp' -or -name '*.cc' -or -name '*.h' + xargs -r chmod 644 + cp -p /builddir/build/SOURCES/bootstrap.sh bootstrap.sh + echo 'libthrift_c_glib_la_LIBADD = $(GLIB_LIBS) $(GOBJECT_LIBS) -L../cpp/.libs ' + echo 'libthriftqt5_la_LIBADD = $(QT_LIBS) -lthrift -L.libs' + echo 'libthriftz_la_LIBADD = $(ZLIB_LIBS) -lthrift -L.libs' + echo 'EXTRA_libthriftqt5_la_DEPENDENCIES = libthrift.la' + echo 'EXTRA_libthriftz_la_DEPENDENCIES = libthrift.la' + sed -i 's|ANT_VALID=.*|ANT_VALID=1|' aclocal/ax_javac_and_java.m4 + shopt -s globstar + sed -i -E 's@^(#!.*/env) *python *$@\1 python3@' compiler/cpp/test/compiler/staleness_check.py contrib/async-test/test-leaf.py contrib/fb303/py/fb303/FacebookBase.py contrib/fb303/py/fb303_scripts/__init__.py contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py contrib/fb303/py/setup.py contrib/parse_profiling.py contrib/zeromq/TZmqClient.py contrib/zeromq/TZmqServer.py contrib/zeromq/test-client.py contrib/zeromq/test-server.py lib/nodejs/examples/httpServer.py lib/py/setup.py lib/py/src/TMultiplexedProcessor.py lib/py/src/TRecursive.py lib/py/src/TSCons.py lib/py/src/TSerialization.py lib/py/src/TTornado.py lib/py/src/Thrift.py lib/py/src/__init__.py lib/py/src/compat.py lib/py/src/protocol/TBase.py lib/py/src/protocol/TBinaryProtocol.py lib/py/src/protocol/TCompactProtocol.py lib/py/src/protocol/THeaderProtocol.py lib/py/src/protocol/TJSONProtocol.py lib/py/src/protocol/TMultiplexedProtocol.py lib/py/src/protocol/TProtocol.py lib/py/src/protocol/TProtocolDecorator.py lib/py/src/protocol/__init__.py lib/py/src/server/THttpServer.py lib/py/src/server/TNonblockingServer.py lib/py/src/server/TProcessPoolServer.py lib/py/src/server/TServer.py lib/py/src/server/__init__.py lib/py/src/transport/THeaderTransport.py lib/py/src/transport/THttpClient.py lib/py/src/transport/TSSLSocket.py lib/py/src/transport/TSocket.py lib/py/src/transport/TTransport.py lib/py/src/transport/TTwisted.py lib/py/src/transport/TZlibTransport.py lib/py/src/transport/__init__.py lib/py/src/transport/sslcompat.py lib/py/test/_import_local_thrift.py lib/py/test/test_socket.py lib/py/test/test_sslsocket.py lib/py/test/thrift_TBinaryProtocol.py lib/py/test/thrift_TCompactProtocol.py lib/py/test/thrift_TNonblockingServer.py lib/py/test/thrift_TZlibTransport.py lib/py/test/thrift_json.py lib/py/test/thrift_transport.py test/crossrunner/__init__.py test/crossrunner/collect.py test/crossrunner/compat.py test/crossrunner/report.py test/crossrunner/run.py test/crossrunner/test.py test/crossrunner/util.py test/features/container_limit.py test/features/local_thrift/__init__.py test/features/string_limit.py test/features/theader_binary.py test/features/util.py test/py.tornado/test_suite.py test/py.twisted/test_suite.py test/py/FastbinaryTest.py test/py/RunClientServer.py test/py/SerializationTest.py test/py/TSimpleJSONProtocolTest.py test/py/TestClient.py test/py/TestEof.py test/py/TestFrozen.py test/py/TestRenderedDoubleConstants.py test/py/TestServer.py test/py/TestSocket.py test/py/TestSyntax.py test/py/util.py test/test.py tutorial/php/runserver.py tutorial/py.tornado/PythonClient.py tutorial/py.tornado/PythonServer.py tutorial/py.twisted/PythonClient.py tutorial/py.twisted/PythonServer.py tutorial/py/PythonClient.py tutorial/py/PythonServer.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g3dQyg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 thrift-0.14.0 + export PY_PREFIX=/usr + PY_PREFIX=/usr + export PERL_PREFIX=/usr + PERL_PREFIX=/usr + export 'PHP_PREFIX=%{php_extdir}' + PHP_PREFIX='%{php_extdir}' + export 'JAVA_PREFIX=%{_javadir}' + JAVA_PREFIX='%{_javadir}' + export RUBY_PREFIX=/usr + RUBY_PREFIX=/usr ++ pkg-config --libs glib-2.0 + export GLIB_LIBS=-lglib-2.0 + GLIB_LIBS=-lglib-2.0 ++ pkg-config --cflags glib-2.0 + export 'GLIB_CFLAGS=-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread' + GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread' ++ pkg-config --libs gobject-2.0 + export 'GOBJECT_LIBS=-lgobject-2.0 -lglib-2.0' + GOBJECT_LIBS='-lgobject-2.0 -lglib-2.0' ++ pkg-config --cflags gobject-2.0 + export 'GOBJECT_CFLAGS=-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread' + GOBJECT_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread' + find /builddir/build/BUILD -name rebar -delete + find . -name 'Makefile*' -exec sed -i -e 's/[.][/]rebar/rebar/g' '{}' ';' + sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path=$(DESTDIR)%{_javadocdir}/thrift|' lib/java/Makefile.am lib/java/Makefile.in + sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am + sh ./bootstrap.sh make distclean... ok egrep: warning: egrep is obsolescent; using grep -E 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/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/bin/automake line 46. BEGIN failed--compilation aborted at /usr/bin/automake line 46. error: Bad exit status from /var/tmp/rpm-tmp.g3dQyg (%build) Bad exit status from /var/tmp/rpm-tmp.g3dQyg (%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/thrift.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/thrift.spec