On 2025-08-27 2 h 24 a.m., Matthias Klumpp wrote:
Hi!

Am Mi., 27. Aug. 2025 um 06:35 Uhr schrieb Louis-Philippe Véronneau
<[email protected]>:

Package: appstream
Version: 1.0.6-1
Followup-For: Bug #1094274
X-Debbugs-Cc: [email protected]

Still not resolved as of 1.0.6-1.

This currently breaks the appstream tests Lintian runs because the glib
error corrups the YAML output, which in turns crashes Lintian.

Since Britney now requires no Lintian errors for a package to migrate to
Testing, this means the affected packages (UDD reports 3 or 4 at the
moment) are stuck in Unstable :(

Lintian for sure doesn't run `appstreamcli status`, so, which command fails?

I can not reproduce this here (testing with 1.0.6), is there anything
special about the systems that might cause this?
Also, is `/var/lib/flatpak/appstream/flathub` a symlink? (1.0.6 should
handle that case, but the GLib warning is a bit of a mystery until I
can reproduce this issue).

Cheers,
     Matthias


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

The result is this (invalid because of this bug) YAML output:

==========
---
File: org.lxqt.Qps.appdata.xml
Validator: 1.0.5
Issues:
- tag: spdx-license-unknown
  severity: warning
  component: org.lxqt.qps
  line: 5
  hint: GPLv2
  explanation: >-
    The license ID was not found in the SPDX database. Please check that the 
license ID is written in
    an SPDX-conformant way and is a valid free software license.
- tag: description-first-para-too-short
  severity: info
  component: org.lxqt.qps
  line: 9
  hint: "Process manager written in Qt. Among\n    its features are:"
  explanation: >-
    The first `description/p` paragraph of this component might be too short (< 
80 characters). Please
    consider starting with a longer paragraph to improve how the description 
looks like in software centers
    and to provide more detailed information on this component immediately in 
the first paragraph.
- tag: screenshot-no-caption
  severity: pedantic
  component: org.lxqt.qps
  line: 24
  explanation: >-
    The screenshot does not have a caption text. Consider adding one.
- tag: releases-info-missing
  severity: pedantic
  component: org.lxqt.qps
  explanation: >-
    This component is missing information about releases. Consider adding a 
`releases` tag to describe
    releases and their changes.
- tag: content-rating-missing
  severity: info
  component: org.lxqt.qps
  explanation: >-
    This component has no `content_rating` tag to provide age rating 
information. You can generate the
    tag data online by answering a few questions at 
https://hughsie.github.io/oars/
- tag: developer-info-missing
  severity: info
  component: org.lxqt.qps
  explanation: >-
    This component contains no `developer` element with information about its 
author.
- tag: metainfo-filename-cid-mismatch
  severity: warning
  component: org.lxqt.qps
  explanation: >-
    The metainfo filename does not match the component ID.
Passed: no
---
File: qps.desktop
Validator: 1.0.5
Issues:
- tag: desktop-entry-bad-data
  hint: Key file contains key “Comment[es]” which has a value that cannot be 
interpreted.
Passed: yes

(appstreamcli:5636): GLib-GObject-CRITICAL **: 15:24:22.138: g_object_unref: 
assertion 'G_IS_OBJECT (object)' failed
============

More packages failing in a similar way can be found in BTS #1110968.

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

Reply via email to