[tz] make traditional_tarballs fails on macOS for 2022b

Deborah Goldsmith goldsmit at apple.com
Thu Aug 11 01:30:23 UTC 2022


I tried it on macOS 12.5 and while nroff is present there, it fails with the same syntax error in awk. I tried it with a clean fresh clone, too.

To be more clear, "make traditional_tarballs" works fine with a checkout of 2022a on the same system where 2022b fails.

Debbie

> On Aug 10, 2022, at 6:15 PM, Deborah Goldsmith via tz <tz at iana.org> wrote:
> 
> This is a regression from 2022a. This is on macOS 13.0 but I suspect it will fail the same way on macOS 12. Also note that macOS does not have nroff installed, but that doesn’t look like a fatal error.
> 
> Debbie
> 
> debbie  6:11PM tz ✓ % make traditional_tarballs
> { (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 'unknown' = unknown && V=`cat version`; then \
>    case $V in *-dirty);; *) V=$V-dirty;; esac; \
>  else \
>    V='unknown'; \
>  fi; } && \
> printf '%s\n' "$V" >version.out
> mv version.out version
> awk -v EXPIRES_LINE=0 \
>  -f leapseconds.awk leap-seconds.list >leapseconds.out
> mv leapseconds.out leapseconds
> LC_ALL=C sh workman.sh `expr tzselect.8.txt : '\(.*\)\.txt$'` >tzselect.8.txt.out
> workman.sh: line 16: nroff: command not found
> mv tzselect.8.txt.out tzselect.8.txt
> LC_ALL=C sh workman.sh `expr zic.8.txt : '\(.*\)\.txt$'` >zic.8.txt.out
> workman.sh: line 16: nroff: command not found
> mv zic.8.txt.out zic.8.txt
> 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
> awk: syntax error at source line 110 source file ziguard.awk
> context is
>      stdoff_column = 2 * /^Zone/ >>>  + <<<  1
> awk: illegal statement at source line 110 source file ziguard.awk
> awk: illegal statement at source line 110 source file ziguard.awk
> make: *** [main.zi] Error 2
> 




More information about the tz mailing list