From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 21:21:50 2018 Received: (at submit) by debbugs.gnu.org; 5 Dec 2018 02:21:50 +0000 Received: from localhost ([127.0.0.1]:32962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUMow-0005CO-1M for submit@debbugs.gnu.org; Tue, 04 Dec 2018 21:21:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUMor-0005C7-Vq for submit@debbugs.gnu.org; Tue, 04 Dec 2018 21:21:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUMol-0003pe-DA for submit@debbugs.gnu.org; Tue, 04 Dec 2018 21:21:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUMog-0003lk-I5 for submit@debbugs.gnu.org; Tue, 04 Dec 2018 21:21:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUMoc-0004Lv-FK for bug-guix@gnu.org; Tue, 04 Dec 2018 21:21:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUMjN-0007k9-9L for bug-guix@gnu.org; Tue, 04 Dec 2018 21:16:09 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49741) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUMjM-0007jg-SJ for bug-guix@gnu.org; Tue, 04 Dec 2018 21:16:05 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6089821CF1; Tue, 4 Dec 2018 21:16:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 04 Dec 2018 21:16:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=3UQnXl9iWwQf381DTirKcKSwJ3rkVdWwHuTEXw0rS5g=; b=xXiPy +E8WaZYiVfTO307gy3zwMPcLA994Uof6nCcdceMcKoqYDUPF7Sw0DJ0eoYdotd9n HnlijFG/OyU7YEDY8LdY7psRb+LjBqQz1jIoBtmYvUaCReAGlpnns88744tt8Lk/ 1SrDKd5uOk1EIENDXINTKyEUJxvQFu0F26HDOE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=3UQnXl9iWwQf381DTirKcKSwJ3rkV dWwHuTEXw0rS5g=; b=JHy3ljqXOXAMKChs/N859A8+n8P0In7LjxlGk68688Hm9 O31ckLGWhBOBZYcIuBWbtf+1yJB4K77qCmPl0NqbJhHZQb0SRRgEjxdz6z5O7lPh 5SfrB8TxI63mR6NUD4dahjg/UdM5JCzitqGEPhOqIqIudzPvJoLNB5m95YiB5DTz aqGCu8KZYKdDsCdd4nHSM4sqKKboETSq85rHes0K8gtUs/Ic/HTePBmbw/CJbH36 TbI2QmX9I9av66RWnHL/Cxh61/3Qdw8cp8CdDYnbiAR9wvLYy9FLBtbok8JbyMDz ir6AStT8zz3E+3tzFNTKQVI0H/XPHcBnOuf9kVdxg== X-ME-Sender: X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EAC1102E8 for ; Tue, 4 Dec 2018 21:16:03 -0500 (EST) Date: Tue, 4 Dec 2018 21:16:01 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: Golang programs keeping references [gnu: go: Update default to 1.11.] Message-ID: <20181205021601.GA22628@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline User-Agent: Mutt/1.11.0 (2018-11-25) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ----- Forwarded message from Leo Famulari ----- Date: Mon, 12 Nov 2018 12:29:25 -0500 =46rom: Leo Famulari To: guix-devel@gnu.org Cc: Pierre Neidhardt Subject: Golang programs keeping references [gnu: go: Update default to 1.1= 1.] User-Agent: Mutt/1.10.1 (2018-07-13) On Mon, Nov 12, 2018 at 04:32:46AM -0500, Pierre Neidhardt wrote: > commit 9a65a052016572b61e3c4247fcdf9e0478656f71 > Author: Pierre Neidhardt > Date: Sun Nov 11 22:02:18 2018 +0100 >=20 > gnu: go: Update default to 1.11. > =20 > * gnu/packages/golang.scm (go): Update default to 1.11. I noticed that since this change, Go programs (that is, command-line executables) keep references to their inputs: $ guix gc --references $(./pre-inst-env guix build --no-grafts kurly) /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e /gnu/store/4iwksvq53rlzphfp3xvp63ihlw226c0n-go-github-com-aki237-nscjar-0.0= =2E0-0.e2df936 /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3 /gnu/store/ahvdlp6y44qj6kx63rmx1sq8r61x3zc2-go-github-com-alsm-ioprogress-0= =2E0.0-0.063c372 /gnu/store/f8yps0l8p371jgzh6cki0z5n2kgfjiwy-go-github-com-urfave-cli-1.19.1= -0.934abfb /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27 /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib Previously, they did not: $ guix gc --references $(guix build --no-grafts kurly) /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3 /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27 /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib Is this expected? I thought that Go programs were always statically linked. ----- End forwarded message ----- --AqsLC8rIMeq19msA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlwHNOEACgkQJkb6MLrK fwimChAA1l4ncYXHAmRY+9JWzUt3aVHGnJKZB3Lyl076uwM/sjpGgglTp10JFX8H WGi7H/eqxV5DlQkW47T4MZvjDkG6FqFhbV/mGThc2spfEMGIULNvTZY8D7DqyYbo aKte8vh3PCBwQHmkHZgFLBPGkMs3Mn7CLBKGatQ3XnaWeYyfaApG/ZuDRYiTREqX plojmwhk/bkTqGPzDi4Spy8M7HcyB6ZeuvALbA+hhJzLg3IRyHw49/hRQqQyAxmb pGL8digJPz7eV0RNXIrrPOqS09iOzpjV6LDL4qzaGuEtbrkeH+8aue/lo8n/ky9N 4NzVwZQh9Pbf59jC7xMdZh6fPCra9v6X3lWdsJo7wV7rONBTioUmQ+Ccsbcc7rYC 06z5FeJ1gTI/SW7w9VNxoRP0WNYk4a+nO5k8qD6xmk1XFWfnFdm9R4yzFv/c5Hay mzkdyRODrPQmM/swdAF1u7Fw3cxPMMWkRT4K0TgJJem1EJWqrkJEIQHP+xNjmps8 Ikp8GFzXZ7CZbwQ7nVQrmT4aTr7qe1OAENWS1gjILjiVpj3t4L2YPUpRHyDb4g3B sHHEDcjjpPjyY0X/3XlxH8S3i0CL8zONcGiitJHERPLXiKoBMxxA4sMDlnRXiXjf Tx/xgJwZZEbhWV43IILU2019HAhhWq8P5h3wkR1/jdqB0l3CQ4U= =lXa+ -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 15 14:55:09 2018 Received: (at 33620) by debbugs.gnu.org; 15 Dec 2018 19:55:09 +0000 Received: from localhost ([127.0.0.1]:49690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYG1l-0002IX-9R for submit@debbugs.gnu.org; Sat, 15 Dec 2018 14:55:09 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYG1h-0002Hs-D5 for 33620@debbugs.gnu.org; Sat, 15 Dec 2018 14:55:05 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0556922011; Sat, 15 Dec 2018 14:55:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 15 Dec 2018 14:55:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=lBq3pEDDW+Qu/jqzjmQ7DMwPPdI3o/7yEU7+F9mpKGE=; b=14LWb Vz03RuOSUi0Q3veWji3292MX84Rc5VgjEV6Kg2K05pE5Xeg0TsLFH9YhM9zLq13v RaMvQc2KiqfeaszZSymJD1w7yP0kqfQLp5jrJch+ikj8fZYgUAk6yuOZsFQnPF85 h+6RxXncQm1zmVxmo8Ve/GQcZEpxWBrjvkdt/Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=lBq3pEDDW+Qu/jqzjmQ7DMwPPdI3o /7yEU7+F9mpKGE=; b=Bz/xkQmXdmM/aeE9EJ8Qu6D6+PpznOU5rCirxtVPvVlRO anPfphB4zYetQy03eJKe8hsUSj+bOd8VidQHchXrhhw1SQwLqOYznKZ9pa/Gwwwf YsOVabVKlBfMAv40S57rLnKm1IlZ0d8X9umCV6sPuX/zx4jgcraecPcbDCzNqHjo w4xRHThP791RYYAxl48K28ndjNVu6MwJAUHWyC0n40Mw/lHDp8+M3BlNGjYsPlEV xwNZ3l/d9Am/y0BRNqmu8So+TVvx1e3d3cJVrZ9rM1w7veBCI4314TTWwtfzrsWU JN4zRfMSQGM14Ihs3KNj62uV4imE90xUg7rLPX7cw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudehjedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucgfrhhlucfvnfffucdludejmdenucfjughrpeffhffvuffkgggtuggfsehgtd erredtredvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucffohhmrghinheprghmsghrvghvrghrrdighiiipdhgihhthh husgdrtghomhenucfkphepjeeirdduvdegrddvtddvrddufeejnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvnecuvehluhhsthgvrhfuih iivgeptd X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 86C4B10084 for <33620@debbugs.gnu.org>; Sat, 15 Dec 2018 14:54:58 -0500 (EST) Date: Sat, 15 Dec 2018 14:54:57 -0500 From: Leo Famulari To: 33620@debbugs.gnu.org Subject: [mail@ambrevar.xyz: Re: Golang programs keeping references [gnu: go: Update default to 1.11.]] Message-ID: <20181215195457.GD9685@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33620 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ----- Forwarded message from Pierre Neidhardt ----- Date: Sun, 09 Dec 2018 19:46:03 +0100 =46rom: Pierre Neidhardt To: Leo Famulari Cc: guix-devel@gnu.org Subject: Re: Golang programs keeping references [gnu: go: Update default to= 1.11.] User-agent: mu4e 1.0; emacs 26.1 I've investigated the possible solutions to avoid including the paths into = the binaries. I've found this: https://github.com/golang/go/issues/16860 It's still unresolved and only planned for Go 1.13. In the meantime, I've played with the -trimpath option to see if I could get something out of it. I've added this to Go's (build) function: --8<---------------cut here---------------start------------->8--- "-asmflags=3Dall=3D-trimpath=3D/gnu/store" "-gcflags=3Dall=3D-trimpath=3D/gnu/store" --8<---------------cut here---------------end--------------->8--- The resulting binary is indeed trimmed, but that's not enough: it seems that Guix detects the remaining part of the path as a store item and includes it= in the list of requisites. Is this really how Guix works? It does not need t= he full path? Go supports only one call to -trimpath, so we can't even set this to the Go inputs. Regarding Boyer-Moore over the binary, we would have to apply the changes f= or all recursive Go libraries. Now is there a reliable way to detect what's a= Go library and what is not? We don't want to patch non-Go libraries, right? (Let's not forget that there is CGo...) If we can't think of a way to detect a Go library, Boyer-Moore does not see= m to be a solution either. And we might have to wait for Go 1.13... --=20 Pierre Neidhardt https://ambrevar.xyz/ ----- End forwarded message ----- --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlwVXBEACgkQJkb6MLrK fwhBYw/9HRo55iLh+r5+AlGJBUksSqBofjodfx2z2miyfj0IVJZCoP0uREe8+Ki4 ocvS/E57ncMv7jhERJUrNnoxoBaEtYb2Cugpmk7Ncw/9jqJqZTlRPa3Z98mc+QGt cw6vdvJ6BtpvCscK/MtLEATV0VMfLMJwqEjB6wMsvI1gdkJ3xJlkXlhqHzJgFBAt mMJeKse1Mx8I5WC3bvCoOBMlxEQT5aFB2o0tQwDm05ao4jE0y/vmSwYtXKmBTQwH 7mXoyZ1Z/gdL5ENv5YKkmWCYLN3fjEomhijFRzFEMWINoknIvII8kpTEExe9P8NA BDyN3VmCwTv7RvbDojpjXx/MW8kljp4cjk2rYHm8pjXYp+JhXzSnpaMMTrEmd27k Ef/8PNpyJWvK+/fi+3z2eMox4rehsqCVtRslggA9rKAIoke2V/m82quWy5GMoIfi E2E5WPdyDK5G9cGFOCr7u6ETSFhr6fqoe6+9T/cCR3o4seh6uF0slx2SyWwD4lFX utb84IivKD+57nN76Hg7qS8I31HqT0JzJbumWGmZuREk9UiqLaEpuH7I0nJYiJ+t xA6lwbeUzWt2WjHtC8mg4qYl5lPJs4rX4jzbUglWMV0k5QgZ2lq0LxrMOmT9n3yM RuhdilEhnbRKmPQtLiHnNW74Dq+wagj8z/d9edE0Y9LDM6rAaW0= =cXb9 -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 16 16:26:34 2018 Received: (at control) by debbugs.gnu.org; 16 Dec 2018 21:26:34 +0000 Received: from localhost ([127.0.0.1]:50647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYdvl-0000RE-VW for submit@debbugs.gnu.org; Sun, 16 Dec 2018 16:26:34 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYdvk-0000Qx-3r for control@debbugs.gnu.org; Sun, 16 Dec 2018 16:26:32 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 88FE921D2A; Sun, 16 Dec 2018 16:26:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 16 Dec 2018 16:26:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=dc0HfUC97lCqRwPi/PFsyU8u/7qCTSyHFvRGmH+Ulb8=; b=D33eW0d0hfb3 c3iHZW1aF54ZxTQCxzYrYMX+TbxRyysvoU3RKQ7mHkstaKYK78Ap4HnCPxWbmIJh F5kxw603DtjWXij+YlE4Qy3tMW3ww6sCoH1RSq0hi/+FS5E7fBL0Z8xr9QISl1s/ TizsZ53tL80jNjed0mt56wGHd35y8xc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=dc0HfUC97lCqRwPi/PFsyU8u/7qCTSyHFvRGmH+Ul b8=; b=vf/CLg33ihKlMzhJjAMhZSm+tymWE5ANBmMcDfXYJiPdoVpZmCPydwDpw 5jpCjRWtdoaTQ+2Dl0RJvQvv8rpTz/lCJ9ixjvhb3ZBhZhpI87NBmS/rNEzJ3vOK 58Ot4cAif0HfyCqKFn500aViWGjqOxC+AkOfffLtBVOWpSJ6nk/R1IWKW4Tw+O4Z NFPM4lj+xkyL2J7SyDISkVAAlyDdXdAFRp+4x1ab+tiH9GJXllAdlUGD3CQCyGxW K4vsSsg6oWKSrD5XoRAlDjyuqdiHtakku/oK6+TV5lHdo9HtPTdP+/weO0f9jQ4p 8+VzuClMI5bldGHwnL2D7cCCNoJ2A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudehledgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenucfjughrpeffhffvkfggtg gufgesghdtreertdervdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohes fhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejuddruddthedrvddttddrjedvnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvnecuvehl uhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (pool-71-105-200-72.nycmny.fios.verizon.net [71.105.200.72]) by mail.messagingengine.com (Postfix) with ESMTPA id C25BAE462B for ; Sun, 16 Dec 2018 16:26:23 -0500 (EST) Date: Sun, 16 Dec 2018 16:26:23 -0500 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: <20181216212623.GA32482@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 33741 33620 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline merge 33741 33620 --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlwWwv8ACgkQJkb6MLrK fwhztg//fsLVRKJJ1OHzOA9i0aMZJII8pm7Xy1ZWrzmhxUpDq083xjkHEltEIYj+ grdNKEwjfbyVGiH+4fomRMdqZSCXJJrmdVL1bvUEJYNmURD9vRi2g4ofn/gQ0svV EBwpH96FZs2clVgZ9XRbNJcI9RuUmcMOolNIde9n+CmrdKlKD5BK9YoW0EocqXY2 DHOjfUlYtKXMFDXzzFH5tQ54A7n/ytK1zfRrNTccxdb4WjPLcJKB4jzvCf9Y85sp T6/qBi9PcoG7PiLwqmEeqSnlxy8dCoeepU0gIACdCgLbtjOjMGn4SkcdCrMrxuek ZTBrPAM88ymIoMfntOG7JXwqCQySaP/bm56DFOs8ThtIlGZkKFBOaGX2fgNQSoGO 2ZIM+lDd5J1OFHBDnKmOEAchdHGAIVdPgBlOWYgxlfb5CiZCQzpV7V059wnvI2Ah vDI/UXt3hnAZAsd0MICtA4jNYt6avSAdxeM1ZUkcCp2QR+LcP1Fb55tF+GhN4tmf bvyc9YxRjSnlSetGQjfTSJBSMMQKhnUKUvTTsR0ukPSZKaUKJSq4g90OxdyuCfuq 0iAZKjMj8liEmt4aScH6Di94nuHv1/UKgIWVQ5mD8ez4TrbboUbyukTFLI8kc7N1 a5HiAzeuCqhgJwxLuM3bNq2bW01SxCuDT2HzYsStP+yw9jy7Dlo= =KMK0 -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 14 15:44:24 2019 Received: (at 33620-done) by debbugs.gnu.org; 14 Mar 2019 19:44:24 +0000 Received: from localhost ([127.0.0.1]:44070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4WHA-00085D-58 for submit@debbugs.gnu.org; Thu, 14 Mar 2019 15:44:24 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4WH8-000851-Ls for 33620-done@debbugs.gnu.org; Thu, 14 Mar 2019 15:44:23 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 71028210DF; Thu, 14 Mar 2019 15:44:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 14 Mar 2019 15:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=j5QEb1650/uu6riAm+d6mReV t+mcKaOMMED00cNxSWw=; b=yoScFJLbMdgkes4uxmG91ogp9l5WeYqqEM+ysB2R OE9blpI55EfPCeMyIk/vYRdVhbdM63l+9jjDETWHHWEZ4Aq7E3geEYwUDH2BGC5S fLzg4rp3jkQ9NSrOUFzZw7QTYaQYA9STvg5siDFZnzqNa5rFPsB2afdvPIIweWM9 FEU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=j5QEb1 650/uu6riAm+d6mReVt+mcKaOMMED00cNxSWw=; b=iQEyhxCPC5MrvlF+R6PVoq hUWou7ZUSwrHXkoSEiuf0F+guvUwHDBS22aApY88Vdf+mDQcPJwmhnqxg7aUzXW/ K8HzrnNe3NYeDDIL4IavEszov0VHXCFCLdE81nPq79MeoZIHR2sZmW2LE5/Kutzj /IVc+KooHhEVBbAFMgjgMUtw2CiaE8MaL3KWGIXQgNESvPNB7fzzoDgJv/um8vFA XJRdfZh/YoJcj1ascFQvai9SMbmHyMmehIi4mt0my1cRyJPyMwzTy+qK2nyk7O9a gm8f5EG6gJo+D6EHCHoGuP5RtRCtYsQBeBpo4Ci5fw96LssIDbToaTepPkdp7wgA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrheefgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddvfedmnecujfgurhepfffhvf fukfhfgggtuggjfgesghdtreertdervdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhi uceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejiedruddvgedrvddtvd drudefjeenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhn rghmvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id A99C410316 for <33620-done@debbugs.gnu.org>; Thu, 14 Mar 2019 15:44:16 -0400 (EDT) Date: Thu, 14 Mar 2019 15:44:15 -0400 From: Leo Famulari To: 33620-done@debbugs.gnu.org Subject: Re: [mail@ambrevar.xyz: Re: Golang programs keeping references [gnu: go: Update default to 1.11.]] Message-ID: <20190314194415.GB17982@jasmine.lan> References: <20181215195457.GD9685@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: <20181215195457.GD9685@jasmine.lan> User-Agent: Mutt/1.11.3 (2019-02-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33620-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The issue of Go packages keeping references to all their Go-language is inputs is resolved with commit e3900a4d64e4bf6f426809d6bff058e5a2ae9bc8. This commit basically avoids bringing the store paths into the build environment at all by symlinking them into a union directory in the TMPDIR. This is a bit of a hack but it's actually more idiomatic in Go to have all the inputs in a single directory ("workspace" in Go). The previous technique of passing a list of directories in the GOPATH variable is officially supported but is definitely a 2nd-class technique in practice. ----- Forwarded message from Pierre Neidhardt ----- > I've added this to Go's (build) function: >=20 > --8<---------------cut here---------------start------------->8--- > "-asmflags=3Dall=3D-trimpath=3D/gnu/store" > "-gcflags=3Dall=3D-trimpath=3D/gnu/store" > --8<---------------cut here---------------end--------------->8--- >=20 > The resulting binary is indeed trimmed, but that's not enough: it seems t= hat > Guix detects the remaining part of the path as a store item and includes = it in > the list of requisites. Is this really how Guix works? It does not need= the > full path? Not having read the reference scanner code carefully, I expect that it ignores the '/gnu/store/' since this path is actually configurable. > Regarding Boyer-Moore over the binary, we would have to apply the changes= for > all recursive Go libraries. Now is there a reliable way to detect what's= a Go > library and what is not? We don't want to patch non-Go libraries, right? > (Let's not forget that there is CGo...) In (guix build-system go), I'd like to construct of list of inputs that use the go-build-system and pass this list to the biuld side. This would be useful for other things, but could also be used to detect which inputs are Go libraries. > If we can't think of a way to detect a Go library, Boyer-Moore does not s= eem to > be a solution either. And we might have to wait for Go 1.13... Waiting for upstream is always the easiest way :) But it would still be nice to have Boyer-Moore available in (guix build utils) for whenever we want to use it. Or even in Guile itself... --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlyKrw8ACgkQJkb6MLrK fwjqmRAAzOUIUa6m2/jL2hawh24O+ais4tPAj4WfpdilVBgkXMKbKs8nzkXUocEl cahgMCZQuV8EQPTYYHrMPLToZ2UIbIMinu8LSrfBAI2IWmghH7BxlotufQcj6nF8 46UpM2gnf6TSMvuzSCZPqrV4JwSpUaO+hPyRDKg6mahMc01kYoIhrCRc9pJoALnc 9DfxsX9GAGtrDQvCz7Q7zGhahQsmJpX9+MTTCla6cVLGFEAsIZESTmnl7GTH8jdu 2R2Fnshu/auJM1qYBME9jWRRXwtCajW39YWbWnn/7+Lupo43qxvk/vz34fzjPPIP 8z1gxa+sp/GQNOveeM3jdilyGxMGGmUWbEAiNXgB7cYO+cSMyQcdU9lLYAwh7TeQ gLozcujqTufR/cwsuErt48ZUVO67ybWOsYRKm37/SuFUz9PsBtptftDFhPEhFYeP uMp1n7FkJNtmvi1eKYn2/rs/cjUplGHL5heyFFxB5nB5vXJ3bvnsj9GzXS+ARa0m Ctns8MEhC5nZrJTGhoetzbBBjaQLOkINmb58MRmuRg3NQ84I67N6E85urPf8WSUQ YjcvP7ScPnEmJ+6NRpxjQA8llN1Puo1brLMCqt349uoHIFOzncGwLivzZiqrEfpR 0j+u6k9e5Eh0lamuuYLBpJXHErSeesrhWt58yLhAYP4JskHNXWI= =4/wz -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- From unknown Sat Jun 21 12:11:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator