From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 11 15:02:10 2021 Received: (at 25752) by debbugs.gnu.org; 11 Jan 2021 20:02:10 +0000 Received: from localhost ([127.0.0.1]:58332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz3OD-0003zC-QG for submit@debbugs.gnu.org; Mon, 11 Jan 2021 15:02:10 -0500 Received: from flashner.co.il ([178.62.234.194]:53732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz3OB-0003yf-85 for 25752@debbugs.gnu.org; Mon, 11 Jan 2021 15:02:08 -0500 Received: from localhost (unknown [5.102.238.249]) by flashner.co.il (Postfix) with ESMTPSA id D1399401FA; Mon, 11 Jan 2021 20:02:00 +0000 (UTC) Date: Mon, 11 Jan 2021 22:01:18 +0200 From: Efraim Flashner To: zimoun Subject: Re: bug#25752: Acknowledgement (go incremental builds broken) Message-ID: References: <20170225155814.GB3227@jasmine> <86mtyavq9d.fsf@gmail.com> <86im83tzd3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="I5Swi6x/WluWq40r" Content-Disposition: inline In-Reply-To: <86im83tzd3.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 25752 Cc: 25752@debbugs.gnu.org, Hank Donnay , Leo Famulari 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.0 (-) --I5Swi6x/WluWq40r Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 11, 2021 at 01:46:48PM +0100, zimoun wrote: > Hi Leo, >=20 > On Fri, 18 Dec 2020 at 16:31, Leo Famulari wrote: >=20 > > I don't think this bug has been fixed, although I have not checked. > > Currently, Go incremental builds and library re-use is not functional in > > Guix, unless I missed a new development. >=20 > Thanks. Could you provide a Go example for reproducing? Well, a > reproducer to track what could be wrong on the grafting mechanism for > Go. If I understand correctly. >=20 I actually spent a bit of time on this today/yesterday. I modified the go-build-system to copy the pkg and src folders from build to build (instead of just the src folders) and the pkg folders were ignored. Upstream documentation isn't clear about when the pkg folder is used and when it is ignored. One thing I did try was to set the pkgdir to (string-append (getenv "GOROOT") "/pkg"), but then it didn't find the pkg folder from go:out. I didn't try copying go:out/pkg to GOROOT/pkg to see if that would fix it; I assumed that even if it did work we wouldn't want to propagate all of go with the go packages. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --I5Swi6x/WluWq40r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/8rosACgkQQarn3Mo9 g1EbwxAAvkZuax5OBUTzbjtqMxsU7f8NDTekN5HccR6A4/W2OcGQst5wW2K22jEK jtDXThHCzPPmap44RXs4il5J+23Ypy0qf8YlaFi5ieVMVSS9jgM4HiWcBuBZBTM2 N+4YL7Bu9jNpucYINIJtLY+4+cDIdsEMce0Re7MkD4+QAdlTchh4PxEmyf9iiCCa TKkBsWehlw/j22dTCjpPUrQp109fyE+No1qFUQ+ie6dkq96BsNJMWKF1QcSIdkxm hQ//eESzcJUWeJfr0uaaesEl1YYHumot0nor5RI1P5e+VCC2SkRpEhasubrSlpxq QnPvjjQactm6krM0QWqzCK7Gkj+U9ThuXILAFNSyvzIH4QueMWXtYLM/PdmzFItY zSZ/C8/vMqh0XvqLDDyjGejcA3o95MaASo+hGrK4NlXdiyeLOOqH3Fj9dG0ipV3P iE72yS3lxrWK5x6zre2FNv3Gv04tLsKRtdQ7bzcumQ1eiDOq/ReHQf1vT41XKA2q DNVR35Q85wqP8OHHFoCSJ4BIg1O5gn69iHresmo7+TK03ul2IIfHpxTQEpxIZVhM HqRcsKEPjNgx++7vUyAoSOOMJxJTL+Feto3tNMrwmukfiE58/rEn6sLsi4WFa2YW Qpaj5Jql8G7lF7RiFJO58HOS1G3TQKuG+x/gWGvLBF6uBoDp9n4= =Clx4 -----END PGP SIGNATURE----- --I5Swi6x/WluWq40r--