From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Golang programs keeping references [gnu: go: Update default to 1.11.] Date: Sat, 15 Dec 2018 14:52:38 -0500 Message-ID: <20181215195238.GC9685@jasmine.lan> References: <87efbqb3gy.fsf@ambrevar.xyz> <20181112174820.GB12396@jasmine.lan> <20181112175102.GA12783@jasmine.lan> <87a7lev8r8.fsf@ambrevar.xyz> <87ftv079ll.fsf@gnu.org> <87pnu4e9un.fsf@ambrevar.xyz> <87wooc17pw.fsf@gnu.org> <87a7l8dtjk.fsf@ambrevar.xyz> <87h8fey82x.fsf@gnu.org> <877egasldm.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYFzT-0001lk-IM for guix-devel@gnu.org; Sat, 15 Dec 2018 14:52:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYFzQ-0006pk-Ax for guix-devel@gnu.org; Sat, 15 Dec 2018 14:52:47 -0500 Content-Disposition: inline In-Reply-To: <877egasldm.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 15, 2018 at 07:19:49PM +0100, Pierre Neidhardt wrote: >=20 > > So hmm, you=E2=80=99re right! I=E2=80=99m sure I saw go packages somew= here, dunno=E2=80=A6 >=20 > Just looked at the source: after my Go 1.11 update, Syncthing was updated= to use > vendored dependencies, just like go-ipfs. This is why it does not contai= ns any > go ref. From the package declaration: >=20 > ;; Since the update to Go 1.11, Go programs have been keepi= ng > ;; spurious references to all their dependencies: > ;; . > ;; For Syncthing, this increases the size of the 'out' clos= ure > ;; from 87.6 MiB to 253.5 MiB. So, we use the bundled > ;; dependencies until the bug is resolved. > =20 > So yup, "guix size" is not happy with Go... That's right. I've previously audited Syncthing's dependencies and I'm sure they are all free software. Additionally, the Syncthing project is committed to shipping free software. Because the closure size had grown way too big, and we don't have a plan for fixing the issue with Go 1.11, I decided to just use the bundled dependencies. Hopefully we can switch it back at some point. I haven't investigated this particular issue very much, so I don't know how feasible it will be. I do know that it is basically not supported by the Go community. --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlwVW4YACgkQJkb6MLrK fwiSGw//QagXdD9KzCAfPot+AVRlwJ8QeHCuiHWsajTnrE5FHqq6xWnY5/v8auWL TK3WgiTpyax03SBxcp408OK/o8pwloWtix64YsS4t8CYq9E+/hBiBlT8Jg2XPYKH 9jD8DQ0jw3Hpf7G8muyIEFz/zFZ5ukrp7SQNBBeA3BBi6OKpITnpEvFWZ7T70JaS X2RF9CwyW2HhpZHCrkFeEHkSyHcI94T99Kbx6/ZsF9v31iBiwJq7k/htpnZXxCdq jdjVvN+V54968WWDUkaxDlxW3waUwaE9YFYPEhe3Wm3CejrZ5jvPg4VOPPeD/mNe VKA/has44JADvOM/Ou3b8/oSR0Qo3TJ2YIzsv/YllLTFGXyUMeynwARXpOGLQP8X g89MaQRFT0YDukUmZrvLTyZCAd8KNTaeX4pT5nmDRNiIOyRtEsnERDUMSqdRzAmo hLw6qkB9pqpT899ZTuAkyrplks08kUjbsLHaqAsPpdbsWjG75VtbnVvbtStwxcA7 utaFUrVvFm4KgL2WKHSGFyWuDIcpYhdUa+84fdlQ0UIJNGBQiQwcGl6kJfI4vaJ+ cc3m6hgYEYHA/XIfSAqfFQXKEn1E6+UmLeqXr48Axtra/kmfaoaft8gALB7HOAwR j5xKaro98285m+8brPL3FhfRlr2xyEwUUfLW9CGB2Im5vvDSlR0= =hjAq -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ--