From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 sMkNGSRgS2dvKgEAe85BDQ:P1 (envelope-from ) for ; Sat, 30 Nov 2024 18:57:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sMkNGSRgS2dvKgEAe85BDQ (envelope-from ) for ; Sat, 30 Nov 2024 19:57:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b="S/FC7unj"; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; 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 8440E1F24E for ; Sat, 30 Nov 2024 19:57:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHSec-0000GC-M0; Sat, 30 Nov 2024 13:57:18 -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 1tHSea-0000Fz-Sy for help-guix@gnu.org; Sat, 30 Nov 2024 13:57:17 -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 1tHSeZ-0000Ql-0x for help-guix@gnu.org; Sat, 30 Nov 2024 13:57:16 -0500 Received: from localhost (localhost.local [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d43105d4; Sat, 30 Nov 2024 18:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=dkim; bh=hfBGFOFqnei0tStViJLn+eyi1 /NF3njmCiog9WXoqj0=; b=S/FC7unjzdayCYo4zcIq2YisANfYmFKLBdE9ME09D y7615Fn2+Hh026+/AK2fptT+AuCzhoYxajMMiTY4L/iP1ZJxbrdsoMvahHsPXgoq bu75UHLDEZrxPBZDVUqJiYGpxbe9GwHQOYk56q4IUie8BraoE8hbR8YU/m6TN3dh 1rcicIpYvU1pqa9XfQNbVQq5ebCd5O+2HLtbN3Kl/fdkxLsFeaKmfWpSKzVuJgPJ n6NsiN2f98ensk94sNUrt2UhnnWepQvGUf6a2warek5kEhgxAN8eUayZddD7bHHt oBa+GfwjYW5Ij5OSCDvSM1dmIe5a8g4kfqLikFu2Fzc+A== Received: by localhost (OpenSMTPD) with ESMTPSA id dbeeb959 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 30 Nov 2024 18:57:08 +0000 (UTC) From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: Guix Help Cc: Cayetano Santos , Ian Eure Subject: Re: Packaging Proton Bridge: cryptic compilation failure Date: Sat, 30 Nov 2024 19:56:56 +0100 Message-ID: <2293001.iZASKD2KPV@aisaka> In-Reply-To: <87o71w4mry.fsf@inventati.org> References: <2208743.irdbgypaU6@aisaka> <87o71w4mry.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1989560.PYKUYFuaPT"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.92 X-Spam-Score: -8.92 X-Migadu-Queue-Id: 8440E1F24E X-Migadu-Scanner: mx10.migadu.com X-TUID: Z1Gtnyxwdz3g --nextPart1989560.PYKUYFuaPT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: Guix Help Subject: Re: Packaging Proton Bridge: cryptic compilation failure Date: Sat, 30 Nov 2024 19:56:56 +0100 Message-ID: <2293001.iZASKD2KPV@aisaka> In-Reply-To: <87o71w4mry.fsf@inventati.org> References: <2208743.irdbgypaU6@aisaka> <87o71w4mry.fsf@inventati.org> MIME-Version: 1.0 On sobota, 30 listopada 2024 19:08:49 CET Cayetano Santos wrote: > >sam. 30 nov. 2024 at 17:26, Marek Pa=C5=9Bnikowski =20 wrote: > > Hello Guix > >=20 > > I am towards the end of a first pass of packaging the Proton Bridge > > program to access my Proton Mail with KMail. > >=20 > > I have worked through and learned about many peculiarities of Golang bu= ild > > system. As long as I had an error message, I was able to at least work > > around problems. However, the latest build failure is completely crypt= ic > > to me, as its log contains zero error messages. It works fine until I > > get a "build > > failed" summary: > The debug for dummies manual advices using the "--keep-failed" flag when > you build packages. Using a shell container helps to understand this kind > of cryptic messages too. >=20 > -- > Cayetano Santos Thank you Ian, Cayetano for swiftly reminding me to Read The Manual. I was= so=20 tired with constant tweaking of package after package, that I forgot to go = to=20 the basics. I learned that I can source variables to emulate the build environment, in= =20 which I issued the same command that go build system uses to build the=20 package. Here is the result, much cleaner with the interesting stuff right= at=20 the end: [...] # github.com/ProtonMail/go-crypto/openpgp/packet /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/packet_sequence.go:12:92:=20 undefined: errors.ErrMalformedMessage /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/packet_sequence.go:13:16:=20 undefined: errors.ErrMalformedMessage /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/packet_sequence.go:94:17:=20 undefined: errors.ErrMalformedMessage /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/config_v5.go:6:2: undefined:= =20 V5Disabled /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/marker.go:27:33: undefined:= =20 packetTypeMarker /tmp/guix-build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/ github.com/ProtonMail/go-crypto/openpgp/packet/padding.go:20:33: undefined:= =20 packetPadding I remember faking a Proton=E2=80=99s fork with the upstream package because= GitHub=20 failed to find it. It could be the one, or not. At least I have a thread = to=20 follow now; and a new tool for deep inspection. --nextPart1989560.PYKUYFuaPT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWQ5QD+OdJrPmC3Q7bYGxIHcRiZ8FAmdLX/gACgkQbYGxIHcR iZ9XKhAAn+LCtcyjnKL+K1wIsk5GgeXefQxa3JlxOnoUNxdK3EJdibOJcfVxZ/rn SnSMNaTWkBJCwxxLk8Bx+MbMoX7NcMHIrotOTmCkFSvye911AyeQvDGieh5JPM1G YvTokxCQCjaZGBXGDOLL8k4/HvgFh3UCe+IbzWLtY7C1Lc189qhClaWoosGXxZxf VYbJQnVACBZeXUqFj+VW4EG1tk6noBCtJpieEeC0YTqRpXtTlVjE8NXjvl1x/vC+ EcXqv03gFH7cID/H10cMODJtgpCP5E20Ce71GHcSnr4Ngr0BccphmlG8JurTet7J znmPO+0tAzjKBbbGETme43NS3VC/qTNQ/iJJYsjIQOip6IWBpP0VFoZJ35P8dupD Ra0TnYjFWxka8InRD2wKJPDkqiipL3pOlcTY7I0i1v8hw/8a75wKs9zW8FGQWC9r FKuMkN6ysJ9OkrklIy9xfA3aEJ3sFm0oOZ+6pVJVfziidKourIJNGnyxLG5MHNKT bTuRV5Eav5jpVB56HuCfwEC9ow3gOxvFOspCUFCUPVNscNe4OQKYIGhSth+cgEJM l6tTzsnbSu/RaxfhBc+F44iyGAKFP5mqbrmcT4HyKQXBwXYi9QsIhAQQgmZvaj10 5NThHUoNbGXb6Xf6d6tHfLaRfncCVoSzyVFjDy7JuF/HDK9mOFI= =C+ap -----END PGP SIGNATURE----- --nextPart1989560.PYKUYFuaPT--