From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OE9VCrWrYmeJRQAAe85BDQ:P1 (envelope-from ) for ; Wed, 18 Dec 2024 11:02:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OE9VCrWrYmeJRQAAe85BDQ (envelope-from ) for ; Wed, 18 Dec 2024 12:02:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=coquand.email header.s=fm1 header.b=jU83Lp11; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="Y3e/Rhln"; 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=none) header.from=coquand.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734519733; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hBZzVMtTqtxFWFZzqv9GdGPoNqsRQdDhy2err9KaYaM=; b=cdFcRHrtdspAo+nFHKFzW+XTrErcoZ17dX1eW4Ww7PH1lpaRCOhG7z1yJlh3hNuOHa34u8 FIZntegFpRaypHGgGXZkpsH2QqbQy7Scau9iNmNymWtf2CzQkUp6l9OL7OpZpfVDs3V6S0 CINGI2YYn1deiqGAEEo/4sn/PF81HWV86183HPN1uNL/jnwTFWNr4rO6qDTuubRa+9CYkf v/IIZzuYRa2mwS8CLjPicOp3Gm0GPC+K9HLr9Xd33yS7hYj+rMJPl2cMxt+RCu0ymB2NFT PvbbkQYzoIbWh5mZZaB7vcLiF/C8iwLY1AfSTXjPrOhe5N+rIkZOA1sYptkOrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=coquand.email header.s=fm1 header.b=jU83Lp11; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="Y3e/Rhln"; 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=none) header.from=coquand.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734519733; a=rsa-sha256; cv=none; b=e7ke0J01u3QO2emxr5MorC50FvvX+W5+Hl8xqAnP7YBLMdIz2WgLkrubxJVpNRnvKcsStT 0TzhiMjNHk+k61zMeuWbWMvodVjUpjd11m5iTnA9M2TX1s69S9pMzsRcVTLJPUhZN+sFET Z8E90MdhbWmSw+9+TJigG9rUn6533sHMrNE16HORvNB8pqBJH2eyI288OzTYvXYVMzSusu 9FAEcTGG1ierfSp1WsDFEiJg5ZXPayesXRJnYB1BqswR6xY3kUGw18sozmjNrTeUkJzXPe oMiEPl6qIFmoU8E26XcEnC1gMYrctEE8Ne+VaaFHrMWhD8HbhrA2Z6hU42vsvQ== 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 A547F1B642 for ; Wed, 18 Dec 2024 12:02:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNro1-0003bH-6x; Wed, 18 Dec 2024 06:01:29 -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 1tNrnz-0003aw-2H for help-guix@gnu.org; Wed, 18 Dec 2024 06:01:27 -0500 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNrnt-0000od-Sv for help-guix@gnu.org; Wed, 18 Dec 2024 06:01:25 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id A151725401CC for ; Wed, 18 Dec 2024 06:01:16 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Wed, 18 Dec 2024 06:01:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coquand.email; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1734519676; x=1734606076; bh=hB ZzVMtTqtxFWFZzqv9GdGPoNqsRQdDhy2err9KaYaM=; b=jU83Lp11Sgzdcm+urt p9zL+E/wei3nP/QZGbcGt/oSYypkmMX2U3XOwwzlCFWI5dIxdHgmDz+/inwQ32CI RPX+KKfstnOkxsviMWF7hbYLfY9G4Hehq2zrHipMaQtCWNo0ucNS5OWy8DcHvb/h y8E7VswUUVlwI/kKywLx3PU9oyVdNCn2x9NkZlZUoq4ugxYOFw5ILZd08VcoZxi7 0ddA5K4T+I3jnfjGn4unDfn58gOHqjSs2k33yF9ea3yAlAwtM+FatQtzpiKJ3EPV EUjsIYACMWaxW8hexB44H0WQq+WuKj/+t6F1JAlXDL5Q05dAhac15DDdgzFlkDl9 PY5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734519676; x=1734606076; bh=hBZzVMtTqtxFWFZzqv9GdGPoNqsRQdDhy2e rr9KaYaM=; b=Y3e/Rhlnv4FbGM9MYU8jnpj+TUagAp8hHYczTHI4kMUxXTWNA9e WGvMEKfL2bO+k19yzd/DPbw1UML0DIgS6VnUojXoV99LW0x0HA7LAPJzXToOCe/h 5fH+qycx7s8LCg/0s8szD65dcIDsKYbACZZWnpJWvMZa9rSke5n6ifcfjzgK7rKw 1D58pE5jUjqoq+QToFWDkxUwt42YtUcEtWU3sFSNzP57LQ1DF+uuQxRLL9fnLP0w V1xKEKKVEUvxhIhBtjTshUgWdTm1EUlHU1fjIJ6khr14cfLGcNzYl5NF/bJHC1jQ ZxXsMl8ctx3REWCSqu1gyIJkOqlQy1VuNhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleekgddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkf ggtgfgsehtqhertddttdejnecuhfhrohhmpeforghrtgcuoehmrghrtgestghoqhhurghn ugdrvghmrghilheqnecuggftrfgrthhtvghrnhepledtieetudeifeefjefhfedtvdefie egffelhfeiveejheehvdfghedujeduffeunecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepmhgrrhgtsegtohhquhgrnhgurdgvmhgrihhlpdhnsg gprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehhvghlphdq ghhuihigsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i587e488e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 18 Dec 2024 06:01:15 -0500 (EST) From: Marc To: help-guix@gnu.org Subject: Go build system - build from local directory fails Date: Wed, 18 Dec 2024 12:01:12 +0100 Message-ID: <87y10dntl3.fsf@coquand.email> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=202.12.124.152; envelope-from=marc@coquand.email; helo=fhigh-b1-smtp.messagingengine.com X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1.116, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: mx12.migadu.com X-Migadu-Spam-Score: -10.04 X-Spam-Score: -10.04 X-Migadu-Queue-Id: A547F1B642 X-TUID: L41A6XYGpCUu Hey, I'm trying to build a go program that is located locally, and figured I'd use to go-build-system to do so. I've created the following (use-modules (guix gexp) (guix packages) (gnu packages gcc) (gnu packages golang)=20=20=20=20 (guix build-system go) (guix git-download) (guix utils) (guix download) (guix build-system go) (gnu packages bash)) (define (vcs-file? file stat) "Return #t if file is a version-controlled file." (case (stat:type stat) ((directory) (member (basename file) '(".bzr" ".git" ".hg" ".svn" "CVS"))) ((regular) ;; Git sub-modules have a '.git' file that is a regular text file. (string=3D? (basename file) ".git")) (else #f))) (define %script-name "my-project") (package (name %script-name) (version "0.1") (source (local-file "." %script-name #:recursive? #t #:select? vcs-file?)) (build-system go-build-system) (home-page #f) (synopsis "") (description "") (license #f)) Which I attempted to invoke with ~guix build -f myfile.scm~ but I get errors. The program builds without issue otherwise, but here I get the erro= r: command "go" "install" "-v" "-x" "-ldflags=3D-s -w" "-trimpath" "" failed w= ith status 1 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. Any clue what I could be missing? Cheers,=20 --=20 Marc