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

DevPod on F40 #1153

Closed
m2Giles opened this issue Apr 18, 2024 · 10 comments
Closed

DevPod on F40 #1153

m2Giles opened this issue Apr 18, 2024 · 10 comments
Labels
help wanted Keep Bluefin alive, dive in!

Comments

@m2Giles
Copy link
Member

m2Giles commented Apr 18, 2024

We removed DevPod from the Fedora 40 package list temporarily. This issue serves as how we will get this package back.

Dependency List:
libappindicator-gtk3
webkit2gtk4.0 -> provides libwebkit2gtk-4.0.so.37
openssl1.1 -> provides libssl.so.1.1

Current issue:
Fedora 40 does not provide libssl.so.1.1.

@m2Giles m2Giles added the help wanted Keep Bluefin alive, dive in! label Apr 18, 2024
@aussielunix
Copy link

I have just downloaded the Linux v0.5.6-alpha.1 tarball.
I am on Fedora Linux 40.20240411.0 (Silverblue)

The cli is statically compiled so works as expected.
The UI (tauri app) is a dynamic binary but the deps have changed.
libssl is no longer a problem for me

[~/tmp/dp/usr/bin]
lunix@astro]  -> ldd dev-pod  | grep ssl
	libssl.so.3 => /lib64/libssl.so.3 (0x00007f88ee978000)

[~/tmp/dp/usr/bin]
lunix@astro]  -> ldd dev-pod  | grep "not found"
	libwebkit2gtk-4.0.so.37 => not found
	libjavascriptcoregtk-4.0.so.18 => not found

@m2Giles
Copy link
Member Author

m2Giles commented Apr 21, 2024

Alright, when v0.5.6 releases we can look at adding it back in!

@aussielunix
Copy link

There is still a couple of missing libs in F40.
I think the only way that Devpod on F40 is going to work is if F40 was to be add to the build matrix in their GitHub action and an F40 tarball is created.

@tfmoraes
Copy link

Devpod 0.5.5 is working for me in F40 (F40 inside Toolbox in Silverblue 40). I need to install libappindicator-gtk3 and webkit2gtk4.0

@aussielunix
Copy link

aussielunix commented Apr 25, 2024

Bingo !

Thank you @tfmoraes
I had trouble with devpod being able to run VSCode and setup the ssh tunnel when VSCode was installed via Flatpak.

Here is what I have now that is working:

  • I have add the files from the v0.5.6-alpha.1 devpod tarball to config/files (replace once 0.5.6 is in ublue COPR)
  • Add Microsoft's VSCode repo
  • Add code and webkit2gtk4.0 to recipe.yml to be installed with rpm-ostree

@m2Giles
Copy link
Member Author

m2Giles commented May 1, 2024

Devpod 5.6 was released. I'll see if we can get devpod building properly with the rpm. As a fallback we can look at going back to directly using the tarball.

I can get devpod working with docker, but it is currently failing with podman.

@m2Giles
Copy link
Member Author

m2Giles commented May 1, 2024

#1244

@m2Giles
Copy link
Member Author

m2Giles commented May 1, 2024

Good news and bad news:

Good News: It is working with podman unlike the appimage.
Bad News: Both Docker and Podman cannot open in desktop vscode. Browser VSCode is working. We get the ENAMETOOLONG error with ssh.

Weird News: You can connect from desktop VSCode to the devpod. But using the vscode URL doesn't work.

Devpod is an RPM in our staging copr.

@aussielunix
Copy link

Here is what I have now that is working:

* I have add the files from the v0.5.6-alpha.1 devpod tarball to [config/files](https://github.com/aussielunix/mystation/tree/main/config/files) (replace once 0.5.6 is in ublue COPR)
* Add Microsoft's [VSCode repo](https://github.com/aussielunix/mystation/blob/main/config/recipe.yml#L24)
* Add `code` and `webkit2gtk4.0` to [recipe.yml](https://github.com/aussielunix/mystation/blob/main/config/recipe.yml#L35) to be installed with rpm-ostree

I just removed the devpod tarball and add the staging RPM, baked a new container and rebased.
This works fine for me.

I start a workspace using a k8s provider and it opens vscode with a correctly setup ssh tunnel for the terminal.

I am ok with the fact devpod and vscode are both installed and run from my custom image and not in a distrobox.

@m2Giles
Copy link
Member Author

m2Giles commented May 3, 2024

Issue filed upstream about vscode URL. Otherwise this is working with docker and podman. Closing.

@m2Giles m2Giles closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Keep Bluefin alive, dive in!
Projects
None yet
Development

No branches or pull requests

3 participants