Package Details: snapd 2.62-2

Git Clone URL: https://aur.archlinux.org/snapd.git (read-only, click to copy)
Package Base: snapd
Description: Service and tools for management of snap packages.
Upstream URL: https://github.com/snapcore/snapd
Licenses: GPL3
Conflicts: snap-confine
Submitter: Barthalion
Maintainer: bboozzoo (zyga, mardy)
Last Packager: bboozzoo
Votes: 210
Popularity: 2.39
First Submitted: 2018-01-07 17:37 (UTC)
Last Updated: 2024-04-29 06:41 (UTC)

Pinned Comments

bboozzoo commented on 2018-10-25 11:56 (UTC) (edited on 2024-04-09 07:39 (UTC) by bboozzoo)

Package update notes

2.36

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 https://wiki.archlinux.org/index.php/AppArmor 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
2.62

Since 2.62 snapd generated additional files describing the sandbox. The snapd service needs to be restarted after the update for snaps to continue working (unless the system is rebooted after the update, in which case no additional steps are needed). To restart, run systemctl restart snapd.service

Latest Comments

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

bboozzoo commented on 2023-02-09 06:26 (UTC)

@Repp no, not really https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started https://wiki.archlinux.org/title/PKGBUILD#makedepends

Because it's so hard for folks to follow, quoting here from the PKGBUILD archwiki page:

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

Repp commented on 2023-02-09 02:31 (UTC)

automake and autoconf should be added to makedepends

pumpkab00 commented on 2023-01-30 23:02 (UTC) (edited on 2023-01-31 06:43 (UTC) by pumpkab00)

Getting this issue as well

make[1]: Leaving directory '/home/deck/snapd/src/snapd-2.58.2/cmd' ==> Starting check()... snap-exec is not a static binary

Edit: Disregard - fixed by removing gcc-go

df8oe commented on 2022-12-06 18:23 (UTC)

Does not build here with a go-problem:
panic: runtime error: index out of range [2147418107] with length 10

This looks to be a known go issue since months but it is still not fixed. Maybe this can be fixed by changing something in build routines?

fastrespawn commented on 2022-11-21 16:20 (UTC) (edited on 2022-11-21 16:20 (UTC) by fastrespawn)

Getting this error

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 274. autoreconf: error: aclocal failed with exit status: 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: snapd

invade_r commented on 2022-11-16 04:42 (UTC) (edited on 2022-11-16 04:43 (UTC) by invade_r)

Have the same problem as @a.kudelin.

==> Starting check()...
snap-exec is not a static binary
 -> error making: snapd

but first I've got this warnings...

go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags

bboozzoo commented on 2022-10-06 12:53 (UTC)

error making: ceph (ceph-libs)

sorry don't know about ceph

samuelbernardo commented on 2022-10-06 12:47 (UTC) (edited on 2022-10-06 12:47 (UTC) by samuelbernardo)

==> Making package: snapd 2.57.4-1 (Thu 06 Oct 2022 01:35:15 PM WEST) ... -- Ceph/.git directory not found, parsing ~/.cache/yay/ceph/src/ceph-16.2.7/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER -- Found Java: /usr/bin/java (found version "11.0.16") found components: Development CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find JNI (missing: AWT) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindJNI.cmake:562 (find_package_handle_standard_args) src/java/CMakeLists.txt:2 (find_package) ... ==> ERROR: A failure occurred in build(). Aborting... -> error making: ceph (ceph-libs)

On log file ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeError.log:

Determining if the function pthread_set_name_np exists failed with the following output: Change Dir: ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_13f80/fast && /usr/bin/make -f CMakeFiles/cmTC_13f80.dir/build.make CMakeFiles/cmTC_13f80.dir/build make[1]: Entering directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_13f80.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-pr otection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=pthread_set_name_np -o CMakeFiles/cmTC_13f80.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_13f80 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13f80.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-prot ection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=pthread_set_name_np -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CMak eFiles/cmTC_13f80.dir/CheckFunctionExists.c.o -o cmTC_13f80 -lpthread /usr/bin/ld: CMakeFiles/cmTC_13f80.dir/CheckFunctionExists.c.o: in function main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference topthread_set_name_np' collect2: error: ld returned 1 exit status make[1]: [CMakeFiles/cmTC_13f80.dir/build.make:99: cmTC_13f80] Error 1 make[1]: Leaving directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' make: [Makefile:127: cmTC_13f80/fast] Error 2

