test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
Might actually be just an issue with my system, but who knows. This is with 2.56.1 but I've been getting this since at least 2.50.1 (found logs of myself asking on irc two years ago), but I guess I always just skipped the test suite and moved on.
# Start of GTimeZone tests
ok 47 /GTimeZone/find-interval
PASS: gdatetime 47 /GTimeZone/find-interval
ok 48 /GTimeZone/adjust-time
PASS: gdatetime 48 /GTimeZone/adjust-time
**
GLib:ERROR:gdatetime.c:2101:test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
ok 49 /GTimeZone/no-header
PASS: gdatetime 49 /GTimeZone/no-header
../../tap-test: line 5: 30960 Aborted (core dumped) $1 -k --tap
Bail out! GLib:ERROR:gdatetime.c:2101:test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
ERROR: gdatetime - Bail out! GLib:ERROR:gdatetime.c:2101:test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
Relevant code:
(gdb) l
2096 {
2097 GTimeZone *tz;
2098 GDateTime *gdt1, *gdt2;
2099
2100 tz = g_time_zone_new ("PST");
2101 g_assert_cmpstr (g_time_zone_get_abbreviation (tz, 0), ==, "UTC");
2102 g_assert_cmpint (g_time_zone_get_offset (tz, 0), ==, 0);
2103 g_assert (!g_time_zone_is_dst (tz, 0));
2104 g_time_zone_unref (tz);
This is arch linux, I rebuild glib from source whenever I need debug symbols for the gdb python helpers
System-wide settings i can think of:
$ echo $TZ
$ timedatectl status
Local time: Thu 2018-07-05 00:05:43 -03
Universal time: Thu 2018-07-05 03:05:43 UTC
RTC time: Thu 2018-07-05 03:05:44
Time zone: America/Buenos_Aires (-03, -0300)
System clock synchronized: yes
systemd-timesyncd.service active: no
RTC in local TZ: no
$ pacman -Q tzdata
tzdata 2018e-1
IRC log from two years ago:
--- Log opened Thu Nov 03 03:14:41 2016
03:14 -!- dx [dx@tempest.neferty.me] has joined #gtk+
03:14 -!- Irssi: #gtk+: Total of 200 nicks [1 ops, 0 halfops, 0 voices, 199 normal]
03:15 < dx> i keep forgetting, is this the channel for glib stuff or is it something else? i vaguely recall it's a channel that doesn't have glib in the name
03:16 < dx> anyway getting this test failure while building glib 2.50.1: GLib:ERROR:gdatetime.c:1451:test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
03:17 < dx> full log http://dump.dequis.org/8WNd3.txt
03:42 < karlt> dx: right channel for glib, i think, but people are around more during north american day time; maybe europe too - i don't see so much of that
03:43 < karlt> LMT may be a system tz data issue; i don't know where glib gets the data
03:44 < dx> hmmm i updated the tzdata package in yesterday's full system update
03:45 < dx> tzdata 2016h, build date says 20 Oct 2016
03:47 -!- karlt [karl@...] has quit [Ping timeout: 180 seconds]
03:47 < dx> ehh probably not related