Bug 240170 - www/nginx-prometheus-exporter: Switch to USES=go:modules, fix build with go1.13
Summary: www/nginx-prometheus-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-28 13:51 UTC by Dmitri Goutnik
Modified: 2019-08-29 03:46 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (arcade)


Attachments
patch file (733 bytes, patch)
2019-08-28 13:51 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (arcade)
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-28 13:51:17 UTC
Created attachment 206977 [details]
patch file

===>  Building for nginx-prometheus-exporter-0.4.1
go: github.com/nginxinc/nginx-plus-go-client@v0.3.1: Get https://proxy.golang.org/github.com/nginxinc/nginx-plus-go-client/@v/v0.3.1.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:16707->209.222.18.218:53: write: permission denied
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with upcoming go1.13
- Remove redundant GO_PKGNAME/GO_TARGET
- Remove do-install target (already provided by go.mk)

QA:
  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-08-29 03:45:44 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-29 03:46:36 UTC
A commit references this bug:

Author: yuri
Date: Thu Aug 29 03:45:34 UTC 2019
New revision: 510136
URL: https://svnweb.freebsd.org/changeset/ports/510136

Log:
  www/nginx-prometheus-exporter: Switch to USES=go:modules, fix build with go1.13

  PR:		240170
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	portmgr (fix build)

Changes:
  head/www/nginx-prometheus-exporter/Makefile