Your message dated Sat, 24 Jun 2023 19:47:27 +0000
with message-id <e1qd9ef-006hkq...@fasolo.debian.org>
and subject line Bug#1037206: fixed in appstream-glib 0.7.18-1+deb11u1
has caused the Debian Bug report #1037206,
regarding libappstream-glib8/bullseye: flatpak fails to load current Flathub 
metadata
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1037206: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037206
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libappstream-glib8
Version: 0.7.18-1
Severity: important
Tags: fixed-upstream bullseye
Control: forwarded -1 https://github.com/flatpak/flatpak/issues/5434
Control: affects -1 + flatpak
Control: fixed -1 0.8.1-1

To reproduce:

$ podman run --rm -it debian:bullseye-slim
# apt update
# apt install flatpak reportbug
# flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo
# flatpak search steamlink

Expected result: something similar to the output on unstable:

```
Name   Description                 Application ID       Version   Branch Remotes
Steam… Stream games from another … …esoftware.SteamLink 1.2.0.241 stable flathub
```

(for more readable results use a wider terminal, but this truncated
version is OK)

Actual result:

```
root@c8b13fe6aeca:/# flatpak search steamlink
F: Failed to parse 
/var/lib/flatpak/appstream/flathub/x86_64/active/appstream.xml.gz file: Error 
on line 1960 char 29: <p> already set '
      Organic Maps is a free Android & iOS offline maps app for travelers,
      tourists, hikers, and cyclists.
      It uses crowd-sourced OpenStreetMap data and is developed with love by
      ' and tried to replace with ' ('
No matches found
```

This is not actually a flatpak bug, it's been diagnosed as happening
because older versions of appstream-glib mis-parse upstream metadata
that contains <em> and <code>.

Targeted fixes for the same upstream release have been proposed in
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/2023215
and I'm now looking at an equivalent update for bullseye.

Workaround: the version of flatpak in bullseye-backports and bookworm has
switched from appstream-glib to libappstream, which does not have this
problem, even in bullseye. I've confirmed that the bullseye-backports
version ("apt install flatpak/bullseye-backports") works fine with
these steps.

    smcv

-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages libappstream-glib8 depends on:
ii  libarchive13         3.4.3-2+deb11u1
ii  libc6                2.31-13+deb11u6
ii  libgdk-pixbuf-2.0-0  2.42.2+dfsg-1+deb11u1
ii  libglib2.0-0         2.66.8-1
ii  libsoup2.4-1         2.72.0-2
ii  libstemmer0d         2.1.0-1
ii  libuuid1             2.36.1-8+deb11u1
ii  libyaml-0-2          0.2.2-1

libappstream-glib8 recommends no packages.

libappstream-glib8 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: appstream-glib
Source-Version: 0.7.18-1+deb11u1
Done: Simon McVittie <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
appstream-glib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1037...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated appstream-glib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 07 Jun 2023 19:25:59 +0100
Source: appstream-glib
Architecture: source
Version: 0.7.18-1+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: PkgUtopia Team <team+pkgutopia-t...@tracker.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1037206
Changes:
 appstream-glib (0.7.18-1+deb11u1) bullseye; urgency=medium
 .
   * Add patches from upstream to cope with <em> and <code> in metadata.
     Older versions of appstream-glib mis-parse upstream metadata that
     contains <em> and <code>, causing flatpak 1.12.x or older to fail
     to load the metadata now published by Flathub. The symptom is that
     `flatpak search` fails. (Closes: #1037206, LP: #2023215)
Checksums-Sha1:
 ccb9499a2505eaccee2368353d2f251d72a01d7c 2768 
appstream-glib_0.7.18-1+deb11u1.dsc
 a88623bdcaf3c950a517951a8ef5cbf1f5b47007 13696 
appstream-glib_0.7.18-1+deb11u1.debian.tar.xz
 aa039a921aeace74bfb7c6e7dee81042c6a488d7 15175 
appstream-glib_0.7.18-1+deb11u1_source.buildinfo
Checksums-Sha256:
 e216c32834f31147c7ff54976b09b961660c3dfbc1091290fd1948a4c047cf0a 2768 
appstream-glib_0.7.18-1+deb11u1.dsc
 28b208120fca1a86a314ec6eebfaf374722f160016f68613ae1c5be67a445468 13696 
appstream-glib_0.7.18-1+deb11u1.debian.tar.xz
 cce1af800053b1ae01c7e8331527ec04dee539ade49ed57093a5fc4b0c7e7269 15175 
appstream-glib_0.7.18-1+deb11u1_source.buildinfo
Files:
 56b321e90179107bb50d190d8a37e9a5 2768 admin optional 
appstream-glib_0.7.18-1+deb11u1.dsc
 985e1dc795f89ffee307c5d202995587 13696 admin optional 
appstream-glib_0.7.18-1+deb11u1.debian.tar.xz
 9922b2c9c599e421dccca69c2d8a2955 15175 admin optional 
appstream-glib_0.7.18-1+deb11u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmSSAg8ACgkQ4FrhR4+B
TE+7eg//euZ8Fm560kqiy9VS9eRHG4wLTkn37OyOTGd4DY6kd+Q6Pao4PTJohdeN
IFsYIDaFPbadcnd0UcU15HMHFI3iHw0Sry+4bAP5StT2GbeEcISD5vkr4s255BbS
GZ/hV5U/WRG3HQqpWKFAf+4b8W6gwL0viXeWY0MJu9q3i1veuxbk/sOr+MTOtl+c
Ft+Z3XiizXyvw5m8NK8114Wf6xZUFnz5gfgogH8qWs5f8TEK2O0DzS18nWSbTIcj
Le1WWzO8qEH0U8i9IFzXH3H7Pc+Gojxdo+zGky97zHoGfFMZrh7PudqULXbcArlW
jFkQVpMpu05KdsH4aAibi12beGusGDiRtWhtYZP+tRxOqryx655a6iVOMvDm3hsk
EypgYMsGY1d+bNZZx6NAA7be55iv+ZCYqzXbINKxdlLTdydYoMhWbQrAIV6dpi2d
na5lDdHLLG8SNS+SgmTc0biuIcwjh6fhMsPCzaTRadJ4hsvmFqr8cSspX4uwySFE
haw7MJcrUJ5f37LpQTFdFWVjNfXbN6/RThX9tPSoQ9DSNqGTvmTKBwfohuAGMniV
IaPGVn/QuWejmkZAZWtQ3/Zjt2aPzf7Saql47qrzftHPfXqExCZPMLO/rAHLCVXT
9uenHtsRaByQpsjpNDQ7IXN1k23GXJIKBP0jhsXOvT/mWrzGcCw=
=q6MG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to