flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

Building a runtime with a dash to a local repo, then building an app using that runtime from the local repo doesn't work

Open ell1e opened this issue 4 months ago • 1 comments

Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

flatpak-builder version

1.4.4

Flatpak version

1.16.1

How to reproduce

Building a runtime with a runtime id that contains a dash to a local repo folder, then building an app using that runtime from the local repo folder doesn't work. What happens is that the app build will simply complain there is no such runtime, even though it is there.

  1. Create a manifest for a local runtime and in the id field, put something like org.codeberg.whatever-dash
  2. Build it with flatpak-builder and save it to some local --repo./repo folder
  3. Build an app with flatpak-builder that uses --install-deps-from=./repo --repo=./repo and which uses that runtime as a base.
  4. The app will not build, complaining the runtime wasn't found.

Expected Behavior

Dashes work since some domain names or repo names may have dashes.

Actual Behavior

The app will not build, complaining the runtime wasn't found, at least that is what happened to me. However, when I rename the runtime id to no longer have a dash, it works.

Additional Information

No response

ell1e avatar Aug 31 '25 18:08 ell1e