Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408807 - dev-libs/glib-2.30.3 fails tests if timezone not set
Summary: dev-libs/glib-2.30.3 fails tests if timezone not set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-03-19 06:17 UTC by Patrick Lauer
Modified: 2012-03-19 13:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-03-19 06:17:13 UTC
/GDateTime/new_full:                                                 OK
  /GDateTime/now:                                                      OK
  /GDateTime/printf:                                                   **
ERROR:gdatetime.c:846:test_GDateTime_printf: assertion failed (__p == (dst)): ("Local time zone must be set--see zic manual page" == " \222\337")
FAIL
GTester: last random seed: R02S5ff54ce6dd464757145766ddd67a05cd
/bin/sh: line 1: 18525 Terminated              MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose testing option-context option-argv0 keyfile fileutils test-printf protocol rand strfuncs string markup-parse markup-collect markup-escape markup-subparser array-test hostutils gvariant mem-overflow utf8-performance utils regex base64 sequence scannerapi shell collate utf8-pointer utf8-validate utf8-misc unicode checksum hmac hash cache date node convert list slist queue tree uri dir pattern logging error bookmarkfile gdatetime timeout environment mappedfile dataset sort unix unix-nothreads bitlock
make[4]: *** [test-nonrecursive] Error 143
make[4]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3/glib/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3/glib/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3/glib'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3/glib'
make: *** [check-recursive] Error 1
 * ERROR: dev-libs/glib-2.30.3 failed (test phase):
 *   emake failed
Comment 1 Pacho Ramos gentoo-dev 2012-03-19 10:58:55 UTC
Should we consider having not timezone set like a "valid" setup? Per error message looks like gdatetime dies intentionally :-/
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-19 13:02:08 UTC
The test is failing correctly. If the system timezone is not set, then GDateTime's g_date_time_get_timezone_abbreviation() can be expected fail.

Users who do not follow the handbook, and do not create /etc/localtime when setting up their system, should expect some software to fail.