Package Details: snapd 2.33-2

Git Clone URL: https://aur.archlinux.org/snapd.git (read-only)
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: aimileus (bboozzoo, zyga)
Last Packager: bboozzoo
Votes: 42
Popularity: 12.297580
First Submitted: 2018-01-07 17:37
Last Updated: 2018-06-12 13:57

Latest Comments

bboozzoo commented on 2018-06-15 05:57

@ibrokemypie your current LDFLAGS setting appears to be incorrect. ld will be called like this: /usr/bin/ld .. -01 --sort-common --as-needed -z relro now, notice that now is passed without a preceding -z, making ld interpret it as an object file.

Can you edit your LDFLAGS to be: LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" and build again?

ibrokemypie commented on 2018-06-15 04:49

@bboozzoo My makepkg.conf is here: https://hastebin.com/bozoduwete.coffeescript

joopdo commented on 2018-06-13 05:46

@bboozzoo that's it! Thanks a lot for the quick response and fix for my problem. Cheers

bboozzoo commented on 2018-06-12 14:06

@joopdo pushed a change to use the source tarball with vendor dependencies bundled in. Can you check if it works for you now?

joopdo commented on 2018-06-12 08:23

@bboozzoo I assumed it's generic due to the unrecognized import path.

If specific, I look myself. I'm based in China (forgot to mention this fact) but got same response with and without VPN. I noticed that my first mention included some output from my proxy, sorry for any confusion.

bboozzoo commented on 2018-06-12 07:50

@joopdo do the hosts you build the package on have network access or are behind some proxy that may mangle the headers?

I can probably look into using the source tarball that includes the vendored dependencies. The downside is that sometimes it took a while to have it published on github releases page.

joopdo commented on 2018-06-12 06:38

Current AUR seems to fail for me on multiple machines.

Govendor reports: Obtaining dependencies Error: Remotes failed for: Failed for "golang.org/x/crypto/cast5" (failed to ping remote repo): unrecognized import path "golang.org/x/crypto/cast5"

bboozzoo commented on 2018-06-12 06:07

@ibrokemypie can you share your makepkg.conf and how you build the package? I tried building it with clang (and lld) inside and outside of a clean chroot, but failed to reproduce the build issue you're seeing. Can you double check that binutils is properly installed?

ibrokemypie commented on 2018-06-12 00:20

==> Starting build()... *** Setting version to '2.33-1' from shell. Obtaining dependencies

runtime/cgo

/usr/bin/ld: cannot find now: No such file or directory clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation) ==> ERROR: A failure occurred in build(). Aborting... Error making: snapd

7314776 commented on 2018-05-08 15:12

@bboozzoo, this one builds fine, thank you!

All comments