Bug 75384 - require gobject-introspection >= 1.34 - earlier versions generate invalid HarfBuzz-0.0.gir
Summary: require gobject-introspection >= 1.34 - earlier versions generate invalid Har...
Status: RESOLVED FIXED
Alias: None
Product: HarfBuzz
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 20:47 UTC by Alexandre Rostovtsev
Modified: 2014-04-10 23:03 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.