Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder fails installing Gnome/47 SDK; Seemingly missing double slash character #206

Open
ndom91 opened this issue Nov 14, 2024 · 2 comments

Comments

@ndom91
Copy link

ndom91 commented Nov 14, 2024

I'm trying to build my flatpak with flatpak/flatpak-github-actions/flatpak-builder@v6 and it is failing in this GHA job:

- name: Flatpak build
  uses: flatpak/flatpak-github-actions/flatpak-builder@v6
  with:
    bundle: com.gitbutler.app.flatpak
    manifest-path: crates/gitbutler-tauri/flatpak/manifest.flatpak.yml
    cache-key: flatpak-builder-${{ github.sha }}
    arch: ${{ matrix.arch }}

With the following error message:

Installing org.gnome.Sdk/47 from flathub
error: Nothing matches org.gnome.Sdk in remote flathub
Error installing deps: running `flatpak --system install -y --noninteractive flathub org.gnome.Sdk/47`: Child process exited with code 1

Specifically when trying to install the Gnome 47 SDK:

flatpak --system install -y --noninteractive flathub org.gnome.Sdk/47

Runnign this locally also does not work, it seems that the slash needs to be doubled up, i.e.

flatpak --system install -y --noninteractive flathub org.gnome.Sdk//47
@ndom91
Copy link
Author

ndom91 commented Nov 14, 2024

If I try to manually install it via

flatpak --system install -y --noninteractive flathub org.gnome.Sdk//47

It still attempts to run the broken command :/

image

@ndom91
Copy link
Author

ndom91 commented Nov 14, 2024

Same is true with the latest master version (flatpak/flatpak-github-actions/flatpak-builder@master) using this step:

- name: Flatpak build
  uses: flatpak/flatpak-github-actions/flatpak-builder@master
  with:
    bundle: com.gitbutler.app.flatpak
    manifest-path: crates/gitbutler-tauri/flatpak/manifest.flatpak.yml
    cache-key: flatpak-builder-${{ github.sha }}
    arch: ${{ matrix.arch }}

@ndom91 ndom91 changed the title Builder fails installing Gnome/47 SDK; Missing escape character Builder fails installing Gnome/47 SDK; Seemingly missing double slash character Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant