{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidolichxter2awtkkpukyhvsta2wvris4pi5unx7ynxtuonpyh2sm",
    "uri": "at://did:plc:yrn4rbgwenb6lfhhzjegbtnc/app.bsky.feed.post/3mhrhj6qo6ij2"
  },
  "path": "/t/appstream-problem-while-building/11872#post_5",
  "publishedAt": "2026-03-20T14:17:55.000Z",
  "site": "https://discourse.flathub.org",
  "textContent": "> I don’t know, it seems a trouble with paths.\n\nI 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.\n\n> 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:\n\nIt 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.\n\nIn this case your install command is wrong, it has `${FLATPAK_DEST}/app` which is `/app/app` and makes no sense.\n\n\n    - install -Dm644 org.supertuxproject.SuperTux.metainfo.xml ${FLATPAK_DEST}/app/share/metainfo/org.supertuxproject.SuperTux.metainfo.xml\n",
  "title": "Appstream problem while building"
}