I have problems with the last update:
/home/rober/.cache/aurman/snapd/PKGBUILD: línea 74: autoreconf: no se encontró la orden
==> ERROR: Se produjo un fallo en build().
Cancelando...
2018-06-23 07:19:24,818 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed
I'VE JUST FOUND THE SOLUTION: You have to install "autoconf" in orther to execute "autoreconf" (line 74). Maybe autoconf should be a dependencia.
@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?
@bboozzoo that's it! Thanks a lot for the quick response and fix for my problem. Cheers
@joopdo pushed a change to use the source tarball with vendor dependencies bundled in. Can you check if it works for you now?
@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.
@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.
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"
@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?
==> 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
I have problems with the last update:
/home/rober/.cache/aurman/snapd/PKGBUILD: línea 74: autoreconf: no se encontró la orden ==> ERROR: Se produjo un fallo en build(). Cancelando... 2018-06-23 07:19:24,818 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed
I'VE JUST FOUND THE SOLUTION: You have to install "autoconf" in orther to execute "autoreconf" (line 74). Maybe autoconf should be a dependencia.