libical / vzic

A program to convert the IANA (formerly Olson) timezone database files into VTIMEZONE files compatible with the iCalendar (RFC5445) and TZDIST (RFC7808) specifications
Other
16 stars 14 forks source link

Incompatibility with tzdata2019b #6

Closed minichma closed 5 years ago

minichma commented 5 years ago

When building zoneinfo from tzdata2019b, the build fails with message Day overflow: 0:

root@59b14b244186:/mnt/vzic# make -B
make: Warning: File 'Makefile' has modification time 38 s in the future
cc -g -DOLSON_DIR=\"tzdata2019a\" -DPRODUCT_ID='"-//citadel.org//NONSGML Citadel calendar//EN"' -DTZID_PREFIX='"/citadel.org/%D_1/"' `pkg-config --cflags glib-2.0` -I/usr/local/include/libical -L/usr/local/lib64   -c -o vzic.o vzic.c
cc -g -DOLSON_DIR=\"tzdata2019a\" -DPRODUCT_ID='"-//citadel.org//NONSGML Citadel calendar//EN"' -DTZID_PREFIX='"/citadel.org/%D_1/"' `pkg-config --cflags glib-2.0` -I/usr/local/include/libical -L/usr/local/lib64   -c -o vzic-parse.o vzic-parse.c
cc -g -DOLSON_DIR=\"tzdata2019a\" -DPRODUCT_ID='"-//citadel.org//NONSGML Citadel calendar//EN"' -DTZID_PREFIX='"/citadel.org/%D_1/"' `pkg-config --cflags glib-2.0` -I/usr/local/include/libical -L/usr/local/lib64   -c -o vzic-dump.o vzic-dump.c
cc -g -DOLSON_DIR=\"tzdata2019a\" -DPRODUCT_ID='"-//citadel.org//NONSGML Citadel calendar//EN"' -DTZID_PREFIX='"/citadel.org/%D_1/"' `pkg-config --cflags glib-2.0` -I/usr/local/include/libical -L/usr/local/lib64   -c -o vzic-output.o vzic-output.c
cc vzic.o vzic-parse.o vzic-dump.o vzic-output.o `pkg-config --libs glib-2.0` -o vzic
make: warning:  Clock skew detected.  Your build may be incomplete.
root@59b14b244186:/mnt/vzic# ./vzic
WARNING: Asia/Shanghai: Modifying RRULE to be compatible with Outlook (day >= 11, month = 4)
ERROR: Asia/Shanghai: Couldn't modify RRULE to be compatible with Outlook (day >= 11, month = 4)
 ===> FAILING BACK TO PURE MODE THEN
WARNING: Asia/Shanghai: Modifying RRULE to be compatible with Outlook (day >= 11, month = 9)
ERROR: Asia/Shanghai: Couldn't modify RRULE to be compatible with Outlook (day >= 11, month = 9)
 ===> FAILING BACK TO PURE MODE THEN
Skipping DAYLIGHT change
WARNING: Asia/Tehran: Outputting BYDAY=3SU instead of BYMONTHDAY=15-21 for Outlook compatability
WARNING: Asia/Tehran: Outputting BYDAY=3SU instead of BYMONTHDAY=15-21 for Outlook compatability
WARNING: Asia/Baghdad: Outputting BYDAY=1SU instead of BYMONTHDAY=1-7 for Outlook compatability
WARNING: Asia/Baghdad: Outputting BYDAY=1SU instead of BYMONTHDAY=1-7 for Outlook compatability
WARNING: Asia/Baghdad: Outputting BYDAY=1SU instead of BYMONTHDAY=1-7 for Outlook compatability
Skipping DAYLIGHT change
WARNING: Asia/Baghdad: Outputting BYDAY=1SU instead of BYMONTHDAY=1-7 for Outlook compatability
Skipping DAYLIGHT change
Day overflow: 0

With tzdata2019a everything works as expected.

ksmurchison commented 5 years ago

Should be fixed by https://github.com/libical/vzic/commit/c3c4c9cb1e73e5924db8696148dae8be3b54b44c