[tz] iana build failures on Windows

Manuela Friedrich Manuela.Friedrich at actian.com
Tue Apr 20 11:57:57 UTC 2021


Hello Paul,

your patches compiled fine on Windows.

I still would like to double check about the zdump -v output for Africa Abidjan.
I am getting 1946 lines of output.
Is that in the range you get on Linux?
Thanks!

Regards
Manuela Friedrich

From: Paul Eggert <eggert at cs.ucla.edu>
Sent: Dienstag, 20. April 2021 08:15
To: Manuela Friedrich <Manuela.Friedrich at actian.com>
Cc: Steven Shuriff <Steven.Shuriff at actian.com>; Time zone mailing list <tz at iana.org>
Subject: Re: iana build failures on Windows

On 4/19/21 7:09 AM, Manuela Friedrich wrote:

> I had to include signal.h in zic.c to prevent the following error:
>
> zic.c(610): error C2061: syntax error: identifier 'got_signal'

This is a portability bug recently introduced to zic.c. I installed the
first attached patch to fix it.


> The I needed to resolved error
>
> zic.obj : error LNK2019: unresolved external symbol tz_time referenced in function random_dirent

This appears to be another recent portability bug. It's related to a
portability problem you reported on MS-Windows in response to which in
2018d I committed a patch that introduced RESERVE_STD_EXT_IDS:

https://github.com/eggert/tz/commit/24b45243c5210b4196987fdd06e6c288c358a268<https://github.com/eggert/tz/commit/24b45243c5210b4196987fdd06e6c288c358a268>

When I recently added the randomish filename code to the development
version, I neglected to deal with RESERVE_STD_EXT_IDS. The second
attached patch should fix this issue.

Please give the two patches a try, as I don't use MS-Windows and can't
easily test these patches on that platform.


> a test run of zdump -v produced way more output than in the last release, the Linux output seems to have become longer too, but maybe this is still under development.

That change is intentional, and was caused by this:

https://github.com/eggert/tz/commit/ac07b446a3afaa4cb1ae11a91785a201c91f6351<https://github.com/eggert/tz/commit/ac07b446a3afaa4cb1ae11a91785a201c91f6351>

along with some neighboring commits.


Thanks for reporting the problems, and I hope the current development
version of tzdb addresses the issues you mentioned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20210420/b4d39b3f/attachment-0001.html>


More information about the tz mailing list