From unknown Sat Jun 21 03:21:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50605 <50605@debbugs.gnu.org> To: bug#50605 <50605@debbugs.gnu.org> Subject: Status: go: Commit d36c73b8a8f breaks `go tool` Reply-To: bug#50605 <50605@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:21:12 +0000 retitle 50605 go: Commit d36c73b8a8f breaks `go tool` reassign 50605 guix submitter 50605 Katherine Cox-Buday severity 50605 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 13:30:03 2021 Received: (at submit) by debbugs.gnu.org; 15 Sep 2021 17:30:03 +0000 Received: from localhost ([127.0.0.1]:53160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQYjS-0004nX-JX for submit@debbugs.gnu.org; Wed, 15 Sep 2021 13:30:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:59556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQYjQ-0004my-0r for submit@debbugs.gnu.org; Wed, 15 Sep 2021 13:30:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQYjP-0002WI-QS for bug-guix@gnu.org; Wed, 15 Sep 2021 13:29:59 -0400 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:44692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQYjM-0003Dc-5H for bug-guix@gnu.org; Wed, 15 Sep 2021 13:29:59 -0400 Received: by mail-io1-xd32.google.com with SMTP id g9so4449668ioq.11 for ; Wed, 15 Sep 2021 10:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=r/YgKDczPAyD6G0B3plkWtGZncXIDFqWhKsNSisNJNg=; b=acgZux/S/rkaWTw49MtNr/ZUMEDKzyN3j0VNhuuYhZ1D6/utNfehJJUICussuGMceY HHDR/Sf8Z/+yQcsYWEgjIp1oDDROa7qBVXbnFuNCndKu/6Keeua7DWSj8JRqj/2RwZBR q17cxDfqzKScCX2wjalZ3olmqXqxSwwQmQ3hRxnV7PWF0Ja69X3UmaO0xp+mLlAbPWmR fcuavYtBv6h1qRGEspsoEMnCe/fs/LUFGLODodNTQlfZx3r4+V+vHroLCFtBbTXhT+DF xTkeiR+zpCYxh7eo4/Qdg4RzTh3hbWOpQt6nVZNe+moAyxqrRCviIFq/Radkjbb2fPQl E+4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=r/YgKDczPAyD6G0B3plkWtGZncXIDFqWhKsNSisNJNg=; b=5iKqdiioa4lWO4yJsncIAyIIodBpHHO07vpBRWbOlvqYRPhR5OUhlCPwA5NrY584NK kgdwD0IvfsAgYpOrssvhljWkG3h/kqsRmAX9/2GXQXZjpuJ4Y5hAcp15STZJrRvG7VOA oL8GQnTHuJZf+v1C6/SX+Ygbj4ZUQo1AUyFJeF/ySut0F7CpesXYP4kttSVE1/zslaJp Sd/nbvhR15dSK86iwiF2Vj4bBfXH4z90Sn1XnpOOeoVDso63E3rfIIft3WRA+iNUC+4V OD1lunsOPT9qslqF+/A6GnOvKT+bRmctzFzpUUsyDqyjV18m0HJU1T8TcuOESpnQqmRY A9Kw== X-Gm-Message-State: AOAM533VT95CcICbKJT/RYbur4cfpuAzpot1d5d2CpmFJScSvfe+MpJI Q6axf7Zg6SnBXbupJJe46jU= X-Google-Smtp-Source: ABdhPJxYvczEaqBaDPbd8oWSjGPmPJJ35W1jw3FU1jpwgVst8kZRiZ9GzFcA0yxNOvOVF2gUJfW0gw== X-Received: by 2002:a5d:9da4:: with SMTP id ay36mr982321iob.153.1631726994826; Wed, 15 Sep 2021 10:29:54 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id x21sm250872ioh.55.2021.09.15.10.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 10:29:54 -0700 (PDT) From: Katherine Cox-Buday To: bug-guix@gnu.org Subject: go: Commit d36c73b8a8f breaks `go tool` Date: Wed, 15 Sep 2021 12:29:53 -0500 Message-ID: <87ilz13fxq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::d32; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Sarah Morgensen , 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: -2.3 (--) Aside from not being able to issue ~go tool~ commands, things like ~gopls~[1] are broken as well. By design, ~GOTOOLDIR~ cannot be set from the user's environment[2]. This commit moved the directory, but did not update the ~GOTOOLDIR~ path. #+begin_example $ env |grep GOTOOLDIR $ go env GOTOOLDIR /home/katco/.guix-profile/pkg/tool/linux_amd64 $ export GOTOOLDIR=/tmp $ env |grep GOTOOLDIR GOTOOLDIR=/tmp $ go env GOTOOLDIR /home/katco/.guix-profile/pkg/tool/linux_amd64 $ go env -w GOTOOLDIR=/tmp go env -w: GOTOOLDIR cannot be modified $ [ -e $(go env GOTOOLDIR) ] || echo Nope, not here. Nope, not here. $ [ -e /home/katco/.guix-profile/lib/go/pkg/tool ] && echo Here it is Here it is #+end_example I think these are the lines to blame: #+begin_example d36c73b8a8f (Sarah Morgensen 2021-09-02 763) (for-each d36c73b8a8f (Sarah Morgensen 2021-09-02 764) (lambda (file) d36c73b8a8f (Sarah Morgensen 2021-09-02 765) (copy-recursively file (string-append out "/lib/go/" file))) d36c73b8a8f (Sarah Morgensen 2021-09-02 766) '("lib" "VERSION" "pkg/include" "pkg/tool")) #+end_example [1] - https://pkg.go.dev/golang.org/x/tools/gopls [2] - https://github.com/golang/go/issues/10264#issuecomment-91394026 -- Katherine From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 16 10:36:46 2021 Received: (at 50605-close) by debbugs.gnu.org; 16 Sep 2021 14:36:46 +0000 Received: from localhost ([127.0.0.1]:56174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQsVK-0008WD-7P for submit@debbugs.gnu.org; Thu, 16 Sep 2021 10:36:46 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:35771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQsVI-0008Vz-UG for 50605-close@debbugs.gnu.org; Thu, 16 Sep 2021 10:36:45 -0400 Received: by mail-io1-f54.google.com with SMTP id a15so8154914iot.2 for <50605-close@debbugs.gnu.org>; Thu, 16 Sep 2021 07:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=ESfhIwdOZnTsz1+pH+5EQPo2nZsyrjKuEvyANwacTs0=; b=AL2VrRPwo3jQRVX0aT57iupZQoVoeShX2FnIIc0gW+MBX4OnekofJ4Xb+MgssdF5un r5OOhkprAVJqFlauOO7ghcqhj2hOq+YocVC1vXVFbSRv2zQ20ejGJ0j1Ja6Igweb8wp5 EaW6tVfSOwBbPC9Z+sexNyNTGEbh/a//w8PdfKJQY3wi/aPZHaq9q2CD0tlQRADNIbeH btqubIAzc0tqgcJyV2JI5H77BVr92yw3M7zUBqAFlizHPSWVVD8B7AJoqnvQb9kAf0h2 ZyaNzFtFKaeEN9MUmvsjzYNUzn/LfKH8PufOspwTdXgxP3B8dvuiJnno2dqf3ZU3Vn6h g0CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=ESfhIwdOZnTsz1+pH+5EQPo2nZsyrjKuEvyANwacTs0=; b=osfBceyk8QvCLb/dDcHNvQtUKGg7WWKElT6JrqN213HJMmRvb+U7Fsc0cVCk9XE3qz T/UgCjf8rdj/ShwMj8fNMSdQANHcH5ji24cLt2Bs/emSBARuQ4fz+Z6XQXnrPV8/rTYx xMUp8Sx34i6l72amNWpQbGIn47q1t9b617HOLal43B9L0m6TMIkGIk/QUckhZ17OCIm3 Kc/Qb7DnJCCGfBXSuluZeyYsENizj5Y01gMc2qR50ezl9Hx8r1uXwq9ALlh1NbtqBK/R BHoCpJJPvBtBjBb0vxno4C5M9cI9lS2YcPf4A2rENQVgFRnwFRZudqcw8A4k6a0I3FzA qwxQ== X-Gm-Message-State: AOAM530bAcADlkuckdEWL1O9DY0Cx9hrq+qlloRv+2JiI65pt9hpVlrF v9LZK7RNFGQUAMcZn6YN37k= X-Google-Smtp-Source: ABdhPJzeG4vzpL02xF57r2v+gIbW7bwhNvKZiCVMKwdiEy+OVtMxOm0t1tOr/hIHpRvRMvTw2AaFKA== X-Received: by 2002:a02:6a24:: with SMTP id l36mr4747875jac.24.1631802998170; Thu, 16 Sep 2021 07:36:38 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id i20sm1724478ila.62.2021.09.16.07.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 07:36:37 -0700 (PDT) From: Katherine Cox-Buday To: 50605-close@debbugs.gnu.org Subject: go: Commit d36c73b8a8f breaks `go tool` Date: Thu, 16 Sep 2021 09:36:36 -0500 Message-ID: <87a6kc37uz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50605-close Cc: Sarah Morgensen , 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 (-) I talked with Sarah in IRC (thanks for the quick response, Sarah!), and we discovered it was because I had set =GOROOT= to ="${GUIX_PROFILE}/share/go". Go will set =${GOTOOLS}= relative to this path. Since Guix sets both of these to sensible defaults, I was able to remove the customization and things went back to working as normal. Sorry for the noise, and I hope this helps some future person! -- Katherine From unknown Sat Jun 21 03:21:12 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, 15 Oct 2021 11:24:05 +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