Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tzdata.spec'], chrootPath='/var/lib/mock/dist-an23-build-190111-60770/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=990gid=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/tzdata.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 setting SOURCE_DATE_EPOCH=1667692800 Wrote: /builddir/build/SRPMS/tzdata-2022f-2.an23.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/tzdata.spec'], chrootPath='/var/lib/mock/dist-an23-build-190111-60770/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=990gid=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/tzdata.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 setting SOURCE_DATE_EPOCH=1667692800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1b1kq2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tzdata-2022f + /usr/bin/mkdir -p tzdata-2022f + cd tzdata-2022f + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tzdata2022f.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tzcode2022f.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (tzdata-drop-ROC.patch):' Patch #1 (tzdata-drop-ROC.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file backward Patch #2 (0002-Fix-have-snprintf-error.patch): + echo 'Patch #2 (0002-Fix-have-snprintf-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 383 (offset 91 lines). Patch #3 (0003-continue-to-ship-posixrules.patch): + echo 'Patch #3 (0003-continue-to-ship-posixrules.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + make VERSION=2022f tzdata2022f-rearguard.tar.gz awk \ -v DATAFORM=`expr rearguard.zi : '\(.*\).zi'` \ -v PACKRATDATA='' \ -v PACKRATLIST='' \ -f ziguard.awk \ africa antarctica asia australasia europe northamerica southamerica etcetera factory backward >rearguard.zi.out mv rearguard.zi.out rearguard.zi { (type git) >/dev/null 2>&1 && \ V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \ --abbrev=7 --dirty` || \ if test '2022f' = unknown && V=`cat version`; then \ case $V in *-dirty);; *) V=$V-dirty;; esac; \ else \ V='2022f'; \ fi; } && \ printf '%s\n' "$V" >version.out fatal: not a git repository (or any of the parent directories): .git mv version.out version awk \ -v DATAFORM=`expr main.zi : '\(.*\).zi'` \ -v PACKRATDATA='' \ -v PACKRATLIST='' \ -f ziguard.awk \ africa antarctica asia australasia europe northamerica southamerica etcetera factory backward >main.zi.out mv main.zi.out main.zi version=`sed 1q version` && \ LC_ALL=C awk \ -v dataform='main' \ -v deps='ziguard.awk africa antarctica asia australasia europe northamerica southamerica etcetera factory backward zishrink.awk' \ -v redo='posix_right' \ -v version="$version" \ -f zishrink.awk \ main.zi >tzdata.zi.out mv tzdata.zi.out tzdata.zi rm -f set-timestamps.out if (type git) >/dev/null 2>&1 && \ files=`git ls-files calendars CONTRIBUTING LICENSE Makefile NEWS README SECURITY theory.html version africa antarctica asia australasia europe northamerica southamerica etcetera factory backward backzone iso3166.tab leap-seconds.list leapseconds zone1970.tab zone.tab checklinks.awk checktab.awk leapseconds.awk ziguard.awk zishrink.awk newctime.3 newstrftime.3 newtzset.3 time2posix.3 tzfile.5 tzselect.8 zic.8 zdump.8 date.1 newctime.3.txt newstrftime.3.txt newtzset.3.txt time2posix.3.txt tzfile.5.txt tzselect.8.txt zic.8.txt zdump.8.txt date.1.txt tz-art.html tz-how-to.html tz-link.html tzfile.h private.h localtime.c asctime.c difftime.c strftime.c zic.c zdump.c date.c tzselect.ksh workman.sh tzdata.zi` && \ touch -md @1 test.out; then \ rm -f test.out && \ for file in $files; do \ if git diff --quiet $file; then \ time=`git log -1 --format='tformat:%ct' $file` && \ touch -cmd @$time $file; \ else \ echo >&2 "$file: warning: does not match repository"; \ fi || exit; \ done; \ fi fatal: not a git repository (or any of the parent directories): .git sh -c ' n=$0 dest=$1; shift; touch -cmr `ls -t "$@" | sed 1q` "$dest" && if test $n != 0 && lsout=`ls -n --time-style="+%s" "$dest" 2>/dev/null`; then set x $lsout && touch -cmd @`expr $7 + $n` "$dest"; else :; fi' 1 leapseconds leapseconds.awk leap-seconds.list for file in `ls newctime.3.txt newstrftime.3.txt newtzset.3.txt time2posix.3.txt tzfile.5.txt tzselect.8.txt zic.8.txt zdump.8.txt date.1.txt | sed 's/\.txt$//'`; do \ sh -c ' n=$0 dest=$1; shift; touch -cmr `ls -t "$@" | sed 1q` "$dest" && if test $n != 0 && lsout=`ls -n --time-style="+%s" "$dest" 2>/dev/null`; then set x $lsout && touch -cmd @`expr $7 + $n` "$dest"; else :; fi' 1 $file.txt $file workman.sh || \ exit; \ done sh -c ' n=$0 dest=$1; shift; touch -cmr `ls -t "$@" | sed 1q` "$dest" && if test $n != 0 && lsout=`ls -n --time-style="+%s" "$dest" 2>/dev/null`; then set x $lsout && touch -cmd @`expr $7 + $n` "$dest"; else :; fi' 1 version calendars CONTRIBUTING LICENSE Makefile NEWS README SECURITY africa antarctica asctime.c asia australasia backward backzone checklinks.awk checktab.awk date.1 date.c difftime.c etcetera europe factory iso3166.tab leap-seconds.list leapseconds.awk localtime.c newctime.3 newstrftime.3 newtzset.3 northamerica private.h southamerica strftime.c theory.html time2posix.3 tz-art.html tz-how-to.html tz-link.html tzfile.5 tzfile.h tzselect.8 tzselect.ksh workman.sh zdump.8 zdump.c zic.8 zic.c ziguard.awk zishrink.awk zone.tab zone1970.tab sh -c ' n=$0 dest=$1; shift; touch -cmr `ls -t "$@" | sed 1q` "$dest" && if test $n != 0 && lsout=`ls -n --time-style="+%s" "$dest" 2>/dev/null`; then set x $lsout && touch -cmd @`expr $7 + $n` "$dest"; else :; fi' 1 tzdata.zi ziguard.awk zishrink.awk version africa antarctica asia australasia europe northamerica southamerica etcetera factory backward touch set-timestamps.out rm -fr tzdata2022f-rearguard.tar.gz.dir mkdir tzdata2022f-rearguard.tar.gz.dir ln calendars CONTRIBUTING LICENSE Makefile NEWS README SECURITY theory.html version africa antarctica asia australasia europe northamerica southamerica etcetera factory backward backzone iso3166.tab leap-seconds.list leapseconds zone1970.tab zone.tab checklinks.awk checktab.awk leapseconds.awk ziguard.awk zishrink.awk tzdata2022f-rearguard.tar.gz.dir cd tzdata2022f-rearguard.tar.gz.dir && rm -f africa antarctica asia australasia europe northamerica southamerica etcetera factory backward version for f in africa antarctica asia australasia europe northamerica southamerica etcetera factory backward ; do \ rearf=tzdata2022f-rearguard.tar.gz.dir/$f; \ awk -v DATAFORM=rearguard -f ziguard.awk $f >$rearf && \ sh -c ' n=$0 dest=$1; shift; touch -cmr `ls -t "$@" | sed 1q` "$dest" && if test $n != 0 && lsout=`ls -n --time-style="+%s" "$dest" 2>/dev/null`; then set x $lsout && touch -cmd @`expr $7 + $n` "$dest"; else :; fi' 1 $rearf ziguard.awk $f || exit; \ done sed '1s/$/-rearguard/' tzdata2022f-rearguard.tar.gz.dir/version : The dummy pacificnew pacifies TZUpdater 2.3.1 and earlier. TZ=UTC0 touch -mt 202010122253.00 tzdata2022f-rearguard.tar.gz.dir/pacificnew touch -cmr version tzdata2022f-rearguard.tar.gz.dir/version LC_ALL=C && export LC_ALL && \ (cd tzdata2022f-rearguard.tar.gz.dir && \ tar `if tar --format=pax --pax-option='delete=atime,delete=ctime' --numeric-owner --owner=0 --group=0 --mode=go+u,go-w --sort=name --version >/dev/null 2>&1; then echo --format=pax --pax-option='delete=atime,delete=ctime' --numeric-owner --owner=0 --group=0 --mode=go+u,go-w --sort=name; else :; fi` -cf - \ calendars CONTRIBUTING LICENSE Makefile NEWS README SECURITY theory.html version africa antarctica asia australasia europe northamerica southamerica etcetera factory backward backzone iso3166.tab leap-seconds.list leapseconds zone1970.tab zone.tab checklinks.awk checktab.awk leapseconds.awk ziguard.awk zishrink.awk pacificnew | \ gzip -9n) >tzdata2022f-rearguard.tar.gz.out mv tzdata2022f-rearguard.tar.gz.out tzdata2022f-rearguard.tar.gz + tar zxf tzdata2022f-rearguard.tar.gz + rm tzdata.zi + make VERSION=2022f DATAFORM=rearguard tzdata.zi awk \ -v DATAFORM=`expr rearguard.zi : '\(.*\).zi'` \ -v PACKRATDATA='' \ -v PACKRATLIST='' \ -f ziguard.awk \ africa antarctica asia australasia europe northamerica southamerica etcetera factory backward >rearguard.zi.out mv rearguard.zi.out rearguard.zi version=`sed 1q version` && \ LC_ALL=C awk \ -v dataform='rearguard' \ -v deps='ziguard.awk africa antarctica asia australasia europe northamerica southamerica etcetera factory backward zishrink.awk' \ -v redo='posix_right' \ -v version="$version" \ -f zishrink.awk \ rearguard.zi >tzdata.zi.out mv tzdata.zi.out tzdata.zi + mkdir javazic + tar zxf /builddir/build/SOURCES/javazic.tar.gz -C javazic + pushd javazic ~/build/BUILD/tzdata-2022f/javazic ~/build/BUILD/tzdata-2022f Patch #100 (javazic-fixup.patch): + echo 'Patch #100 (javazic-fixup.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sun/util/calendar/LocalGregorianCalendar.java patching file sun/util/calendar/ZoneInfoFile.java + echo 'Patch #101 (rebase-01.patch):' Patch #101 (rebase-01.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file b/rebase-01.patch Patch #102 (rebase-02.patch): + echo 'Patch #102 (rebase-02.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file b/rebase-02.patch Patch #103 (7090844.patch): + echo 'Patch #103 (7090844.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file b/7090844.patch Patch #104 (7133138.patch): + echo 'Patch #104 (7133138.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file b/7133138.patch + mv sun rht + find . -type f -name '*.java' -print0 + xargs -0 -- sed -i -e 's:sun\.tools\.:rht.tools.:g' -e 's:sun\.util\.:rht.util.:g' + popd ~/build/BUILD/tzdata-2022f + tar xf /builddir/build/SOURCES/javazic-1.8-37392f2f5d59.tar.xz Patch #105 (8051641.patch): + echo 'Patch #105 (8051641.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file javazic-1.8/build/tools/tzdb/ZoneRulesBuilder.java + echo tzdata2022f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yBf1SR + 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 tzdata-2022f + FILES='africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera backward' + mkdir zoneinfo/ zoneinfo/posix zoneinfo/right + zic -y ./yearistype -d zoneinfo -L /dev/null -p America/New_York africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera backward warning: -y is obsolescent + zic -y ./yearistype -d zoneinfo/posix -L /dev/null africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera backward warning: -y is obsolescent + zic -y ./yearistype -d zoneinfo/right -L leapseconds africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera backward warning: -y is obsolescent warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" + pushd javazic ~/build/BUILD/tzdata-2022f/javazic ~/build/BUILD/tzdata-2022f ++ find . -name '*.java' + javac -source 1.5 -target 1.5 -classpath . ./rht/tools/javazic/Time.java ./rht/tools/javazic/Main.java ./rht/tools/javazic/Gen.java ./rht/tools/javazic/BackEnd.java ./rht/tools/javazic/RuleDay.java ./rht/tools/javazic/Month.java ./rht/tools/javazic/Checksum.java ./rht/tools/javazic/Rule.java ./rht/tools/javazic/GenDoc.java ./rht/tools/javazic/RuleRec.java ./rht/tools/javazic/Simple.java ./rht/tools/javazic/Zone.java ./rht/tools/javazic/ZoneRec.java ./rht/tools/javazic/Zoneinfo.java ./rht/tools/javazic/Timezone.java ./rht/tools/javazic/Mappings.java ./rht/tools/javazic/DayOfWeek.java ./rht/util/calendar/CalendarUtils.java ./rht/util/calendar/LocalGregorianCalendar.java ./rht/util/calendar/CalendarSystem.java ./rht/util/calendar/BaseCalendar.java ./rht/util/calendar/ImmutableGregorianDate.java ./rht/util/calendar/JulianCalendar.java ./rht/util/calendar/ZoneInfo.java ./rht/util/calendar/CalendarDate.java ./rht/util/calendar/AbstractCalendar.java ./rht/util/calendar/Gregorian.java ./rht/util/calendar/Era.java ./rht/util/calendar/ZoneInfoFile.java warning: [options] bootstrap class path not set in conjunction with -source 5 error: Source option 5 is no longer supported. Use 7 or later. error: Target option 5 is no longer supported. Use 7 or later. error: Bad exit status from /var/tmp/rpm-tmp.yBf1SR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yBf1SR (%build) 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/tzdata.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 598, 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/tzdata.spec