Bug#1039498: gir1.2-harfbuzz-0.0: missing dependency on libharfbuzz0b

Thomas Uhle thomas.uhle at mailbox.tu-dresden.de
Wed Jun 28 16:00:10 BST 2023


Control: clone -1 -2
Control: severity -1 normal
Control: reassign -1 libharfbuzz-dev 5.1.0-1
Control: retitle -1 gir1.2-harfbuzz-0.0: missing dependency on libharfbuzz0b
Control: retitle -2 gobject-introspection: dh_girepository does not fetch all symbols from GIR files

On Tue, 27 Jun 2023, Thomas Uhle wrote:

> On Tue, 27 Jun 2023, أحمد المحمودي wrote:
>
> > I wonder if this is an issue in libgirepository1.0-dev ? According to
> > [1], there is a generated dependency on libharfbuzz-gobject0 for sparc64
> > arch only.
> > 
> > [1] https://packages.debian.org/sid/gir1.2-harfbuzz-0.0
>
> So it is just correct for sparc64, and all the binary packages for the other 
> architectures are missing the dependency on libharfbuzz-gobject0. If it is an 
> issue of dh_girepository, then it propably is in the package 
> gobject-introspection, and not libgirepository1.0-dev.


Dear maintainers,

eventually I have found the reasons why the dependencies on libharfbuzz0b 
and libharfbuzz-gobject0 are missing.  Since there are two different 
reasons, I am cloning this bug ticket, so that the two issues can be dealt 
with independently from one another.

1. Starting with harfbuzz/5.1.0-1, HarfBuzz-0.0.typelib as well as
    HarfBuzz-0.0.gir do no longer reference libharfbuzz.so.0 although
    449 of the 490 symbols are compiled into libharfbuzz.so.0 and just
    the other 41 symbols are compiled into libharfbuzz-gobject.so.0.
    I have lowered the severity because libharfbuzz-gobject.so.0 depends
    on libharfbuzz.so.0 and once when dh_girepository is fixed, a rebuilt
    gir1.2-harfbuzz-0.0 would automatically depend on libharfbuzz-gobject0
    at least, and that would pull in libharfbuzz0b in turn.

2. dh_girepository does not fetch the 41 symbols from HarfBuzz-0.0.gir
    that are compiled into libharfbuzz-gobject.so.0.  I have attached a
    small patch for it, so that the missing symbols are also dumped into
    the dummy C file that is temporarily generated and compiled for
    dh_shlibdeps.
    This updated version of dh_girepository would also find another 245
    symbols in Gio-2.0.gir for instance.

Best regards,

Thomas Uhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_girepository.diff.gz
Type: application/x-gzip
Size: 516 bytes
Desc: 
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20230628/ba3fb5e2/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list