Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
snapcraft
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
petan
n00b
n00b


Joined: 18 Jan 2016
Posts: 55

PostPosted: Fri Sep 15, 2017 12:46 pm    Post subject: snapcraft Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Sep 15, 2017 1:03 pm    Post subject: Reply with quote

You use systemd or openrc?
Because seems only supported systemd
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
oreo
n00b
n00b


Joined: 14 Aug 2018
Posts: 31

PostPosted: Fri Aug 17, 2018 7:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Aug 17, 2018 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Fri Aug 17, 2018 11:49 pm    Post subject: Reply with quote

Might want to look into Flatpak as well then.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum