From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwZ4y-00081D-BD for guix-patches@gnu.org; Mon, 25 Sep 2017 15:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwZ4t-00016Q-J5 for guix-patches@gnu.org; Mon, 25 Sep 2017 15:30:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwZ4t-00015S-6b for guix-patches@gnu.org; Mon, 25 Sep 2017 15:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwZ4s-00044z-UR for guix-patches@gnu.org; Mon, 25 Sep 2017 15:30:02 -0400 Subject: [bug#28586] [PATCH 2/2] gnu: Add Syncthing. Resent-Message-ID: Date: Mon, 25 Sep 2017 15:28:52 -0400 From: Leo Famulari Message-ID: <20170925192852.GA12757@jasmine.lan> References: <5f9b36da2183c37cb24713472ea22921c0f48d36.1506285652.git.leo@famulari.name> <20170925182144.GA16527@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20170925182144.GA16527@jasmine.lan> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28586@debbugs.gnu.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 25, 2017 at 02:21:44PM -0400, Leo Famulari wrote: > This suggests to me that the Syncthing build process is not using the > compiled objects of these packages but is instead trying to rebuild > them. >=20 > So, perhaps something is not quite right with the go-build-system =E2=80= =94 I'm > not sure. While debugging, I tried changing the go-build-system's build procedure to this: ------ (define* (build #:key import-path #:allow-other-keys) "Build the package named by IMPORT-PATH." (unless (zero? (system* "go" "install" "-v" import-path)) (zero? (system* "go" "env")))) =20 ------ However, when it encounters a failure, it does not seem to run `go env`: ------ [...] /gnu/store/40m4imp31qkhl2yqvxm4dfaw0j6hgfr2-golang-github-com-golang-group= cache-lru-0.0.0-0.72d04f9/src/github.com/pkg/errors /gnu/store/dn3hbj11bzk6ys3yj5k36k7a9fyg1zp8-golang-github-com-edsrzf-mmap-= go-0.0.0-0.0bce6a6/src/github.com/pkg/errors /gnu/store/h36806f660r6p5xzwsc89zrbfnvi6nwi-golang-github-com-d4l3k-messag= ediff-1.1.0-0.29f32d8/src/github.com/pkg/errors exit status 1 exit status 1 phase `build' failed after 1.9 seconds builder for `/gnu/store/0847mr1isq7mwc90rkja3fr0jc7z3lna-syncthing-0.14.37.= drv' failed with exit code 1 @ build-failed /gnu/store/0847mr1isq7mwc90rkja3fr0jc7z3lna-syncthing-0.14.3= 7.drv - 1 builder for `/gnu/store/0847mr1isq7mwc90rkja3fr0jc7z3lna-syncthin= g-0.14.37.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/0847mr1isq7mwc90rkja3= fr0jc7z3lna-syncthing-0.14.37.drv' failed ------ I'm confused! --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlnJWPAACgkQJkb6MLrK fwgGjxAAiUIkzgsjzXBZilnXFxBy9U5/x2FCNCU0oAhEUx8em/RUn1BBoa038HHn xxtKk1g6M4nYj1ey4xRgnaouQ9mfgRHP76nA08kDAtdrnUKafIiCfIZ7JzRryo2s yf0fgWzgeLIXfMYbHapVMcyyTIgeC23aX0YmPh1kgJqA3ktobzO5/hxTMmSnLBiL HS+h8p9/7LKQcnmCFaMIqHVazQYdOQvpOObMpTRjXtkh7RbAmpZlXLvkicGhSaYq ho3h7foiScM/NeWXXR9Fyd0lpg/UzmT8YyluhDTASzAnSBoBcJpnkTisslAzosz4 pgHbZiVBdOLIWuKixihlvX7dfcvOI4+hXqDM2vTos2PN0dBsWCZOauS2NEToPWxC O7JpY/59evTT4RROokgaOMzGB8mL4g6UAgKRq4SwA0LRoyYTtKSUabcENCg+ko6H 7oIcsdc9kFXnWKj1oJgwpHqLiWOWcb3nXh85ZhrIXefFLK0RXmzPxY91pq8MoqJQ vjW8WsjhgASloO4h8sixycAMO0a/CS4vrKjsNL1AehP0vemrYH96dRfWqedIsLMI s6+soHAG8dJE3RK2B9J7oRJzCIEim6LQ65Jl/OPu1rxZDWfyzYl7AhLWYJXkUr0A 1dj0fvkvyRCWd1rpwItrma56LTpbBdvEN4/Jq9NZb7y8N4pgWHY= =Xfu2 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--