Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2017 21:30:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218469] devel/go-tools: avoid installing go libs or depending on packaged go libs
Message-ID:  <bug-218469-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218469

            Bug ID: 218469
           Summary: devel/go-tools: avoid installing go libs or depending
                    on packaged go libs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cs@FreeBSD.org
          Reporter: swills@FreeBSD.org
          Assignee: cs@FreeBSD.org
             Flags: maintainer-feedback?(cs@FreeBSD.org)

Created attachment 181577
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181577&action=
=3Dedit
patch for go-tools

Almost every Go app wants a different version of any given lib. Forcing a Go
app to use a different version than what upstream might have chosen is error
prone at best. So, packaging Go libs doesn't make sense and I think we shou=
ld
remove the Go libs from ports.

To do that, we have to eliminate dependencies on go libs and avoid installi=
ng
libs for packages which include stand alone binaries. This patch does that =
for
devel/go-tools.

While here, it also strips the binaries. (I used to think this could cause
issues, then I read:

https://honnef.co/posts/2016/10/go-and-strip/

which convinced me otherwise.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218469-13>