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 646780 - Build failure because of test-endianess
Build failure because of test-endianess
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Date and Time
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-05 06:51 UTC by Vincent Untz
Modified: 2011-04-05 08:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2011-04-05 06:51:28 UTC
For some reason, this never got filed while I have always seeing this:

./test-endianess
make[4]: *** [check-local] Error 1

The reason is simply that the test does this:
  dir = g_dir_open ("/usr/share/i18n/locales/", 0, NULL);

This directory does not exist in my system, so the test simply fails. Just using "/usr/share/locales/" instead works.

Also, it sounds wrong to me to do the check-local target by default: it should only happen on "make check", imho.
Comment 1 Vincent Untz 2011-04-05 06:52:45 UTC
(In reply to comment #0)
> Just using "/usr/share/locales/" instead works.

I meant "/usr/share/locale/"
Comment 2 Bastien Nocera 2011-04-05 08:42:41 UTC
Fixed in master.

(In reply to comment #0)
> Also, it sounds wrong to me to do the check-local target by default: it should
> only happen on "make check", imho.

And I would prefer it stayed that way, so that errors are actually caught as early as possible. Haven't had any complaints about that code before you, which means that I did something right :)