Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DateTime-TimeZone.spec'], chrootPath='/var/lib/mock/dist-an23-build-216288-61992/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DateTime-TimeZone.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 warning: Macro expanded in comment on line 37: %{defined perl_bootstrap} warning: line 156: multiple %files for package 'perl-DateTime-TimeZone' Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1676073600 Wrote: /builddir/build/SRPMS/perl-DateTime-TimeZone-2.57-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 37: %{defined perl_bootstrap} line 156: multiple %files for package 'perl-DateTime-TimeZone' Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DateTime-TimeZone.spec'], chrootPath='/var/lib/mock/dist-an23-build-216288-61992/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DateTime-TimeZone.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 warning: Macro expanded in comment on line 37: %{defined perl_bootstrap} warning: line 156: multiple %files for package 'perl-DateTime-TimeZone' Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1676073600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zSOWv6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tzdata-2022g + /usr/bin/mkdir -p tzdata-2022g + cd tzdata-2022g + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tzdata2022g.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf DateTime-TimeZone-2.57 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/DateTime-TimeZone-2.57.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd DateTime-TimeZone-2.57 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (DateTime-TimeZone-2.04-Parse-etc-localtime-by-DateTime-TimeZone-Tzfile.patch):' Patch #0 (DateTime-TimeZone-2.04-Parse-etc-localtime-by-DateTime-TimeZone-Tzfile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/DateTime/TimeZone/Local/Unix.pm Hunk #3 succeeded at 358 (offset -3 lines). + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00-report-prereqs.t + chmod +x t/00-report-prereqs.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/02basic.t + chmod +x t/02basic.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/03link.t + chmod +x t/03link.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/04local.t + chmod +x t/04local.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/05offset.t + chmod +x t/05offset.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/06no-dst.t + chmod +x t/06no-dst.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/07offset-only.t + chmod +x t/07offset-only.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/08name.t + chmod +x t/08name.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/09changes.t + chmod +x t/09changes.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/11valid-name.t + chmod +x t/11valid-name.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/12storable.t + chmod +x t/12storable.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/13short-name-has-slash.t + chmod +x t/13short-name-has-slash.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/14invalid-name.t + chmod +x t/14invalid-name.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/15catalog.t + chmod +x t/15catalog.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/16has-dst-changes.t + chmod +x t/16has-dst-changes.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/17special-names.t + chmod +x t/17special-names.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/18olson-version-check.t + chmod +x t/18olson-version-check.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/20local-subclass.t + chmod +x t/20local-subclass.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/21stack-corruption.t + chmod +x t/21stack-corruption.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/22taint-mode.t + chmod +x t/22taint-mode.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/23etc_zones_offset.t + chmod +x t/23etc_zones_offset.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/check_datetime_version.pl + chmod +x t/check_datetime_version.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AF62mw + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 DateTime-TimeZone-2.57 ++ printf %s -j64 ++ sed 's/.*-j\([0-9][0-9]*\).*/\1/' + JOBS=64 + perl tools/parse_olson --dir ../tzdata-2022g --version 2022g --jobs 64 --clean Can't locate DateTime.pm in @INC (you may need to install the DateTime module) (@INC contains: ./lib /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at tools/parse_olson line 9. BEGIN failed--compilation aborted at tools/parse_olson line 9. error: Bad exit status from /var/tmp/rpm-tmp.AF62mw (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 37: %{defined perl_bootstrap} line 156: multiple %files for package 'perl-DateTime-TimeZone' Bad exit status from /var/tmp/rpm-tmp.AF62mw (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/perl-DateTime-TimeZone.spec