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

error: Nothing matches org.gnome.Sdk in remote flathub-beta #304

Open
juk0de opened this issue Oct 14, 2022 · 3 comments
Open

error: Nothing matches org.gnome.Sdk in remote flathub-beta #304

juk0de opened this issue Oct 14, 2022 · 3 comments

Comments

@juk0de
Copy link

juk0de commented Oct 14, 2022

Hi! I'm trying to compile Lutris as a Flatpak, as described in the Readme. But the flatpak-builder command always results in this error:

$ flatpak-builder --repo=lutris --force-clean --install-deps-from=flathub-beta build-dir net.lutris.Lutris.yml
Dependency Sdk: org.gnome.Sdk 43
Installing org.gnome.Sdk/x86_64/43 from flathub-beta
error: Nothing matches org.gnome.Sdk in remote flathub-beta
Error installing deps: running `flatpak --system install -y --noninteractive flathub-beta org.gnome.Sdk/x86_64/43`: Child process exited with code 1

I've checked that the flathub-beta repo is available and org.gnome.Sdk package can be found:

$ flatpak remote-list
Name         Options
flathub      system
flathub-beta system
$ flatpak search org.gnome.Sdk
Name                                                           Description                                                                                       Application ID                Version               Branch                 Remotes
GNOME Software Development Kit version 43                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       43beta                 flathub-beta
GNOME Software Development Kit version 42                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       42beta                 flathub-beta
GNOME Software Development Kit version 41                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       41beta                 flathub-beta
GNOME Software Development Kit version 40                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       40beta                 flathub-beta
GNOME Software Development Kit version 3.38                    Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       3.38beta               flathub-beta
GNOME Software Development Kit version 3.36beta                Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       3.36beta               flathub-beta
GNOME Software Development Kit version 3.34beta                Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       3.34beta               flathub-beta
GNOME Software Development Kit version 43                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       43                     flathub
GNOME Software Development Kit version 42                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       42                     flathub
GNOME Software Development Kit version 41                      Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       41                     flathub
GNOME Software Development Kit version 3.38                    Tools and headers for developing applications using the GNOME application platform                org.gnome.Sdk                                       3.38                   flathub

But the error persists. Any ideas how to fix it? I'm on Ubuntu 22.04 and using Flatpak 1.12.7 from the Ubuntu repository.

@A6GibKm
Copy link
Collaborator

A6GibKm commented Oct 14, 2022

you need GNOME sdk 42 (for building the stable branch) or 43 for building the beta branch, both from flathub (no flathub-beta).

@juk0de
Copy link
Author

juk0de commented Oct 14, 2022

Thx @A6GibKm. I've changed the command from the Readme to this one

flatpak-builder --repo=lutris --force-clean --install-deps-from=flathub build-dir net.lutris.Lutris.yml 

and now it works! I was pretty sure that I had already tried the command with the flathub repo, but apparently I didn't. Anyway, it should also be fixed in the official Readme...

Unfortunately, another error occurred during the build process:

Downloading https://mesa.freedesktop.org/archive/glu/glu-9.0.2.tar.xz
100   162  100   162    0     0    316      0 --:--:-- --:--:-- --:--:--   316
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
Failed to download sources: module glu: server certificate verification failed. CAfile: none CRLfile: none

I can download that file with wget just fine, but it keeps failing during the build process...

@juk0de
Copy link
Author

juk0de commented Oct 15, 2022

I worked around that bug by downloading the file manually and copying it into the appropriate folder below .flatpak-builder/downloads/.

After that, I had to use the same workaround for this one:

Downloading https://mesa.freedesktop.org/archive/demos/mesa-demos-8.4.0.tar.bz2
100   162  100   162    0     0    508      0 --:--:-- --:--:-- --:--:--  1396
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Failed to download sources: module mesa-demos: server certificate verification failed. CAfile: none CRLfile: none

I am by no means a flatpak expert, but it looks like flatpak-builder is missing some certificates (or can't access the ones on my system). I thought that maybe there's a ca-certificates flatpak that can be installed, but I found none, so I currently don't know how to fix it properly...

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

2 participants