Appstream problem while building
Flathub Discourse [Unofficial]
March 20, 2026
I don’t know, it seems a trouble with paths.
I edited your post to hide the code lines. Make sure to use code blocks inside a para to paste a large block of code, not inline.
i have an app when i build it locally it runs but when i build it using flathub building bot in github it fails and i find in the logs:
It means you aren’t installing the metainfo file in the correct place or it is being installed with the wrong filename. The filename needs to be $FLATPAK_ID.metainfo.xml and the install location should be $FLATPAK_DEST/share/metainfo which resolves to /app/share/metainfo for an app.
In this case your install command is wrong, it has ${FLATPAK_DEST}/app which is /app/app and makes no sense.
- install -Dm644 org.supertuxproject.SuperTux.metainfo.xml ${FLATPAK_DEST}/app/share/metainfo/org.supertuxproject.SuperTux.metainfo.xml
Discussion in the ATmosphere