From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qAm/L7NLS2eOYQAA62LTzQ:P1 (envelope-from ) for ; Sat, 30 Nov 2024 17:30:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qAm/L7NLS2eOYQAA62LTzQ (envelope-from ) for ; Sat, 30 Nov 2024 18:30:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=wX94VpS3; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="VYHG/nFU"; dmarc=none; 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" 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 0E4301B005 for ; Sat, 30 Nov 2024 18:30:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHRI3-0004DF-Ca; Sat, 30 Nov 2024 12:29:55 -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 1tHRHz-0004Cz-SK for help-guix@gnu.org; Sat, 30 Nov 2024 12:29:51 -0500 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHRHx-0007w2-M9 for help-guix@gnu.org; Sat, 30 Nov 2024 12:29:51 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 67218114012F for ; Sat, 30 Nov 2024 12:29:33 -0500 (EST) Received: from phl-imap-08 ([10.202.2.84]) by phl-compute-04.internal (MEProxy); Sat, 30 Nov 2024 12:29:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1732987773; x=1733074173; bh=+ATX7QVviGyPIJeOQvjcqh1MlrJ/4DIsGu2wQ5mQJ8o=; b= wX94VpS3jVRFBKtlQD4N/sOGuBqvjYgH/zuSZpmTjk9SXRk8CHjrYs47dvnd1g3h EUXIjXADrrUOXN1BHsoOdlzehZUlAUogllVw9Er6qUEXHlg/6YacpYooY4m6e/gb BwdrUd+fZeSwQsoPTACOipS2XKsJlNglOKD8CLhpNAfwNMXhitdnqIPi9ovnPN5e 3UNFlHWK86bOY4ycP5aECQST9J+ZY3oThmhiRb5nL5rioD51jiy/54T0WHgXWgGZ RQah2+XD4NgeZthHB+ZSjBPfcx7/E7jVKxEeX1tgC1acB7Ek8HHcOAo8xG/ywsRJ u0GrK0vN4eMDqknvRbGn0A== 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:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1732987773; x=1733074173; bh=+ ATX7QVviGyPIJeOQvjcqh1MlrJ/4DIsGu2wQ5mQJ8o=; b=VYHG/nFUYD2MSgkip qc/eBGXnZukowr81q0g5SAlaQCtILAHkKeMz1dtGiNJXe8a2OSFSElzfk5B3bk/9 pjiN5TeNW378x1kBlBcb1sJElMGqRlAc8cupXiXqcvIbodErZrUuTCcx2XTzQw4f 5OQAPKxfL0catrhSBowNAeGw8WYSYyEz13H0xJ5JOgpx5IRwpSaTesLBU4keMTaw 5RGVVNSjburRe6KBCoy+dbEN3MF4uNDvrnCNyMCSiHnsyyEZCCApHV63wfZhQce1 kEEU1IgQEc/5r3Sl0zVowpYG5sHfKeOTzFHSN9nGxplz4mWmC1Sm3WfdsPDq4nYU ZvEIg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrheehgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggfffhvf fkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdfkrghnucfguhhrvgdfuceoihgr nhesrhgvthhrohhsphgvtgdrthhvqeenucggtffrrghtthgvrhhnpeegvdeuhfetgeejvd ekleegheegtedugeeileegveekkeegudeitdelffeuteeitdenucffohhmrghinhepghhn uhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehirghnsehrvghtrhhoshhpvggtrdhtvhdpnhgspghrtghpthhtohepuddpmhhouggv pehsmhhtphhouhhtpdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id EF9E318A006B; Sat, 30 Nov 2024 12:29:32 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Sat, 30 Nov 2024 17:29:12 +0000 From: "Ian Eure" To: help-guix@gnu.org Message-Id: <02deb824-d886-4f7c-a12d-7ad80d208e8d@app.fastmail.com> In-Reply-To: <2208743.irdbgypaU6@aisaka> References: <2208743.irdbgypaU6@aisaka> Subject: Re: Packaging Proton Bridge: cryptic compilation failure Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.159; envelope-from=ian@retrospec.tv; helo=fhigh-a8-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.93 X-Spam-Score: -8.93 X-Migadu-Queue-Id: 0E4301B005 X-Migadu-Scanner: mx10.migadu.com X-TUID: y9tUTC4+s+mB Hi Marek, On Sat, Nov 30, 2024, at 4:26 PM, Marek Pa=C5=9Bnikowski wrote: > Hello Guix > > I am towards the end of a first pass of packaging the Proton Bridge pr= ogram to=20 > access my Proton Mail with KMail. > > I have worked through and learned about many peculiarities of Golang b= uild=20 > system. As long as I had an error message, I was able to at least wor= k around=20 > problems. However, the latest build failure is completely cryptic to = me, as=20 > its log contains zero error messages. It works fine until I get a "bu= ild=20 > failed" summary: > > [snip] > > The entire package code is on my personal channel, in "proton-bridge" = branch. =20 > There is one external dependency on the Efraim=E2=80=99s DFSG channel. > I'm not able to replicate your failure, because your channel has some ot= her dependencies I'm missing: $ guix build -v 3 -KL /tmp/sovereign/ proton-bridge --cores=3D1 guix build: warning: failed to load '(sovereign devices amd64)': no code for module (dfsg main golang) guix build: warning: failed to load '(sovereign packages bradenaw)': no code for module (dfsg main golang) guix build: warning: failed to load '(sovereign systems aisaka)': no code for module (suweren commons sudoers) guix build: warning: failed to load '(sovereign systems akashi)': no code for module (machines thinkpad-x200) guix build: warning: failed to load '(sovereign systems ayase)': no code for module (suweren commons sudoers) guix build: warning: failed to load '(sovereign systems mcdowell)': no code for module (users id1000) guix build: error: proton-bridge: unknown package $=20 The Guix manual has a Debugging Build Failures[1] section, which has som= e good general advice for these kinds of problems. I also suggest openi= ng the build log file (its path should be printed near the end of the bu= ild's stdout) and reading through there -- the build-system output makes= things noisier in a way that can sometimes make it hard to see the true= cause of the failure. For whatever reason, it's usually easier for me = to spot the problem when I'm paging through the log file, rather than lo= oking at the same output on the terminal. -- Ian [1]: https://guix.gnu.org/manual/devel/en/html_node/Debugging-Build-Fail= ures.html