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 690842 - unicode characters (U+2022) in daemon/gdm-slave.xml cause build failure on some systems
unicode characters (U+2022) in daemon/gdm-slave.xml cause build failure on so...
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-28 23:49 UTC by Alexandre Rostovtsev
Modified: 2013-01-02 16:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trivial patch (792 bytes, patch)
2012-12-28 23:52 UTC, Alexandre Rostovtsev
committed Details | Review

Description Alexandre Rostovtsev 2012-12-28 23:49:23 UTC
(As reported downstream at https://bugs.gentoo.org/show_bug.cgi?id=449062)

The daemon/gdm-slave.xml contain two U+2022 bullet characters without any good reason. Their presence causes failure when using python3.2 and a non-Unicode locale to build gdm:

Traceback (most recent call last):
  • File "/usr/bin/gdbus-codegen-python3.2", line 37 in <module>
    sys.exit(codegen_main.codegen_main())
  • File "/usr/lib64/python3.2/site-packages/gdbus_codegen/codegen_main.py", line 170 in codegen_main
    xml_data = f.read()
  • File "/usr/lib64/python3.2/encodings/ascii.py", line 26 in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 766: ordinal not in range(128)

IMHO these characters should be removed.
Comment 1 Alexandre Rostovtsev 2012-12-28 23:52:40 UTC
Created attachment 232358 [details] [review]
trivial patch
Comment 2 Ray Strode [halfline] 2013-01-02 16:32:47 UTC
Thanks.