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/perl-YAML-LibYAML.spec'], chrootPath='/var/lib/mock/dist-oc9-build-135936-78964/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/perl-YAML-LibYAML.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/perl-YAML-LibYAML-0.86-5.oc9.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/perl-YAML-LibYAML.spec'], chrootPath='/var/lib/mock/dist-oc9-build-135936-78964/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/perl-YAML-LibYAML.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.de6ajh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf YAML-LibYAML-0.86 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/YAML-LibYAML-0.86.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd YAML-LibYAML-0.86 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/YAML-LibYAML-0.79-Unbundled-libyaml.patch + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/api.c + sed -i -e '/^LibYAML\/api.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/dumper.c + sed -i -e '/^LibYAML\/dumper.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/emitter.c + sed -i -e '/^LibYAML\/emitter.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/loader.c + sed -i -e '/^LibYAML\/loader.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/parser.c + sed -i -e '/^LibYAML\/parser.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/reader.c + sed -i -e '/^LibYAML\/reader.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/scanner.c + sed -i -e '/^LibYAML\/scanner.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/writer.c + sed -i -e '/^LibYAML\/writer.c/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/yaml.h + sed -i -e '/^LibYAML\/yaml.h/d' MANIFEST + for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c yaml.h yaml_private.h + rm LibYAML/yaml_private.h + sed -i -e '/^LibYAML\/yaml_private.h/d' MANIFEST + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/000-require-modules.t + chmod +x t/000-require-modules.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/alias.t + chmod +x t/alias.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/api.t + chmod +x t/api.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/ascii.t + chmod +x t/ascii.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/author-pod-syntax.t + chmod +x t/author-pod-syntax.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/binary.t + chmod +x t/binary.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/blessed.t + chmod +x t/blessed.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/boolean-boolean.t + chmod +x t/boolean-boolean.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/boolean-invalid.t + chmod +x t/boolean-invalid.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/boolean-jsonpp.t + chmod +x t/boolean-jsonpp.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/boolean.t + chmod +x t/boolean.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bug-pvf.t + chmod +x t/bug-pvf.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bug-stack.t + chmod +x t/bug-stack.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/code.t + chmod +x t/code.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/dump-heuristics.t + chmod +x t/dump-heuristics.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/dump-int.t + chmod +x t/dump-int.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/dump.t + chmod +x t/dump.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/duplicate-keys.t + chmod +x t/duplicate-keys.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/empty.t + chmod +x t/empty.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/error.t + chmod +x t/error.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/file.t + chmod +x t/file.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/glob.t + chmod +x t/glob.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/indent.t + chmod +x t/indent.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/io-handle.t + chmod +x t/io-handle.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/leak.t + chmod +x t/leak.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/libyaml-version.t + chmod +x t/libyaml-version.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/load-blessed.t + chmod +x t/load-blessed.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/load.t + chmod +x t/load.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/load_standard_tags.t + chmod +x t/load_standard_tags.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/loadfile-empty.t + chmod +x t/loadfile-empty.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/long_plain_wrap.t + chmod +x t/long_plain_wrap.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/magic.t + chmod +x t/magic.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/native.t + chmod +x t/native.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/null.t + chmod +x t/null.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/numbers.t + chmod +x t/numbers.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/path-class.t + chmod +x t/path-class.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/pl_sv_undef.t + chmod +x t/pl_sv_undef.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/private.t + chmod +x t/private.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/quote.t + chmod +x t/quote.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/ref-scalar.t + chmod +x t/ref-scalar.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/regexp.t + chmod +x t/regexp.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/string_nulls.t + chmod +x t/string_nulls.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/tags.t + chmod +x t/tags.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/tied.t + chmod +x t/tied.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/utf8.t + chmod +x t/utf8.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iTkr9k + 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 YAML-LibYAML-0.86 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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' NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for YAML::LibYAML + /usr/bin/make -O -j8 V=1 VERBOSE=1 cp lib/YAML/XS.pod blib/lib/YAML/XS.pod cp lib/YAML/LibYAML.pod blib/lib/YAML/LibYAML.pod cp lib/YAML/LibYAML.pm blib/lib/YAML/LibYAML.pm cp lib/YAML/XS.pm blib/lib/YAML/XS.pm make[1]: Entering directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -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/TencentOS/TencentOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_CONFIG_H perl_libyaml.c make[1]: Leaving directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory compilation terminated. make[1]: *** [Makefile:329: perl_libyaml.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' cp lib/YAML/XS/LibYAML.pm ../blib/lib/YAML/XS/LibYAML.pm make[1]: Leaving directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' make[1]: Entering directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' Running Mkbootstrap for LibYAML () chmod 644 "LibYAML.bs" make[1]: Leaving directory '/builddir/build/BUILD/YAML-LibYAML-0.86/LibYAML' make: *** [Makefile:499: subdirs] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.iTkr9k (%build) Bad exit status from /var/tmp/rpm-tmp.iTkr9k (%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/perl-YAML-LibYAML.spec\n', 1)] 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 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/perl-YAML-LibYAML.spec