Package Details: snapd 2.51.1-1

Git Clone URL: (read-only, click to copy)
Package Base: snapd
Description: Service and tools for management of snap packages.
Upstream URL:
Licenses: GPL3
Conflicts: snap-confine
Submitter: Barthalion
Maintainer: bboozzoo (zyga)
Last Packager: bboozzoo
Votes: 163
Popularity: 4.69
First Submitted: 2018-01-07 17:37
Last Updated: 2021-06-28 07:58

Pinned Comments

bboozzoo commented on 2018-10-25 11:56

2.36 is the first release with AppArmor enabled by default on Arch.

If you do not have AppArmor enabled at boot there should be no functional changes visible.

If you wish to use snaps with Apparmor, first make sure that Apparmor is enabled during boot, see for details. After upgrading the package, you need to do the following steps:

  • Reload the profiles: systemctl restart apparmor.service
  • Restart snapd: systemctl restart snapd.service
  • Load profiles for snaps: systemctl enable --now snapd.apparmor.service

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

bboozzoo commented on 2020-10-26 06:33

@henrylaxen this still looks wrong, I do not have to modify anything in a chroot and I don't understand why need to do so. I can only recommend you build the AUR packages in clean chroots.

henrylaxen commented on 2020-10-25 18:51

Thanks bboozzoo for the pointers. I got it to compile by changing:



Best wishes, Henry Laxen

bboozzoo commented on 2020-10-25 18:16

@henrylaxen it builds fine in my system and in a clean chroot. Maybe you're setting something in your environment? The /etc/makepkg.conf file is owned by pacman, so maybe you can try reinstalling that to reset whatever modifications you have there.

If that doesn't help you can always try and debug the recipe, adding -x -v to go build commands will produce more useful output.

henrylaxen commented on 2020-10-25 17:34

I never changed them from the default. I think these are the ones you are looking for:

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"

If there are other flags, just let me know. Best wishes, Henry Laxen

bboozzoo commented on 2020-10-25 17:19

@henrylaxen what build flags are set in /etc/makepkg.conf?

henrylaxen commented on 2020-10-25 16:58

When trying to install, I get: In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from _cgo_export.c:3: /usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc1: all warnings being treated as errors ==> ERROR: A failure occurred in build(). Aborting...

Not sure how to proceed from here. Any pointers will be appreciated. Best wishes, Henry Laxen

MartinX3 commented on 2020-09-16 10:47

I'm getting a big, fat warning

==> WARNUNG: Verwende bestehenden $srcdir/ Baum
==> Beginne build()...
fatal: Kein Git-Repository (oder irgendein Elternverzeichnis bis zum Einhängepunkt /)
Stoppe bei Dateisystemgrenze (GIT_DISCOVERY_ACROSS_FILESYSTEM nicht gesetzt).
fatal: Kein Git-Repository (oder irgendein Elternverzeichnis bis zum Einhängepunkt /)
Stoppe bei Dateisystemgrenze (GIT_DISCOVERY_ACROSS_FILESYSTEM nicht gesetzt).
*** Setting version to '2.46.1-1' from user.

Ataraxy commented on 2020-09-11 01:22

I'm getting a build problem after removing .cache/yay/snapd:

configure: WARNING: "cannot find the valgrind tool, will not run unit tests through valgrind"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make: *** No rule to make target '"4"'.  Stop.
==> ERROR: A failure occurred in build().
error making: snapd

bboozzoo commented on 2020-08-17 07:50

@dslink builds fine with I pushed a week ago.

dslink commented on 2020-08-15 18:29

Wont build, even tried to build directly from offical git. This is the aur error snap-confine-private.a make[1]: Leaving directory '/tmp/trizen-***/snapd/src/snapd-' ==> Starting check()... ==> ERROR: A failure occurred in check(). Aborting... :: Unable to build snapd - makepkg exited with code: 4