Your message dated Sat, 06 Jul 2013 22:49:04 +0000
with message-id <e1uvbhs-0005wz...@franck.debian.org>
and subject line Bug#709781: fixed in glib2.0 2.36.3-3
has caused the Debian Bug report #709781,
regarding libglib2.0-0: g_date_time_new_from_timeval_utc() fails on sparc
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
709781: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709781
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libglib2.0-0
Version: 2.36.1-2build1
Severity: important
While investigating a FTBFS of telepathy-glib on sparc
(<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709776>), I tracked the
problem down to GDateTime creation failing.
On i386 and amd64, the attached test program outputs:
> ** Message: in: 1369481139.090801
> ** Message: GTimeVal iso : 2013-05-25T11:25:39.090801Z
> ** Message: GDateTime iso: 2013-05-25 11:25:39
> ** Message: out: 1369481139.090801
On sparc, it fails:
> ** Message: in: 1369481139.090801
> **
> ERROR:datetime.c:11:main: assertion failed: (dt != NULL)
> Aborted
(The original test in telepathy-glib used "the time now" and so was
non-deterministic, but this test uses a hard-coded GTimeVal so
it should be deterministic.)
Breaking on the internal function g_date_time_from_instant (which requires
libglib2.0-0-dbg) yields this on amd64:
> g_date_time_from_instant (tz=tz@entry=0x602040, instant=63505164339090801)
(and repeating the "instant" calculation with arbitrary-precision arithmetic
in Python produces the same thing) but on sparc, instant appears to be
mis-computed for some reason:
> g_date_time_from_instant (tz=0xffffd71c, instant=137439021280)
This is causing telepathy-glib to FTBFS with a test failure. The GDateTime
tests in GLib also failed on sparc, but for some reason the failure is
ignored (I'm not sure whether that's deliberate or accidental).
I'll set this particular telepathy-glib test to be skipped on sparc for now.
Tested on the porterbox smetana.debian.org; the package versions below are
from there.
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: sparc
Kernel: Linux 2.6.32-5-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages libglib2.0-0 depends on:
ii libc6 2.17-3
ii libffi6 3.0.13-4
ii libpcre3 1:8.31-2
ii libselinux1 2.1.13-2
ii multiarch-support 2.13-38
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libglib2.0-0 recommends:
ii libglib2.0-data 2.36.1-2build1
ii shared-mime-info 1.0-1+b1
libglib2.0-0 suggests no packages.
-- no debconf information
/* gcc `pkg-config --cflags --libs glib-2.0` datetime.c */
#include <glib.h>
int
main (int argc, char **argv)
{
GTimeVal tv = { 1369481139L, 90801L };
GDateTime *dt;
g_message ("in: %ld.%06ld", tv.tv_sec, tv.tv_usec);
dt = g_date_time_new_from_timeval_utc (&tv);
g_assert (dt != NULL);
/* yes I know this leaks memory */
g_message ("GTimeVal iso : %s", g_time_val_to_iso8601 (&tv));
g_message ("GDateTime iso: %s", g_date_time_format (dt, "%Y-%m-%d %H:%M:%S"));
if (!g_date_time_to_timeval (dt, &tv))
g_message ("out of range for a timeval apparently");
else
g_message ("out: %ld.%06ld", tv.tv_sec, tv.tv_usec);
return 0;
}
--- End Message ---
--- Begin Message ---
Source: glib2.0
Source-Version: 2.36.3-3
We believe that the bug you reported is fixed in the latest version of
glib2.0, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 709...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Josselin Mouette <j...@debian.org> (supplier of updated glib2.0 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 06 Jul 2013 15:51:11 +0200
Source: glib2.0
Binary: libglib2.0-0 libglib2.0-udeb libglib2.0-bin libglib2.0-dev
libglib2.0-0-dbg libglib2.0-data libglib2.0-doc libgio-fam libglib2.0-0-refdbg
Architecture: source all amd64
Version: 2.36.3-3
Distribution: unstable
Urgency: low
Maintainer: Debian GNOME Maintainers
<pkg-gnome-maintain...@lists.alioth.debian.org>
Changed-By: Josselin Mouette <j...@debian.org>
Description:
libgio-fam - GLib Input, Output and Streaming Library (fam module)
libglib2.0-0 - GLib library of C routines
libglib2.0-0-dbg - Debugging symbols for the GLib libraries
libglib2.0-0-refdbg - GLib library of C routines - refdbg library
libglib2.0-bin - Programs for the GLib library
libglib2.0-data - Common files for GLib library
libglib2.0-dev - Development files for the GLib library
libglib2.0-doc - Documentation files for the GLib library
libglib2.0-udeb - GLib library of C routines - minimal runtime (udeb)
Closes: 709781
Changes:
glib2.0 (2.36.3-3) unstable; urgency=low
.
[ Julien Cristau ]
* Use gcc-4.8 on sparc to fix misbuild causing test failure (closes:
#709781).
.
[ Josselin Mouette ]
* Only make the testsuite fatal on linux. Although the other
architectures don’t pass, we have to keep a pair of reverse
dependencies working.
Checksums-Sha1:
88bbf52d58f1be5a9bbdc33509ac6536b6be4224 2300 glib2.0_2.36.3-3.dsc
3158dc925e5b0a742504d735d3850b15a7982761 67110 glib2.0_2.36.3-3.debian.tar.gz
a7e523a44ed0640daa1c53c2de319fcba11a1250 1847210
libglib2.0-data_2.36.3-3_all.deb
b52eaa1bbeff889acff85c308fa48965709867f0 2327944
libglib2.0-doc_2.36.3-3_all.deb
b93e7060847b3dd3791897ceb36760cc1b4c2356 2048272
libglib2.0-0_2.36.3-3_amd64.deb
47277f242f38892cf653c0660c9e3b754f5c82ac 1719708
libglib2.0-udeb_2.36.3-3_amd64.udeb
f21e7328be22d7a47039b9b82c488375b31f0a0a 1056718
libglib2.0-bin_2.36.3-3_amd64.deb
44b4c065a711af911eef58e31c8a838314ca19d6 2283138
libglib2.0-dev_2.36.3-3_amd64.deb
fac6b409a59706afca7aeda14654e92568241ffb 3332002
libglib2.0-0-dbg_2.36.3-3_amd64.deb
b92073618d720cd3a2fe2337544fa7265f6f75e3 1402770
libglib2.0-0-refdbg_2.36.3-3_amd64.deb
Checksums-Sha256:
0d039c2a5378eddc9158b808512a605497b089b55fe92baf0798968f8c8b1ed6 2300
glib2.0_2.36.3-3.dsc
6f82c87f036cca434c0db832bde92d1eb7a9c0a862fbb092fbad90a53735c41a 67110
glib2.0_2.36.3-3.debian.tar.gz
d156b85080cf8fac87a5a08eb25756c12b5b0eb0111871dcb9bd70374ab41742 1847210
libglib2.0-data_2.36.3-3_all.deb
4caa127cf9af4b589f7e760e5520ff707406444c79c06ef5a841a974304a281c 2327944
libglib2.0-doc_2.36.3-3_all.deb
0f0df5a954e22c00822b46abeedbf0ee11805d0f332a90c158ca86a14c2365fb 2048272
libglib2.0-0_2.36.3-3_amd64.deb
95974ad08d3ef570ca03948d4b0eb38dcf62c380550683d941c1bb3f8553cfae 1719708
libglib2.0-udeb_2.36.3-3_amd64.udeb
2258228eea190584de8e86bc58c6671525819fe5adb04d6ef912ad914c822448 1056718
libglib2.0-bin_2.36.3-3_amd64.deb
95312b326a7c6db6f23ab5806e6ccb9b4b20411dbbab573e4aa446d816f95901 2283138
libglib2.0-dev_2.36.3-3_amd64.deb
9aeda273bb6ac62b1c0dace997a410fab4c1b4ef582626b50a0646955f51f5c9 3332002
libglib2.0-0-dbg_2.36.3-3_amd64.deb
42e88da3fd286d44705337ad3a675f8a1bddb2a47a7fedece31122a733e16268 1402770
libglib2.0-0-refdbg_2.36.3-3_amd64.deb
Files:
1806924eb4842b8039cc9562a61d20e2 2300 libs optional glib2.0_2.36.3-3.dsc
7f7543d92c027045e2b31ccc6354ddfb 67110 libs optional
glib2.0_2.36.3-3.debian.tar.gz
8b76dddbe92796be075e65c05ff0e6d7 1847210 libs optional
libglib2.0-data_2.36.3-3_all.deb
893acb364a3cdf7c79bdc7f511fbe70a 2327944 doc optional
libglib2.0-doc_2.36.3-3_all.deb
3d30585150e94dac549211676565dec3 2048272 libs optional
libglib2.0-0_2.36.3-3_amd64.deb
5ec00b9651c1bd3a8fd85a4d1b85162f 1719708 debian-installer optional
libglib2.0-udeb_2.36.3-3_amd64.udeb
a280a741a0b6c1afdb35ab4e107ac42d 1056718 misc optional
libglib2.0-bin_2.36.3-3_amd64.deb
fe6e093d2d840631364fccfed19f9172 2283138 libdevel optional
libglib2.0-dev_2.36.3-3_amd64.deb
9fe934641906c63298ce17e000aabee1 3332002 debug extra
libglib2.0-0-dbg_2.36.3-3_amd64.deb
e8bf3df0184e28a6aa96ee85a55aeda4 1402770 debug extra
libglib2.0-0-refdbg_2.36.3-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFR2JcbrSla4ddfhTMRAn1tAJ99lM/pA84kvjFxIoqxtA8R5cOaqACg16ix
NJd7Cb1JqHId0vZw3FQaOOk=
=F3JE
-----END PGP SIGNATURE-----
--- End Message ---