Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679280 - net-p2p/syncthing-1.0.0 : failed to initialize build cache at /.../go-build: mkdir /.../cache: permission denied
Summary: net-p2p/syncthing-1.0.0 : failed to initialize build cache at /.../go-build: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2019-03-02 22:40 UTC by Toralf Förster
Modified: 2019-03-15 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.76 KB, text/plain)
2019-03-02 22:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.07 KB, text/plain)
2019-03-02 22:40 UTC, Toralf Förster
Details
environment (environment,70.41 KB, text/plain)
2019-03-02 22:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.59 KB, application/x-bzip)
2019-03-02 22:40 UTC, Toralf Förster
Details
net-p2p:syncthing-1.0.0:20190302-215228.log (net-p2p:syncthing-1.0.0:20190302-215228.log,2.11 KB, text/plain)
2019-03-02 22:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-03-02 22:40:14 UTC
>>> 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"
Comment 1 Toralf Förster gentoo-dev 2019-03-02 22:40:17 UTC
Created attachment 567498 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-02 22:40:20 UTC
Created attachment 567500 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-02 22:40:23 UTC
Created attachment 567502 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-02 22:40:26 UTC
Created attachment 567504 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-02 22:40:28 UTC
Created attachment 567506 [details]
net-p2p:syncthing-1.0.0:20190302-215228.log
Comment 6 Larry the Git Cow gentoo-dev 2019-03-15 10:53:42 UTC
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(-)