>>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/syncthing-1.0.0/work/syncthing-1.0.0 ... failed to initialize build cache at /root/cache/go-build: mkdir /root/cache: permission denied * ERROR: net-p2p/syncthing-1.0.0::gentoo failed (compile phase): * build failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_libressl_20190226-081914 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.3.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.32.0 * java-config: The following VMs are available for generation-2: emerge -qpvO net-p2p/syncthing [ebuild N ] net-p2p/syncthing-1.0.0 USE="(-selinux) -tools"
Created attachment 567498 [details] emerge-info.txt
Created attachment 567500 [details] emerge-history.txt
Created attachment 567502 [details] environment
Created attachment 567504 [details] etc.portage.tbz2
Created attachment 567506 [details] net-p2p:syncthing-1.0.0:20190302-215228.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67a7186692191fbee1b164af49fa66f04f3a785 commit b67a7186692191fbee1b164af49fa66f04f3a785 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2019-03-15 10:46:54 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2019-03-15 10:53:35 +0000 net-p2p/syncthing: reset xdg environment Turns out go uses $XDG_CACHE_HOME to decide where to put the build cache. Make sure it, and to be on the safe side the rest of XDG environment as well, is reset before building Syncthing. We do not inherit xdg.eclass for this purpose because it introduces several dependencies we do not actually need. Closes: https://bugs.gentoo.org/679280 Signed-off-by: Marek Szuba <marecki@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 net-p2p/syncthing/syncthing-1.0.1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)