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.ang...@bell.net
Index: webkit2gtk-2.16.6/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.h =================================================================== --- webkit2gtk-2.16.6.orig/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.h +++ webkit2gtk-2.16.6/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.h @@ -77,7 +77,7 @@ typedef enum { * can crash while the rest of the views keep working normally. This * process model is indicated for applications which may use a number * of web views and the content of in each must not interfere with the - * rest â for example a full-fledged web browser with support for + * rest - for example a full-fledged web browser with support for * multiple tabs. * * Enum values used for determining the #WebKitWebContext process model. Index: webkit2gtk-2.16.6/Source/WTF/wtf/Platform.h =================================================================== --- webkit2gtk-2.16.6.orig/Source/WTF/wtf/Platform.h +++ webkit2gtk-2.16.6/Source/WTF/wtf/Platform.h @@ -360,7 +360,7 @@ #endif /* ARM */ -#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC64) || CPU(ALPHA) +#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC64) || CPU(ALPHA) ||CPU(HPPA) #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 #endif