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 aarch64 --nodeps /builddir/build/SPECS/docbook2X.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70058-4009/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/docbook2X.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/docbook2X-0.8.8-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/docbook2X.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70058-4009/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/docbook2X.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TpNhOj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf docbook2X-0.8.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/docbook2X-0.8.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd docbook2X-0.8.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OX5y3Z + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 docbook2X-0.8.8 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --program-transform-name=s/docbook2/db2x_docbook2/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for aarch64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking for iconv... /usr/bin/iconv checking for sgml2xml... /usr/bin/sgml2xml checking for osx... /usr/bin/osx checking for makeinfo... /usr/bin/makeinfo checking for groff... /usr/bin/groff checking for xmllint... /usr/bin/xmllint checking for tidy... no checking for xsltproc... /usr/bin/xsltproc checking for java... no checking for /usr/local/share/java/resolver.jar... no checking for /usr/share/java/resolver.jar... no checking for /usr/share/java/xml-commons-resolver-1.1.jar... no checking for /usr/local/share/java/saxon.jar... no checking for /usr/share/java/saxon.jar... no checking for /usr/local/share/java/xalan.jar... no checking for /usr/share/java/xalan.jar... no checking for /usr/share/java/xalan2.jar... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getline... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating charmaps/Makefile config.status: creating dtd/Makefile config.status: creating xslt/Makefile config.status: creating xslt/common/Makefile config.status: creating xslt/common/text/Makefile config.status: creating xslt/man/Makefile config.status: creating xslt/texi/Makefile config.status: creating xslt/documentation/Makefile config.status: creating xslt/backend/Makefile config.status: creating perl/Makefile config.status: creating perl/config.pl config.status: creating perl/sgml2xml-isoent config.status: creating utf8trans/Makefile config.status: creating doc/Makefile config.status: creating test/Makefile config.status: creating test/refentry/Makefile config.status: creating test/complete-manuals/Makefile config.status: creating test/utf8trans/Makefile config.status: creating test/sgml/Makefile config.status: creating utf8trans/config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 Making all in . make[1]: Nothing to be done for 'all-am'. Making all in charmaps make[1]: Nothing to be done for 'all'. Making all in dtd make[1]: Nothing to be done for 'all'. Making all in perl make[1]: Entering directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' rm -f docbook2man (cat config.pl ; echo 'my $CONVERSION_TYPE = q;'; cat ./docbook2X.pl) >docbook2man chmod 555 docbook2man /usr/bin/perl -c -w docbook2man make[1]: Leaving directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' docbook2man syntax OK make[1]: Entering directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' rm -f docbook2texi (cat config.pl ; echo 'my $CONVERSION_TYPE = q;'; cat ./docbook2X.pl) >docbook2texi chmod 555 docbook2texi /usr/bin/perl -c -w docbook2texi make[1]: Leaving directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' docbook2texi syntax OK make[1]: Entering directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' rm -f db2x_xsltproc cat config.pl db2x_xsltproc.pl >db2x_xsltproc chmod 555 db2x_xsltproc /usr/bin/perl -c -w db2x_xsltproc make[1]: Leaving directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' db2x_xsltproc syntax OK make[1]: Entering directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' rm -f db2x_manxml cat config.pl XML/Handler/SGMLSpl.pm db2x_manxml.pl >db2x_manxml chmod 555 db2x_manxml /usr/bin/perl -c -w db2x_manxml make[1]: Leaving directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' 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/share/perl5/vendor_perl/XML/SAX.pm line 16. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX.pm line 16. Compilation failed in require at /usr/share/perl5/vendor_perl/XML/SAX/ParserFactory.pm line 11. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX/ParserFactory.pm line 11. Compilation failed in require at db2x_manxml line 2413. BEGIN failed--compilation aborted at db2x_manxml line 2413. make[1]: *** [Makefile:386: db2x_manxml] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' rm -f db2x_texixml cat config.pl XML/Handler/SGMLSpl.pm db2x_texixml.pl >db2x_texixml chmod 555 db2x_texixml /usr/bin/perl -c -w db2x_texixml make[1]: Leaving directory '/builddir/build/BUILD/docbook2X-0.8.8/perl' 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/share/perl5/vendor_perl/XML/SAX.pm line 16. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX.pm line 16. Compilation failed in require at /usr/share/perl5/vendor_perl/XML/SAX/ParserFactory.pm line 11. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX/ParserFactory.pm line 11. Compilation failed in require at db2x_texixml line 2147. BEGIN failed--compilation aborted at db2x_texixml line 2147. make[1]: *** [Makefile:392: db2x_texixml] Error 2 make: *** [Makefile:255: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OX5y3Z (%build) Bad exit status from /var/tmp/rpm-tmp.OX5y3Z (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/docbook2X.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 aarch64 --nodeps /builddir/build/SPECS/docbook2X.spec