[tz] Corrupt output (was: Re: [tz-announce] 2020e release of tz code and data available

Guy Harris gharris at sonic.net
Wed Dec 23 09:23:05 UTC 2020


On Dec 23, 2020, at 12:26 AM, Guy Harris <gharris at sonic.net> wrote:

> I have a large pile of VMs running Linux, Solaris 11, and various *BSDs (as well as macOS going back to Leopard!), so I can give it a try on several of them 

Running a script with

curl -k -L -O https://data.iana.org/time-zones/releases/tzdata2020e.tar.gz
mkdir tzdata2020e
cd tzdata2020e
tar xzf ../tzdata2020e.tar.gz
make rearguard.zi
mkdir tzdata
zic -d tzdata rearguard.zi

("-k" because, without it, the NetBSD 9.0 curl fails with "Curl error 60, SSL certificate issue: self signed certificate in certificate chain".  "xzf" because OpenBSD 6.3's tar won't gunzip unless you tell it to, even though it knows the file is gzipped.)

gives the same

"rearguard.zi", line 1352: input line of unknown type
"rearguard.zi", line 1358: odd number of quotation marks

failures on macOS 10.15, Ubuntu 20.04, FreeBSD 12.1, DragonFly BSD 5.8, NetBSD 9.0, and OpenBSD 6.3: (my 6.6 machine hung during boot when I upgraded the VM; perhaps its USB 3.1 [A-Z]HCI adapter upset the kernel, as it did with a macOS Yosemite kernel).

On Solaris 11.3, I get

	awk: syntax error near line 1
	awk: bailing out near line 1

instead.

So, assuming that the awk script works at all, it probably fails in the same fashion on most if not all UN*Xes.


More information about the tz mailing list