all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: guix-devel@gnu.org
Subject: Re: Golang programs keeping references [gnu: go: Update default to 1.11.]
Date: Sat, 15 Dec 2018 14:52:38 -0500	[thread overview]
Message-ID: <20181215195238.GC9685@jasmine.lan> (raw)
In-Reply-To: <877egasldm.fsf@ambrevar.xyz>

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

On Sat, Dec 15, 2018 at 07:19:49PM +0100, Pierre Neidhardt wrote:
> 
> > So hmm, you’re right!  I’m sure I saw go packages somewhere, dunno…
> 
> 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 contains any
> go ref.  From the package declaration:
> 
>               ;; Since the update to Go 1.11, Go programs have been keeping
>               ;; spurious references to all their dependencies:
>               ;; <https://bugs.gnu.org/33620>.
>               ;; For Syncthing, this increases the size of the 'out' closure
>               ;; from 87.6 MiB to 253.5 MiB.  So, we use the bundled
>               ;; dependencies until the bug is resolved.
>               
> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-12-15 19:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20181112093245.26230.94815@vcs0.savannah.gnu.org>
     [not found] ` <20181112093246.AC1D620498@vcs0.savannah.gnu.org>
2018-11-12 17:29   ` Golang programs keeping references [gnu: go: Update default to 1.11.] Leo Famulari
2018-11-12 17:38     ` Pierre Neidhardt
2018-11-12 17:45       ` Leo Famulari
2018-11-12 17:48       ` Leo Famulari
2018-11-12 17:51         ` Leo Famulari
2018-12-09 18:46           ` Pierre Neidhardt
2018-12-14  9:15             ` Ludovic Courtès
2018-12-14  9:28               ` Pierre Neidhardt
2018-12-14 14:52                 ` Ludovic Courtès
2018-12-14 15:20                   ` Pierre Neidhardt
2018-12-15 18:10                     ` Ludovic Courtès
2018-12-15 18:19                       ` Pierre Neidhardt
2018-12-15 19:52                         ` Leo Famulari [this message]
2018-12-15 19:57                           ` Pierre Neidhardt
2018-12-15 19:55                         ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181215195238.GC9685@jasmine.lan \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.