Bug#1017890: Ships autogenerated files that can't be renegerated with the code in Debian main

Sebastian Dröge slomo at debian.org
Mon Aug 22 08:08:10 BST 2022


Package: gobject-introspection
Version: 1.72.0-1+b1
Severity: serious
Tags: upstream

Hi,

See the discussion on the Debian Rust maintainers list for background:
https://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/2022-August/022857.html

While that discussion is about Rust packages that were rejected, the same
situation also applies to gobject-introspection unfortunately. For more
details how to solve this in a way that makes ftp-masters happy, please refer
to them.


gobject-introspection ships gir/glib-2.0.c, gir/gio-2.0.c, gir/gmodule-2.0.c
and gir/gobject-2.0.c. These files are autogenerated from a specific version
of the GLib source code via the misc/update-glib-annotations.py script.

The version that was used in 1.72.0 happens to be GLib 2.72.0 which is not in
the archive anymore if you check
  https://deb.debian.org/debian/pool/main/g/glib2.0/

In this case there are probably no differences if you regenerate the files
from glib 2.72.3 but in other releases the situation is a bit more
complicated, and various gobject-introspection releases shipped with generated
files from some random git snapshot of glib.

Ideally these files would be regenerated during each build with whatever
version is currently available in Debian, however this might be discouraged by
upstream as it's not clear anymore then what the exact files are that are
being used in a specific Debian release compared to the upstream release.

Alternatively the original source, i.e. glib in the exact version used for the
files, could be included in the source package.


Note that these files are used to generate the GLib-2.0.gir, Gio-2.0.gir,
GModule-2.0.gir and GObject-2.0.gir files that are also shipped in the binary
packages.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'unstable-debug'), (100, 'experimental'), (1, 'experimental-debug')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gobject-introspection depends on:
ii  build-essential                                             12.9
ii  libc6                                                       2.34-4
ii  libdpkg-perl                                                1.21.9
ii  libffi8                                                     3.4.2-4
ii  libgirepository-1.0-1 [libgirepository-1.0-1-with-libffi8]  1.72.0-1+b1
ii  libglib2.0-0                                                2.72.3-1+b1
ii  python3                                                     3.10.6-1
ii  python3-distutils                                           3.10.6-1
ii  python3-mako                                                1.1.3+ds1-3
ii  python3-markdown                                            3.4.1-1

gobject-introspection recommends no packages.

gobject-introspection suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list