Troubleshooting flatpak-builder errors in appstreamcli compose

When running flatpak-builder, I get output like:

Run failed, some data was ignored.
Errors were raised during this compose run:
general
  E: filters-but-no-output

com.example.Test
  E: no-valid-category
Refer to the generated issue report data for details on the individual problems.
Error: ERROR: appstreamcli compose failed: Child process exited with code 1

How do I get more details about these error codes? Where is the issue report that appstreamcli talks about?

Your categories in your metainfo file are invalid/unknown.

Refer to these for valid ones A. Registered Categories

https://specifications.freedesktop.org/menu-spec/latest/apas02.html

1 Like