On 2025-08-27 10 h 40 p.m., Matthias Klumpp wrote:
Hi Louis-Philippe!

Am Mi., 27. Aug. 2025 um 21:27 Uhr schrieb Louis-Philippe Véronneau
<[email protected]>:
[...]
Lintian runs this command:

appstreamcli validate-tree --format=yaml --no-net

I can replicate the issue manually this way:

    $ wget https://ftp.debian.org/debian/pool/main/q/qps/qps_2.10.0-1_amd64.deb
    $ ar -x qps_2.10.0-1_amd64.deb
    $ tar -xvf data.tar.gz
    $ appstreamcli validate-tree --format=yaml --no-net usr
[...]
(appstreamcli:5636): GLib-GObject-CRITICAL **: 15:24:22.138: g_object_unref: 
assertion 'G_IS_OBJECT (object)' failed

What you are describing is a very different bug, not at all the issue
from this bug report! This makes me believe that the issue in this bug
report is actually already fixed in 1.0.6 and we can close this bug,
but I am waiting for Sebastian Ramacher to confirm that.

Ah, sorry, it seemed close enough for me, but evidently I don't understand much to these issues :)


As for your bug: That one I can reproduce! Thank you for the
reproduction instructions, that was very helpful. And it's odd that it
only appeared now, and not ages ago - my theory is that some
improvement in GLib may have surfaced it now, or simply that most
packages had good desktop-entry files so far.
Either way, I fixed it in
https://github.com/ximion/appstream/commit/e0bcc1ac5ba8e473a29ef1b71fa80d86f409a431

I will upload a patched version tomorrow, since this issue affects
Lintian - that should resolve your issue.

Thanks a lot for your work!


--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   [email protected] / veronneau.org
  ⠈⠳⣄

Reply via email to