Bug#870409: webkit2gtk: FTBFS on hppa - WebKitEnumTypes.h:27:0: error: unterminated #ifndef

Alberto Garcia berto at igalia.com
Tue Aug 1 19:11:26 UTC 2017

Control: forwarded -1 https://bugs.webkit.org/show_bug.cgi?id=175040
Control: tags -1 upstream

On Tue, Aug 01, 2017 at 08:52:54PM +0200, Alberto Garcia wrote:

> What I don't get is what that has to do with the missing #endif in
> the WebKitEnumTypes.h file.

I saw the problem, there's a non-ascii character in WebKitWebContext.h
and glib-mkenums fails if the locale is POSIX:

Traceback (most recent call last):
  File "/usr/bin/glib-mkenums", line 669, in <module>
  File "/usr/bin/glib-mkenums", line 406, in process_file
    line = curfile.readline()
  File "/usr/lib/python3.5/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 3887: ordinal not in range(128)

I'll try to have it fixed.


More information about the Pkg-webkit-maintainers mailing list