View previous topic :: View next topic |
Author |
Message |
petan n00b
Joined: 18 Jan 2016 Posts: 55
|
Posted: Fri Sep 15, 2017 12:46 pm Post subject: snapcraft |
|
|
Hello,
Snapcraft - https://snapcraft.io/ is some kind of packaging framework that claims it makes it possible to package software for almost every GNU/Linux. Since I am a developer myself, I loved the idea of not having to care about all these zillions of linux distros (let's be honest here, I do cross-platform programming with C++/Qt and usually support my stuff on Windows, Linux and Mac. From these 3 platforms Linux is biggest pain in the ass in regards of packaging, even if I do all development myself on GNU/Linux.).
So I was like - yay, finally 1 package management system to rule them all, let's do it. And then I figured that despite their website claims that snapcraft works almost on every distro, in fact it works on 1 only. Ubuntu.
I tried on Debian in VirtualBox, no luck. Now I am trying on my own PC (Gentoo) and it seems to work even worse than on Debian. Despite I was able to compile it, I can't run it at all, using snap results in:
Code: |
# snap install huggle
error: cannot communicate with server: Post http://localhost/v2/snaps/huggle: dial unix /run/snapd-snap.socket: connect: no such file or directory |
It seems that snapd is not running but I couldn't find ANY instructions on how to start it? There is no service file either. Did anyone make it work? If not why the hell do they advertise Gentoo as supported platform on their website?
Thanks |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
|
Back to top |
|
|
oreo n00b
Joined: 14 Aug 2018 Posts: 31
|
Posted: Fri Aug 17, 2018 7:05 am Post subject: |
|
|
Yup, only supports systemd. If you look at the ebuild, it uses systemctl commands openly. No "if { init == systemd } " or anything. It also doesn't have an rc service file, only systemd service. So unless you know how to create an openrc service yourself, you are out of luck. Also, that overlay that you are required to use to install it, installs an ancient version of snap. (It doesn't seem to be actively maintained. ) _________________ "One does not simply, install gentoo." |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Aug 17, 2018 10:06 pm Post subject: |
|
|
You'd probably be better off with SuSE's Open Build Service; you give it the thing to build, it generates distro-native packages for you. No need for the user to install container crud. |
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Fri Aug 17, 2018 11:49 pm Post subject: |
|
|
Might want to look into Flatpak as well then. _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
|