Determining if the function pthread_get_name_np exists failed with the following output: Change Dir: ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_11ada/fast && /usr/bin/make -f CMakeFiles/cmTC_11ada.dir/build.make CMakeFiles/cmTC_11ada.dir/build make[1]: Entering directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_11ada.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-pr otection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=pthread_get_name_np -o CMakeFiles/cmTC_11ada.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_11ada /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_11ada.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-prot ection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=pthread_get_name_np -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CMak eFiles/cmTC_11ada.dir/CheckFunctionExists.c.o -o cmTC_11ada -lpthread /usr/bin/ld: CMakeFiles/cmTC_11ada.dir/CheckFunctionExists.c.o: in function main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference topthread_get_name_np' collect2: error: ld returned 1 exit status make[1]: [CMakeFiles/cmTC_11ada.dir/build.make:99: cmTC_11ada] Error 1 make[1]: Leaving directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' make: [Makefile:127: cmTC_11ada/fast] Error 2

Determining if the function getprogname exists failed with the following output: Change Dir: ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_d81b0/fast && /usr/bin/make -f CMakeFiles/cmTC_d81b0.dir/build.make CMakeFiles/cmTC_d81b0.dir/build make[1]: Entering directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d81b0.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=getprogname -o CMakeFiles/cmTC_d81b0.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_d81b0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d81b0.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -DCHECK_FUNCTION_EXISTS=getprogname -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CMakeFiles/cmTC_d81b0.dir/CheckFunctionExists.c.o -o cmTC_d81b0 /usr/bin/ld: CMakeFiles/cmTC_d81b0.dir/CheckFunctionExists.c.o: in function main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference togetprogname' collect2: error: ld returned 1 exit status make[1]: [CMakeFiles/cmTC_d81b0.dir/build.make:99: cmTC_d81b0] Error 1 make[1]: Leaving directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' make: [Makefile:127: cmTC_d81b0/fast] Error 2

Performing C SOURCE FILE Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC failed with the following output: Change Dir: ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_b2a33/fast && /usr/bin/make -f CMakeFiles/cmTC_b2a33.dir/build.make CMakeFiles/cmTC_b2a33.dir/build make[1]: Entering directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b2a33.dir/src.c.o /usr/bin/cc -DHAVE_STAT_ST_MTIMESPEC_TV_NSEC -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DFMT_DEPRECATED_OSTREAM -o CMakeFiles/cmTC_b2a33.dir/src.c.o -c ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp/src.c ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: ~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp/src.c:6:34: error: ‘struct stat’ has no member named ‘st_mtimespec’ 6 | (void)sizeof(((struct stat )0)->st_mtimespec.tv_nsec); | ^~ make[1]: [CMakeFiles/cmTC_b2a33.dir/build.make:78: CMakeFiles/cmTC_b2a33.dir/src.c.o] Error 1 make[1]: Leaving directory '~/.cache/yay/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeTmp' make: * [Makefile:127: cmTC_b2a33/fast] Error 2

Source file was:

include <sys/stat.h>

int main() { (void)sizeof(((struct stat *)0)->st_mtimespec.tv_nsec); return 0; }

a.kudelin commented on 2022-08-07 18:58 (UTC)

$ ldd src/go/bin/snap-exec

        linux-vdso.so.1 => linux-vdso.so.1 (0x00007fffb0b7f000)
        libgo.so.21 => /usr/lib/libgo.so.21 (0x00007f5c8f600000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f5c918dc000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f5c8f41c000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5c9192f000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f5c9131a000)