Flatpak-builder appstreamcli-compose f40 issue?

Hello, I recently upgraded to F40, and have been trying to build a flatpak using flatpak-builder. It builds fine until flatpak-builder calls appstreamcli compose, which prints an error something like:

Running appstreamcli compose
Failed to parse arguments: Unknown option --result-root=/home/simon/Projects/flathub/.flatpak-builder/rofiles/rofiles-VwvldA/files

The build worked fine on F39, and I haven’t found any reference to this type of issue in flatpak or appstream repos, which leads me to believe it may have something to do with the latest appstream packaged in Fedora? I’ll try the compile in a VM as well but thought I’d ask here in the meantime.

Could you remove --result-root= from the args?

It appears to be automatically passed by flatpak-builder, as I haven’t found --result-root anywhere in the source.

Can you post the flatpak-builder command ?

flatpak-builder build ee.ria.qdigidoc4.yml --force-clean

Here’s the github repo: GitHub - minosimo/qdigidoc-flatpak: DigiDoc4 packaged as a Flatpak

1 Like

Certainly looks fedora packaging appstream 1.0.2 is probably the cause. appstream-compose - Fedora Packages

I haven’t tried building from source to confirm.

1 Like