Bug 75384

Summary: require gobject-introspection >= 1.34 - earlier versions generate invalid HarfBuzz-0.0.gir
Product: HarfBuzz Reporter: Alexandre Rostovtsev <tetromino>
Component: srcAssignee: Behdad Esfahbod <freedesktop>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: freedesktop, gnome
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexandre Rostovtsev 2014-02-22 20:47:47 UTC
(As reported downstream at https://bugs.gentoo.org/show_bug.cgi?id=497562 and on the mailing list at http://lists.freedesktop.org/archives/harfbuzz/2012-June/002076.html)

gobject-introspection-1.32.x had numerous bugs in its handling of unsigned types. As a result, it generates an invalid HarfBuzz-0.0.gir, ultimately resulting in build failure when configuring with --enable-introspection:

lines 18-20 with g-ir-scanner 1.32.1 (type name is not specified):

    <alias name="codepoint_t" c:type="hb_codepoint_t" introspectable="0">
      <type c:type="uint32_t"/>
    </alias>


should be:

    <alias name="codepoint_t" c:type="hb_codepoint_t">
      <type name="guint32" c:type="uint32_t"/>
    </alias>

I would suggest changing harfbuzz's configure.ac to have GOBJECT_INTROSPECTION_CHECK([1.34.0])
Comment 1 Behdad Esfahbod 2014-04-10 23:03:49 UTC
Fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.