After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644686 - Self-test failure: collate.c do_collate
Self-test failure: collate.c do_collate
Status: RESOLVED DUPLICATE of bug 673047
Product: glib
Classification: Platform
Component: i18n
2.28.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-03-14 02:13 UTC by Daniel Macks
Modified: 2012-11-16 17:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2011-03-14 02:13:55 UTC
Building glib-2.28.2 on OS X 10.6, forcing a 64-bit-only build, 'make check' fails with:

TEST: collate... (pid=29257)
  /unicode/collate/0:                                                  OK
  /unicode/collate-key/0:                                              **
ERROR:collate.c:62:do_collate: assertion failed (str == test->sorted[i]): ("c"
== "223")
FAIL
GTester: last random seed: R02S947f7b1011bee2466ad34318157ccfac
### execution of LANG=C failed, exit code 2
/bin/sh: line 1: 28787 Terminated              MALLOC_CHECK_=2
MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose testing
option-context keyfile fileutils printf protocol rand strfuncs string
markup-parse markup-collect markup-escape markup-subparser array-test hostutils
gvariant mem-overflow utils regex base64 sequence scannerapi shell collate
utf8-pointer utf8-validate utf8-misc checksum hash date node convert list slist
queue tree uri dir pattern logging error bookmarkfile gdatetime timeout
environment


In the past, there have been occasional collation problems on OS X due to case-(in)sensitivity or system-related encoding games. I'm not sure how to diagnose the particular result here, but can certainly try any ideas to get more info about what's going on. I am not setting any particular LC or other locale variables in my shell.
Comment 1 Michael Natterer 2012-11-16 17:55:53 UTC
Resolving as duplicate of bug 673047 because the patch attached
there was committed.

*** This bug has been marked as a duplicate of bug 673047 ***