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

John David Anglin dave.anglin at bell.net
Wed Aug 2 14:52:26 UTC 2017


On 2017-08-01, at 3:11 PM, Alberto Garcia wrote:

> 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>
>    process_file(fname)
>  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 had a successful build with the attached patch:
https://buildd.debian.org/status/fetch.php?pkg=webkit2gtk&arch=hppa&ver=2.16.6-1&stamp=1501683938&raw=0

Note that hppa requires strict alignment.  The default behavior of the linux kernel is to fix unaligned accesses
but this is slow.

Regards,
Dave Anglin

--
John David Anglin	dave.anglin at bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: webkit2gtk-fix-ftbfs-hppa.d.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20170802/ffefa4c9/attachment.txt>


More information about the Pkg-webkit-maintainers mailing list