appstreamcli compose broken

Daniel Kasak d.j.kasak.dk at gmail.com
Thu Dec 21 05:17:10 UTC 2023


Hi Matthias. Thanks for the reply.

I've switched to debugging the more urgent project ... but both still have
the same issue.

Can you check if your metainfo file was installed?
>

The output shows:

-----

Renaming biz.smartassociates.sdf.metainfo.xml to
share/metainfo/biz.smartassociates.sdf.metainfo.xml
Renaming sdf.desktop to biz.smartassociates.sdf.desktop
Renaming icon hicolor/16x16/apps/sdf.png to
hicolor/16x16/apps/biz.smartassociates.sdf.png
Renaming icon hicolor/32x32/apps/sdf.png to
hicolor/32x32/apps/biz.smartassociates.sdf.png
Renaming icon hicolor/48x48/apps/sdf.png to
hicolor/48x48/apps/biz.smartassociates.sdf.png
Rewriting contents of biz.smartassociates.sdf.desktop
Running appstreamcli compose
FB: Running: appstreamcli compose --prefix=/
--origin=biz.smartassociates.sdf
--result-root=/mnt/array0/work/Smart/Smart_Framework/flatpak/.flatpak-builder/rofiles/rofiles-NeUyJn/files
--data-dir=/mnt/array0/work/Smart/Smart_Framework/flatpak/.flatpak-builder/rofiles/rofiles-NeUyJn/files/share/app-info/xmls
--icons-dir=/mnt/array0/work/Smart/Smart_Framework/flatpak/.flatpak-builder/rofiles/rofiles-NeUyJn/files/share/app-info/icons/flatpak
'--components=biz.smartassociates.sdf,biz.smartassociates.sdf.desktop'
/mnt/array0/work/Smart/Smart_Framework/flatpak/.flatpak-builder/rofiles/rofiles-NeUyJn/files
Only accepting components: biz.smartassociates.sdf,
biz.smartassociates.sdf.desktop
Processing directory:
/mnt/array0/work/Smart/Smart_Framework/flatpak/.flatpak-builder/rofiles/rofiles-NeUyJn/files
Composing metadata...
Run failed, some data was ignored.
Errors were raised during this compose run:
general
  E: filters-but-no-output

biz.smartassociates.sdf
  E: icon-not-found
Refer to the generated issue report data for details on the individual
problems.

-----

[dankasak at mercury flatpak]$ find . | grep
biz.smartassociates.sdf.metainfo.xml
./biz.smartassociates.sdf.metainfo.xml
./appdir/files/share/metainfo/biz.smartassociates.sdf.metainfo.xml
[dankasak at mercury flatpak]$

-----

I guess this maps to /app/share/metainfo? I'm not really sure how this
stuff works ( I've never had to delve into this before ).

Is there a way to get "appstreamcli compose" to be really verbose about
what it's trying to do?

Also, I'm curious what's happened. Is this an update that's broken things
for me?

Dan

On Thu, Dec 21, 2023 at 2:57 PM Matthias Klumpp <matthias at tenstral.net>
wrote:

> Hi Daniel!
>
> Am Do., 21. Dez. 2023 um 02:56 Uhr schrieb Daniel Kasak
> <d.j.kasak.dk at gmail.com>:
> > [...]
> > Run failed, some data was ignored.
> > Errors were raised during this compose run:
> > general
> >   E: filters-but-no-output
> > Refer to the generated issue report data for details on the individual
> problems.
> > [...]
>
> This is referring to the
>
> '--components=biz.smartassociates.open.sdf,biz.smartassociates.open.sdf.desktop'
> line, which limits the compose output to only those components. It
> means that filters set, but compose didn't create any result at all -
> we fail in this case, because a void output is usually not intended in
> that case.
>
> Can you check if your metainfo file was installed? Can you check the
> directory where it was placed? It could be that the metainfo file
> ended up in an odd place (it should have been something like
> /app/share/metainfo/).
>
> Best,
>     Matthias
>
> --
> I welcome VSRE emails. See http://vsre.info/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20231221/406aefd3/attachment.htm>


More information about the Flatpak mailing list