[Webkit-unassigned] [Bug 171649] New: [GTK] Fontconfig 2.11.2 in JHBuild does not build with glibc 2.25 or newer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 4 02:10:59 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171649

            Bug ID: 171649
           Summary: [GTK] Fontconfig 2.11.2 in JHBuild does not build with
                    glibc 2.25 or newer
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: lforschler at apple.com

Users with glibc version 2.25 or newer will find this build issue when
using “update-webkitgtk-libs” to build dependencies using JHBuild:

 …/WebKit/WebKitBuild/DependenciesGTK/Source/fontconfig-2.11.1/src/fcmatch.c:284:63:
   error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
     #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                                   ^
 …/WebKit/WebKitBuild/DependenciesGTK/Source/fontconfig-2.11.1/src/fcobjs.h:54:1:
   note: in expansion of macro 'FC_OBJECT'
     FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
     ^~~~~~~~~
 …/WebKit/WebKitBuild/DependenciesGTK/Source/fontconfig-2.11.1/src/fcmatch.c:284:84:
   error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function)
     #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                                                        ^
 …/WebKit/WebKitBuild/DependenciesGTK/Source/fontconfig-2.11.1/src/fcobjs.h:54:1:
   note: in expansion of macro 'FC_OBJECT'
     FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
     ^~~~~~~~~

This has been already solved in Fontconfig a few months ago in this commit

  https://cgit.freedesktop.org/fontconfig/commit/?id=1ab5258f7c2abfafcd63a760ca08bf93591912da

I will be posting a patch which adds this commit as a patch under “Tools/gtk/patches/”
to be applied by JHBuild when it builds Fontconfig.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170504/bb8a1ea1/attachment.html>


More information about the webkit-unassigned mailing list