Bug 238929 - sysutils/restic: Switch to USES=go:modules, fix build with go1.13beta1
Summary: sysutils/restic: Switch to USES=go:modules, fix build with go1.13beta1
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-01 17:36 UTC by Dmitri Goutnik
Modified: 2019-07-17 19:20 UTC (History)
1 user (show)

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


Attachments
patch file (475 bytes, patch)
2019-07-01 17:36 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (gregf)
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-07-01 17:36:53 UTC
Created attachment 205472 [details]
patch file

===>  Building for restic-0.9.5
...
go: bazil.org/fuse@v0.0.0-20180421153158-65cc252bf669: Get https://proxy.golang.org/bazil.org/fuse/@v/v0.0.0-20180421153158-65cc252bf669.mod: dial tcp: lookup proxy.golang.org on 1.0.0.1:53: write udp 127.0.0.1:47214->1.0.0.1:53
: write: permission denied
*** Error code 1

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

QA:
  poudriere testport: OK (120a-go1.12.6, 120a-go1.13beta1)
Comment 1 Greg Fitzgerald 2019-07-01 19:30:29 UTC
I don't have access to my FreeBSD desktop this week, but this all looks good to me. Thank you!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-07-17 19:19:23 UTC
A commit references this bug:

Author: swills
Date: Wed Jul 17 19:19:16 UTC 2019
New revision: 506820
URL: https://svnweb.freebsd.org/changeset/ports/506820

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

  PR:		238929
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	gregf@hugops.pw (maintainer)

Changes:
  head/sysutils/restic/Makefile
Comment 3 Steve Wills freebsd_committer freebsd_triage 2019-07-17 19:20:22 UTC
Committed, thanks!