From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 16 10:05:42 2017 Received: (at submit) by debbugs.gnu.org; 16 Feb 2017 15:05:42 +0000 Received: from localhost ([127.0.0.1]:42345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceNcr-0001mi-P2 for submit@debbugs.gnu.org; Thu, 16 Feb 2017 10:05:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceNcq-0001mW-Ql for submit@debbugs.gnu.org; Thu, 16 Feb 2017 10:05:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceNck-0005bp-FF for submit@debbugs.gnu.org; Thu, 16 Feb 2017 10:05:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ceNck-0005bh-6v for submit@debbugs.gnu.org; Thu, 16 Feb 2017 10:05:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceNci-0003vp-CZ for bug-guix@gnu.org; Thu, 16 Feb 2017 10:05:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceNcg-0005ai-1e for bug-guix@gnu.org; Thu, 16 Feb 2017 10:05:32 -0500 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:36284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceNcf-0005aR-PD for bug-guix@gnu.org; Thu, 16 Feb 2017 10:05:29 -0500 Received: by mail-qk0-x22c.google.com with SMTP id 11so17640041qkl.3 for ; Thu, 16 Feb 2017 07:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PDdKUPpf6irNUPhMFy6mNQw+1Texo15i5oBf7RowFBE=; b=gKOHA8dEx/UwmXlgMgVTSlUCxzcwWEb3BYRp3dzH0TrKzgbEi8RmRdaYmOfQH460DZ 19Q4z21adZvOpD9F59/GmtdECQ+f8zK2WGxyX+M21BoCsOn1VzFqsrYSgEUSdmPuGD1o NdpbiIh7PZuzcRWf82HS11SVQ/Qsvq4OHKXLimPrA/5lB+8trqNM59e5/0S4RecpjsQG +e0Mayxuy/hNFAWNq3De3y6nNMooTIfocRNpYGP7V5JecJRMYVYeJ7yJ5ewn3GXlenPK ldvbhXcVTpvwmDcxIVTQKby6kdTnpDTVNhdZPmBy36ebIUcE4jChJMd12KJHSl77hlwS 3SUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PDdKUPpf6irNUPhMFy6mNQw+1Texo15i5oBf7RowFBE=; b=EsVYbXUy3winFAPo3E5LC33guBEDL26RGr8B7/OEfup46+PyDiTHWkVlU47fEkotan 4rczJ2JpO0yvcQe0BhCmGRVDr7V844AojExuHC49ztFamZXpynAkF5MP4xFwqM11EbNQ Gthh+WxtiYb4/DDuY5CTVTc9iV4KK6qIGuHMn0ZUysBGWhjowTv3hs7HjUNev5qjy5oF mKiS5mcMGwtv32ldK2sL98bA/t8WpHtbb1NmVcHHFkVRKZ97HOdga4XLpVedFfDGRHxL IpQ82Fo94O89PcQZ9pprZ+QVfokQMQ2hXF6S0GK5srkGFIz80s/SSbCrR7hCg0pSioWy si+g== X-Gm-Message-State: AMke39k2R4rct/Pk/q1nhz9sytl0JWyFLzPgj+N0M5//NUOSlrZHVAwrPtQhoF0S7/0omGMdIlahgAlZY+5QzQ== X-Received: by 10.55.164.70 with SMTP id n67mr1098007qke.95.1487257527445; Thu, 16 Feb 2017 07:05:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.148.145 with HTTP; Thu, 16 Feb 2017 07:05:27 -0800 (PST) From: Hank Donnay Date: Thu, 16 Feb 2017 10:05:27 -0500 Message-ID: Subject: go incremental builds broken To: bug-guix@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.0 (----) 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: -4.0 (----) Hello, It seems the guix's go package is broken when the go tool is used for incremental builds. Any attempt to use 'install' or 'build -i' results in an attempt to write to the store. A one-liner: guix environment --ad-hoc go -- bash -c 'export t=$(mktemp -d); cd $t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go install cmd/go; cd && rm -rf $t' Another command reports that (seemingly) the entire stdlib is marked as stale: guix environment --ad-hoc go -- bash -c 'export t=$(mktemp -d); cd $t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go list -f '\''{{join .Deps "\n"}}'\'' cmd/go | xargs -n1 go list -f '\''{{if .Stale}}{{.ImportPath}}: {{.StaleReason}}{{end}}'\''; cd && rm -rf $t' The function for determining staleness is here (after the giant comment explaining the reasoning): https://golang.org/src/cmd/go/pkg.go#L1111 I don't see anything wrong with the package definition, but could be missing something. My only hunch at this point is that something might be modifying src/runtime/internal/sys/zversion.go, as that entire file is included in the build ID computation. Thanks,