-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
snap does not create podman link in /var/lib/snapd/snap/bin #4501
Comments
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
@abitrolly could you PTAL? |
@cevich was the snap version fixed? |
A friendly reminder that this issue had no activity for 30 days. |
The problem is probably that |
Idea: What about using Fedora to do the snap build, it's got everything go-related available as native packages? |
@cevich there is no Fedora base https://snapcraft.io/docs/base-snaps |
Sorry I was not very clear. Right now the test and upload CI jobs use a container image: |
@cevich it won't help. If The workflow tree to fix that.
To automate debugging build problems, there should be a way to describe packaged dependencies in cross-platform manner, or to lookup if they are packaged for another distro. In particular, this needs checking Use distro-independent format for describing dependenciesa.1 Use repo URL of upstream source Lookup package name using online servicesUse https://release-monitoring.org and/or https://repology.org/ to lookup canonical package name for Fedora package, and then use canonical name to lookup Ubuntu package name for a dependency. It just hard to get myself start doing that. I am using |
oh wow, gosh, that's a lot of detail, thanks for explaining. I'll need some time to read/understand that better. Note: We're not necessarily limited to containers in this environment. I could allocate a VM to run for the snap build, whatever distro. flavor is needed. Not sure if that's helpful yet or not before I read 😄 |
@cevich I reworked the text to make it easier to read. |
@cevich running the build on Ubuntu 18.04 and then just packing the binaries might be much much easier. |
Yes, and also better from a maintenance perspective. Long-term, we want something both simple (for reliability) and with zero or very little additional human maintenance. So, if the packaging process could be tied (for example) into the build process we use for running tests, it won't add any new maintenance on top of what I already perform. In fact, it's possible to cache the output-files from the testing stage for re-use in packaging. Can snapcraft produce a package, given the paths to files and the locations where they should be installed? Please correct me: I thought snap packages were intended to be distro-agnostic by design, no? Also, there is an option to enable nested-virtualization, would the snap building process be simpler if we used a VM with this enabled? |
Yes. https://snapcraft.io/docs/dump-plugin
They depend on system libraries that are no distributed. Also depend on system interfaces with host through these libraries that need to be tested. https://snapcraft.io/docs/supported-interfaces
|
Okay, so the dump-plugin seems to be the way forward here. I believe I can generate the list of destination files automatically at 'make' time, where does this data need to end up for snap to do it's thing? |
Related: #4511 (meaning: We really should be doing build/release work from automation on the |
@cevich Any movement on this |
A friendly reminder that this issue had no activity for 30 days. |
@cevich any update? |
@abitrolly where are you at with the snap-package stuff, I haven't seem much activity. I'm okay if you feel it's time to give up with the implied option of future work, maybe from a different angle. Okay if we close this (and the related PR) for now? |
@cevich |
https://snapcraft.io/install/podman/centos does not work
it does not create podman link in
/var/lib/snapd/snap/bin
After doing that manually, it does not run on CentOS
Manually fixin devmapper.so - reveals old version of podman 0.11
Is it really snap being supported?
The text was updated successfully, but these errors were encountered: