Bug 239865 - net-mgmt/blackbox_exporter: Switch to USES=go:modules, fix build with go1.13
Summary: net-mgmt/blackbox_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: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 19:41 UTC by Dmitri Goutnik
Modified: 2019-08-14 20:04 UTC (History)
1 user (show)

See Also:
bsam: maintainer-feedback+


Attachments
patch file (905 bytes, patch)
2019-08-14 19:41 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (bsam)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer 2019-08-14 19:41:00 UTC
Created attachment 206554 [details]
patch file

===>  Building for blackbox_exporter-0.13.0
go: github.com/alecthomas/assert@v0.0.0-20170929043011-405dbfeb8e38: Get https://proxy.golang.org/github.com/ale
cthomas/assert/@v/v0.0.0-20170929043011-405dbfeb8e38.mod: dial tcp: lookup proxy.golang.org on 1.0.0.1:53: write
 udp 127.0.0.1:14125->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 GO_TARGET, not needed after r507340
- Remove custom do-install target

QA:
  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 commit-hook freebsd_committer 2019-08-14 20:02:55 UTC
A commit references this bug:

Author: bsam
Date: Wed Aug 14 20:02:08 UTC 2019
New revision: 508966
URL: https://svnweb.freebsd.org/changeset/ports/508966

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

  PR:		239865
  Submitted by: Dmitri Goutnik <dg@syrec.org>

Changes:
  head/net-mgmt/blackbox_exporter/Makefile
Comment 2 Boris Samorodov freebsd_committer 2019-08-14 20:04:31 UTC
Committed, thanks!