Bug 240282 - net/v2ray: Switch to USES=go:modules, fix build with go1.13
Summary: net/v2ray: Switch to USES=go:modules, fix build with go1.13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-02 16:37 UTC by Dmitri Goutnik
Modified: 2019-09-08 12:12 UTC (History)
1 user (show)

See Also:
shen.elf: maintainer-feedback+


Attachments
patch file (1.15 KB, patch)
2019-09-02 16:37 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (shen.elf)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-09-02 16:37:47 UTC
Created attachment 207107 [details]
patch file

===>  Building for v2ray-4.20.0
go: github.com/golang/mock@v1.2.0: Get https://proxy.golang.org/github.com/golang/mock/@v/v1.2.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:43894->209.222.18.218:53: write: permission denied
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with go1.13

QA:
  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 Yanhui Shen 2019-09-03 02:23:59 UTC
I'll look into it.

Actually I haven't tried 4.20.0 yet, it was a maintainer timeout approval...
Comment 2 Yanhui Shen 2019-09-07 03:02:18 UTC
Verified, thanks for the patch.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-09-08 12:12:31 UTC
A commit references this bug:

Author: tobik
Date: Sun Sep  8 12:11:44 UTC 2019
New revision: 511567
URL: https://svnweb.freebsd.org/changeset/ports/511567

Log:
  net/v2ray: Switch to USES=go:modules, fix build with go1.13

  ===>  Building for v2ray-4.20.0
  go: github.com/golang/mock@v1.2.0: Get https://proxy.golang.org/github.com/golang/mock/@v/v1.2.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:43894->209.222.18.218:53: write: permission denied
  *** Error code 1

  PR:		240282
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	Yanhui Shen <shen.elf@gmail.com> (maintainer)
  Pointy hat:	jlaffaye

Changes:
  head/net/v2ray/Makefile