>>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1 ... go: github.com/AudriusButkevicius/go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https://proxy.golang.org/github.com/%21audrius%21butkevicius/go-nat-pmp/@v/v0.0.0-20160522074932-452c97607362.mod: dial tcp: lookup proxy.golang.org on 127.0.0.1:53: read udp 127.0.0.1:57711->127.0.0.1:53: read: connection refused * ERROR: net-p2p/syncthing-1.2.1::gentoo failed (compile phase): * build failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-libressl_test-20190905-194043 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Rust versions: [1] rust-1.37.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 09 Sep 2019 10:06:15 +0000 emerge -qpvO net-p2p/syncthing [ebuild N ] net-p2p/syncthing-1.2.1 USE="(-selinux) -tools"
Created attachment 589540 [details] emerge-info.txt
Created attachment 589542 [details] emerge-history.txt
Created attachment 589544 [details] environment
Created attachment 589546 [details] etc.portage.tbz2
Created attachment 589548 [details] logs.tbz2
Created attachment 589550 [details] net-p2p:syncthing-1.2.1:20190909-103713.log
I see an unreachable network, but otherwise the error message is similar: * Package: net-p2p/syncthing-1.2.1 * Repository: gentoo * Maintainer: marecki@gentoo.org * Upstream: https://github.com/syncthing/syncthing/issues * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: compressdebug network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Vendoring [...] >>> Source unpacked in /tmp/portage/net-p2p/syncthing-1.2.1/work >>> Preparing source in /tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1 ... >>> Source prepared. >>> Configuring source in /tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1 ... >>> Source configured. >>> Compiling source in /tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1 ... go: github.com/AudriusButkevicius/go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https://proxy.golang.org/github.com/%21audrius%21butkevicius/go-nat-pmp/@v/v0.0.0-20160522074932-452c97607362.mod: dial tcp [2a00:1450:4001:81f::2011]:443: connect: network is unreachable * ERROR: net-p2p/syncthing-1.2.1::gentoo failed (compile phase): * build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1165: Called die * The specific snippet of code: * go run build.go -version "v${PV}" -no-upgrade install $(usex tools "all" "") || die "build failed" * * If you need support, post the output of `emerge --info '=net-p2p/syncthing-1.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/syncthing-1.2.1::gentoo'`. * The complete build log is located at '/tmp/portage/net-p2p/syncthing-1.2.1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/net-p2p/syncthing-1.2.1/temp/environment'. * Working directory: '/tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1/src/github.com/syncthing/syncthing' * S: '/tmp/portage/net-p2p/syncthing-1.2.1/work/syncthing-1.2.1'
I observe this with dev-lang/go-1.13. The issue does not occur with dev-lang/go-1.12.9.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66be48af7d32a3e86a98e176d92ef8ac954cfcac commit 66be48af7d32a3e86a98e176d92ef8ac954cfcac Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2019-09-20 08:50:32 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2019-09-20 08:54:16 +0000 net-p2p/syncthing: require <dev-lang/go-1.13 Having checked upstream, 1.13 is not supported by any of the versions currently in Gentoo. On the other hand, we have removed versions older than 1.12 so there is presently no need for the lower version limit. Closes: https://bugs.gentoo.org/693922 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-p2p/syncthing/syncthing-1.1.4.ebuild | 2 +- net-p2p/syncthing/syncthing-1.2.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 699452 has been marked as a duplicate of this bug. ***
This bug puzzles me. I have just double-checked to be sure and both my build system (which I use to test syncthing ebuilds) and my Gentoo workstation (which is one of the systems on which I use Syncthing) have got FEATURES=network-sandbox enabled - yet I continue to fail to reproduce this problem on either of them, and I am 100% sure I tested emerging net-p2p/syncthing-1.3.1 using both go versions 1.12 and 1.13.
(In reply to Marek Szuba from comment #11) > This bug puzzles me. I have just double-checked to be sure and both my build > system (which I use to test syncthing ebuilds) and my Gentoo workstation > (which is one of the systems on which I use Syncthing) have got > FEATURES=network-sandbox enabled - yet I continue to fail to reproduce this > problem on either of them, and I am 100% sure I tested emerging > net-p2p/syncthing-1.3.1 using both go versions 1.12 and 1.13. what are your FEATURES?
This is not puzzling - this link github.com/AudriusButkevicius/go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https://proxy.golang.org/github.com/%21audrius%21butkevicius/go-nat-pmp/@v/v0.0.0-20160522074932-452c97607362.mod Does not work...
Please disregard my previous comment, the link works
... but emerge of syncthing-1.3.1 does not... >>> Compiling source in /var/cache/portage/net-p2p/syncthing-1.3.1/work/syncthing-1.3.1 ... go: github.com/AudriusButkevicius/go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https://proxy.golang.org/github.com/%21audrius%21butkevicius/go-nat-pmp/@v/v0.0.0-20160522074932-452c97607362.mod: dial tcp: lookup proxy.golang.org on 8.8.8.8:53: dial udp 8.8.8.8:53: connect: network is unreachable (yes, my network works fine...)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9dcd920eaa88e57204e966c2779c9eac98495d commit 1a9dcd920eaa88e57204e966c2779c9eac98495d Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2019-11-07 10:49:31 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2019-11-07 10:52:00 +0000 net-p2p/syncthing-1.3.1: switch to go-module.eclass Should hopefully resolve problems with go-1.13 in the network sandbox observed by some users. Bug: https://bugs.gentoo.org/693922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-p2p/syncthing/syncthing-1.3.1.ebuild | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-)
Okay, can't reproduce or not there is a clear recommendation in the tracker bug how to proceed - so let's see if it helps. Would someone affected by this issue please report if switching to go-module.eclass has helped?
1.3.1 compiled for me ok, thanks
Thanks! Let us optimistically assume this will have worked for the others too and close this issue, hopefully for good this time.