Bug 239868 - sysutils/snmp_exporter: Switch to USES=go:modules, fix build with go1.13
Summary: sysutils/snmp_exporter: 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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 20:58 UTC by Dmitri Goutnik
Modified: 2019-08-17 02:06 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (fabian.freyer)


Attachments
patch file (1.25 KB, patch)
2019-08-14 20:58 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (fabian.freyer)
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-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 1.0.0.1:53: w
rite udp 127.0.0.1:12549->1.0.0.1:53: write: permission denied
*** Error code 1

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

QA:
  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-08-17 01:55:43 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 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

Log:
  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)

Changes:
  head/sysutils/snmp_exporter/Makefile