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 702534 - Build failure with Python 3 in a POSIX locale
Build failure with Python 3 in a POSIX locale
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.42.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2013-06-18 07:58 UTC by Ross Lagerwall
Modified: 2013-07-13 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch for the issue (1.02 KB, patch)
2013-06-18 07:58 UTC, Ross Lagerwall
committed Details | Review

Description Ross Lagerwall 2013-06-18 07:58:33 UTC
Created attachment 247098 [details] [review]
A patch for the issue

The build fails with a UnicodeDecodeError if the locale is not set to utf8, which may be the case in a build environment.

A patch to fix this is attached.

Cheers
Comment 1 Ross Lagerwall 2013-06-18 08:00:11 UTC
I should add that the attached patch maintains compatibility with both Python 2 and 3.
Comment 2 Dan Winship 2013-07-13 15:40:50 UTC
committed. thanks