Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693922 - net-p2p/syncthing-1.2.1 : go: github.com/.../go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https:/.../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->12
Summary: net-p2p/syncthing-1.2.1 : go: github.com/.../go-nat-pmp@v0.0.0-20160522074932...
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:
: 699452 (view as bug list)
Depends on:
Blocks: go-1.13-sandbox
  Show dependency tree
 
Reported: 2019-09-09 14:47 UTC by Toralf Förster
Modified: 2019-11-08 10:56 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.29 KB, text/plain)
2019-09-09 14:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,158.47 KB, text/plain)
2019-09-09 14:48 UTC, Toralf Förster
Details
environment (environment,79.55 KB, text/plain)
2019-09-09 14:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.22 KB, application/x-bzip)
2019-09-09 14:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.54 KB, application/x-bzip)
2019-09-09 14:48 UTC, Toralf Förster
Details
net-p2p:syncthing-1.2.1:20190909-103713.log (net-p2p:syncthing-1.2.1:20190909-103713.log,7.27 KB, text/plain)
2019-09-09 14:48 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-09-09 14:47:58 UTC
>>> 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"
Comment 1 Toralf Förster gentoo-dev 2019-09-09 14:48:02 UTC
Created attachment 589540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-09 14:48:06 UTC
Created attachment 589542 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-09-09 14:48:09 UTC
Created attachment 589544 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-09-09 14:48:12 UTC
Created attachment 589546 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-09-09 14:48:14 UTC
Created attachment 589548 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-09-09 14:48:17 UTC
Created attachment 589550 [details]
net-p2p:syncthing-1.2.1:20190909-103713.log
Comment 7 Dennis Schridde 2019-09-16 23:35:38 UTC
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'
Comment 8 James Wah 2019-09-20 05:22:13 UTC
I observe this with dev-lang/go-1.13. The issue does not occur with dev-lang/go-1.12.9.
Comment 9 Larry the Git Cow gentoo-dev 2019-09-20 08:54:34 UTC
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(-)
Comment 10 Marek Szuba archtester gentoo-dev 2019-11-06 15:22:11 UTC
*** Bug 699452 has been marked as a duplicate of this bug. ***
Comment 11 Marek Szuba archtester gentoo-dev 2019-11-06 15:24:53 UTC
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.
Comment 12 Alex Xu (Hello71) 2019-11-06 15:45:31 UTC
(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?
Comment 13 Lubos Kolouch 2019-11-06 18:07:06 UTC
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...
Comment 14 Lubos Kolouch 2019-11-06 18:09:10 UTC
Please disregard my previous comment, the link works
Comment 15 Lubos Kolouch 2019-11-06 18:15:14 UTC
... 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...)
Comment 16 Larry the Git Cow gentoo-dev 2019-11-07 10:52:22 UTC
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(-)
Comment 17 Marek Szuba archtester gentoo-dev 2019-11-07 10:53:08 UTC
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?
Comment 18 Lubos Kolouch 2019-11-07 11:48:27 UTC
1.3.1 compiled for me ok, thanks
Comment 19 Marek Szuba archtester gentoo-dev 2019-11-08 10:56:05 UTC
Thanks! Let us optimistically assume this will have worked for the others too and close this issue, hopefully for good this time.