Bug 239868

Summary: sysutils/snmp_exporter: Switch to USES=go:modules, fix build with go1.13
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: fabian.freyer, yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (fabian.freyer)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch file dmgk: maintainer-approval? (fabian.freyer)

Description Dmitri Goutnik freebsd_committer 2019-08-14 20:58:20 UTC
Created attachment 206560 [details]
patch file

===>  Building for snmp_exporter-0.14.0
go: github.com/alecthomas/template@v0.0.0-20160405071501-a0175ee3bccc: Get https://proxy.golang.org/github.com/a
lecthomas/template/@v/v0.0.0-20160405071501-a0175ee3bccc.mod: dial tcp: lookup proxy.golang.org on w
rite udp> write: permission denied
*** Error code 1

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

  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer 2019-08-17 01:55:43 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-08-17 01:56:35 UTC
A commit references this bug:

Author: yuri
Date: Sat Aug 17 01:55:46 UTC 2019
New revision: 509132
URL: https://svnweb.freebsd.org/changeset/ports/509132

  sysutils/snmp_exporter: Switch to USES=go:modules, fix build with go1.13

  PR:		239868
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	portmgr (unbreak with the upcoming go1.13)