Bug#870409: webkit2gtk: FTBFS on hppa - WebKitEnumTypes.h:27:0: error: unterminated #ifndef
Alberto Garcia
berto at igalia.com
Tue Aug 1 18:52:54 UTC 2017
On Tue, Aug 01, 2017 at 02:15:29PM -0400, John David Anglin wrote:
> Source: webkit2gtk
> Version: 2.16.6-1
> Severity: normal
>
> Dear Maintainer,
>
> The following error occurs building webkit2gtk on hppa:
I just saw the same problem with 2.17.5 and arm64.
> In file included from /<<PKGBUILDDIR>>/Source/WebKit2/UIProcess/API/gtk/WebKitCookieManager.cpp:26:0:
> /<<PKGBUILDDIR>>/obj-hppa-linux-gnu/DerivedSources/webkit2gtk/webkit2/WebKitEnumTypes.h:27:0: error: unterminated #ifndef
> #ifndef WEBKIT_ENUM_TYPES_H
>
> Full build logs are here:
> https://buildd.debian.org/status/fetch.php?pkg=webkit2gtk&arch=hppa&ver=2.16.6-1&stamp=1501516291&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=webkit2gtk&arch=hppa&ver=2.16.6-1&stamp=1501603998&raw=0
>
> Doing a build outside buildd to try and find more details. The problem isn't
> in the template.
>
> I noticed the following patch in the fix-ftbfs-alpha.patch:
>
> Index: webkitgtk/Source/WTF/wtf/Platform.h
> ===================================================================
> --- webkitgtk.orig/Source/WTF/wtf/Platform.h
> +++ webkitgtk/Source/WTF/wtf/Platform.h
> @@ -354,7 +354,7 @@
>
> #endif /* ARM */
>
> -#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC64)
> +#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC64) || CPU(ALPHA)
> #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
> #endif
>
> I believe we need to add " || CPU(HPPA)" to the list of CPUs needing
> aligned accesses.
What I don't get is what that has to do with the missing #endif in the
WebKitEnumTypes.h file.
Berto
More information about the Pkg-webkit-maintainers
mailing list