From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kOJFMxCuZ2fzJQAAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 06:13:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kOJFMxCuZ2fzJQAAe85BDQ (envelope-from ) for ; Sun, 22 Dec 2024 07:13:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=VdAnWMUI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734848016; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=L5Dxjp2iIGP1ojuw15AmSefJjwG+FcOCyx+ucwtQWjI=; b=YABOF7mGTYUiJsZbk8+sWE8GQGcJYpsh9ZcmLWESCUG9k3be6h7hGkQjiAjRyFsWpHztXa 8E7tQuBIXC4gN2nht1GpDq016zyJeaXqPpM+/59Gc1jsW2E/QpdERHsIVpXtjqviVYBZF2 kg3/Zz688MwGdn5UQEnmhMgWntA0xcjL2qAf9urgIwwEunetPXXYlzjvayDYGWQNrlRlFM 3RP1mQ0dm0ORI/x1cIpbA9gF/gPx8eUPtYRHzBOqacV1nT2UhQI0LVr/RT/vo4nN0+N8P5 j1pzg3N0xctvfY7LZf4y3ssB/IYkyiU3eRvICQiSDrkcN78AvuHqPm3NT59cIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=VdAnWMUI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734848016; a=rsa-sha256; cv=none; b=d29ij7UXBwdVzWq0Chn+H7uM226lashbbAqVELsxb2vuSC3nBYbnIATev5UgUXwG0nyZSl odQH1l0bspKbD+KwlF2pCAJK1pgzkPn1Mc6Ke65794FlaJSClrbiDELmJVDT911/7Bsdc/ KuUj4ZimUy/6KhtmWCC9jEIYkc6ww9sq+vvVc9dIXiOnSqYEaQCqFG8g0gZHSHeHBVVxdT cwDFpXXrWvJ7LvdKq4pjLrC1/988Eef868qXCmT21RZUJ6nzYVgx2hDVGjkm53zQ5Lk5fR orxfWDb+/U8rR7JqDt1BSZtXxqkZxG7XIfE8iC+0vJnIoYkxbPkptQVQC0yqRA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9C97645020 for ; Sun, 22 Dec 2024 07:13:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPFD7-0005NJ-5l; Sun, 22 Dec 2024 01:13:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPFD1-0005MN-Gx for help-guix@gnu.org; Sun, 22 Dec 2024 01:13:00 -0500 Received: from [81.190.248.246] (helo=marekpasnikowski.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPFCz-0007Yy-5O for help-guix@gnu.org; Sun, 22 Dec 2024 01:12:58 -0500 Received: from localhost (localhost.local [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 77780b77 for ; Sun, 22 Dec 2024 06:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=dkim; bh=JI80sC30NZa4JjEBg+cmt4+QSjJ7kw3u6rmsZMFrE1E=; b=VdAnWMUI5pM8 zldkVfV6zHTJ7pPmL5863tHkoet1MTWwrNV90VQHglwALI5zcO4AbPr6jzZm0Gv4 NWxqfDG9u4yMvkUYPzTg3F50ifcYTnJgZ/DBdXvbjyDqp8Fn+ybsRKZ64imo0ZFc RG4wqHsp4P4ASxsnjevILaOCwdSkNQvjARgLgPE92WhEQ+2Lt3HE6wXORP5hCPZE 0x4S5RKDlnkl0mKksy7ZpEnjn45saPGbfrjH1fXvXX8+pcXvoH/fLOvaM7gfZ9By kzKZtK5OgmA+HGzIo3xFcHp6ZwElNwPW7XRF5cVz4SGkisQgNLbys5ffuZezpd0h 9aTBmd4yhg== Received: by localhost (OpenSMTPD) with ESMTPSA id 3416c7ac (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 22 Dec 2024 06:12:47 +0000 (UTC) From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org Subject: Re: Go build system - build from local directory fails Date: Sun, 22 Dec 2024 07:12:47 +0100 Message-ID: <6136144.lOV4Wx5bFT@ayase> In-Reply-To: <87y10dntl3.fsf@coquand.email> References: <87y10dntl3.fsf@coquand.email> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 81.190.248.246 (failed) Received-SPF: pass client-ip=81.190.248.246; envelope-from=marek@marekpasnikowski.pl; helo=marekpasnikowski.pl X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_DBL_SPAM=2.5 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.38 X-Spam-Score: 0.38 X-Migadu-Queue-Id: 9C97645020 X-TUID: +D3npAeVxK2K > An initial suspicion is that I haven't set =E2=80=98#:import-path=E2=80= =99 as expected > in the documentation. However, all examples I can find of this are > builds from a github repository rather than a local file, so I am not > sure what it needs to be set to. >=20 > Any clue what I could be missing? This is exactly it. You always must supply the #:import-path in Go build=20 system. This path is vital to the operation of the build system, as it adapts Go bu= ild=20 environment to Guix environment. This path matches the name of the current= ly=20 built module. In practice, it is the string that follows the 'module' keyword in go.mod=20 files. I do not know the theory behind this coupling.