Package: gir1.2-harfbuzz-0.0
Version: 6.0.0+dfsg-3
Severity: normal

Dear Maintainer,

   * What led up to the situation?
I was trying to produce Gtk3 interface units for Free Pascal Compiler (FPC)
which depend indirectly from gir1.2-harfbuzz-0.0.

   * What exactly did you do (or not do) that was effective (or ineffective)?
Executing the following command:
g-ir-generate /usr/lib/x86_64-linux-gnu/girepository-1.0/HarfBuzz-0.0.typelib

   * What was the outcome of this action?
<?xml version="1.0"?>
<repository version="1.0"
            xmlns="http://www.gtk.org/introspection/core/1.0";
            xmlns:c="http://www.gtk.org/introspection/c/1.0";
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
  <include name="freetype2" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <namespace name="HarfBuzz" version="0.0" shared-library="libharfbuzz-
gobject.so.0" c:prefix="hb_">
    <constant name="AAT_LAYOUT_NO_SELECTOR_INDEX" value="65535">
      <type name="gint32"/>
    </constant>
    <constant name="BUFFER_REPLACEMENT_CODEPOINT_DEFAULT" value="65533">
      <type name="gint32"/>
    </constant>
    <constant name="FEATURE_GLOBAL_START" value="0">
      <type name="gint32"/>
    </constant>
**
ERROR:../girepository/girwriter.c:784:write_constant_value: code should not be
reached
    <constant name="LANGUAGE_INVALID" value="Bail out!
ERROR:../girepository/girwriter.c:784:write_constant_value: code should not be
reached
Aborted

   * What outcome did you expect instead?
Get the correct GIR file content.

It is true that this error is thrown by g-ir-generate, which may also mean that
it is possible that the error is in the generator program not in the typelib
file. However, this program works well with other typelib files, so I reported
this issue against gir1.2-harfbuzz-0.0, but maintainer can feel free to
reassign it to gobject-introspection.


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gir1.2-harfbuzz-0.0 depends on:
ii  gir1.2-freedesktop  1.74.0-3
ii  gir1.2-glib-2.0     1.74.0-3

gir1.2-harfbuzz-0.0 recommends no packages.

gir1.2-harfbuzz-0.0 suggests no packages.

-- no debconf information

Reply via email to