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 4JAlBbzcUWdUewEAe85BDQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 17:02:52 +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 4JAlBbzcUWdUewEAe85BDQ (envelope-from ) for ; Thu, 05 Dec 2024 18:02:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reycoyrehourcq.me header.s=dkim header.b=A9aOd8qC; dmarc=pass (policy=quarantine) header.from=reycoyrehourcq.me; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); 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" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733418172; a=rsa-sha256; cv=pass; b=u1luXc3h9mwPNJum6r/pabTfvVZ6dslMUhziHtV2zIlNBO7gYIBWMAsBnb7C87/wo5OXIU aFYVC2PAUzgy+zwHfp9YfVzsg34/TWjsPwblkWs4cOgjY3aaS37aJsKfdC53hOCSjtiRRN Zo4Cpy909gin5C/D5FtyGiTwksl4HxhBmA9Y4eX7WNc69HSQ2JgfTGlk5uzlIRbT68e85q P4Nasgfpv4rcwdYh6g+n/QwrOLKokbeiSstUd4k71c/QKXQV8Fsi1Brw0+sDf1TbW0Ehzf iSU0NqmgYd7RpcGZXD97xhBP8t+/EQYwqyHJCrkMHFjQ3jVkggb4JLf7X3x1zQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=reycoyrehourcq.me header.s=dkim header.b=A9aOd8qC; dmarc=pass (policy=quarantine) header.from=reycoyrehourcq.me; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); 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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733418172; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=G0eBH9rUg7YWRLfwBbt/Knp21c0oZMAf9E2rZkxyIGg=; b=AKGzTr/P6VPgwtdkRxxgICHsJYiDMpaNx0yQ0PitE4yWZnhnQvPrWAsNOB3k0555eLqUZP 5pYbuoE1hhgGasgjRXzE4n3ECAmhgsT24CMBX+pwbu42a8F+mhdtNrB0O0Exx+mo8TAasj rofjqChP7YqetuT6MHmA2f/F9dpxgheJrANUoFgts0Cu8lSrt/ZXY25MQiDlWnAVY5XyaK aFHWnUGF7PlbCoelQO63K28gYwYSvOY4kMf7ob4ifoXdo5k1MSoQZJMhRKyeRv6HChRjAG 6TXUrB7lRy9xj0PpjV7EA9C6JCJs0TI/9ZaR43Tr5mjp+OapHdh71rpFlh87dQ== 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 B75EC83295 for ; Thu, 05 Dec 2024 18:02:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJFDD-0000lA-1d; Thu, 05 Dec 2024 12:00:23 -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 1tJFD4-0000iM-7v for help-guix@gnu.org; Thu, 05 Dec 2024 12:00:14 -0500 Received: from mail-200162.simplelogin.co ([176.119.200.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJFD1-0005j2-Mm for help-guix@gnu.org; Thu, 05 Dec 2024 12:00:13 -0500 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1733418006; cv=none; b=sZVWxao0ngXFdXEr35fTPA+ScRAti/uLpqKjdWhCmEGzGSGUp9hsSSeH8GIFnfIAwFxGE/W4AJeP5bACFJ/GTvRRVUJX9Z3ZmkhwUrZZS7GN3UWT95jg9AcKUd4mNsamRvX0xOD/oeBkC1T840hl1bBKeREGZEWa+Jmz8/c+huyz+UIu+LHyOulr4mR+umpbSiPHxvur/frevssxz182e74S7Y2RYOqf7BpFJRM6chfk3w+ExOJ3ELfZWY5vWOeYvFXUhwmM9wvWtBp1KxvwTzWfPQwLPQon8c6r60nCNTasmBzwdSDDbLd42byvcFBTjhTg0tsBY9zocxAkpSLLmA== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1733418006; c=relaxed/simple; bh=G0eBH9rUg7YWRLfwBbt/Knp21c0oZMAf9E2rZkxyIGg=; h=Date:Subject:In-Reply-To:From:To:Cc:References; b=hkuFkwV18Ao8vDfAE63J9JLlJD4vfr+7BOlMfrvISOEw3fWqDTwQLvLrT6yzeX0hJJMEpDmWo2P1vBkXX3JQ0ZNbg87wM4t6tWvmW+diTwEV8vMKF3cwsGQ001ZhlY2cndYqkLGRA2xSg582JJbvLJZFxxjD0SIBA7eGmoF8xcRKUlvIEepxXpK4MhkNpUM6qptXHth9jFcRdqcFrPqcFNaWfqkTZIMrkDeuk8+WJmx7rOyVgJMblWnZY/OXclrbNt4XJKtY7AJc04ysoqbKuYcxeckJMyv9DBOjNs+OTxmj7RsHFyhOmhmxCYPo7dicC7edUUmCiWwbvbOSsIgyRg== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reycoyrehourcq.me; s=dkim; t=1733418005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G0eBH9rUg7YWRLfwBbt/Knp21c0oZMAf9E2rZkxyIGg=; b=A9aOd8qC/OLm1t3Tn9oFx5hAi4xmlbq/ZhL/N2cc57+HUWaW37TAzIGB+AlzulnsaHD/Ua iiuRLakKt5uTFWOhuJg+nuPlCHzg1rekMnr+vkPyh3NDr0cRWyQEksU5JqxENJUGsFbH/e CyifcnQ8zl4u/mn51fVJuLpcOpwe2QA= Date: Thu, 05 Dec 2024 16:37:05 +0000 Subject: Re: Packaging Proton Bridge: cryptic compilation failure In-Reply-To: <30911cd4-c634-43a7-b372-f20a05caa3ac@app.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------8ae3f830b11c27a06cce84ecfe9c9a6329bf99f723a9c43245ab39a1c921686c"; charset=utf-8 Content-Transfer-Encoding: 7bit From: sebastien To: Ian Eure Cc: =?utf-8?q?Marek_Pa=C5=9Bnikowski?= ,help-guix@gnu.org,Cayetano Santos Message-ID: <173341800403.6.14598806331512627250.521121694@reycoyrehourcq.me> References: <2208743.irdbgypaU6@aisaka> <87o71w4mry.fsf@inventati.org> <2293001.iZASKD2KPV@aisaka> <30911cd4-c634-43a7-b372-f20a05caa3ac@app.fastmail.com> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 521121748 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.162; envelope-from=sl.lmysyibvgiytcmrrg42dqlbage2timbthayf2.cqttjtryvo4mm@reycoyrehourcq.me; helo=mail-200162.simplelogin.co 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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: -10.14 X-Spam-Score: -10.14 X-Migadu-Queue-Id: B75EC83295 X-Migadu-Scanner: mx10.migadu.com X-TUID: 1yUN9oNI8w6T This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------8ae3f830b11c27a06cce84ecfe9c9a6329bf99f723a9c43245ab39a1c921686c Content-Type: multipart/mixed;boundary=---------------------43f8570d8a4785d2c88b8c5f303a7394 -----------------------43f8570d8a4785d2c88b8c5f303a7394 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Le samedi 30 novembre 2024 =C3=A0 8:22 PM, Ian Eure a =C3= =A9crit=C2=A0: > = > = > Hi Marek, > = > On Sat, Nov 30, 2024, at 6:56 PM, Marek Pa=C5=9Bnikowski wrote: > = > > On sobota, 30 listopada 2024 19:08:49 CET Cayetano Santos wrote: > > = > > > > sam. 30 nov. 2024 at 17:26, Marek Pa=C5=9Bnikowski marek@marekpasn= ikowski.pl > > > > wrote: > > > > Hello Guix > > > > = > > > > I am towards the end of a first pass of packaging the Proton Bridg= e > > > > program to access my Proton Mail with KMail. > > > > = > > > > I have worked through and learned about many peculiarities of Gola= ng build > > > > 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 c= ryptic > > > > to me, as its log contains zero error messages. It works fine unti= l I > > > > get a "build > > > > failed" summary: > > > > The debug for dummies manual advices using the "--keep-failed" fla= g when > > > > you build packages. Using a shell container helps to understand th= is kind > > > > of cryptic messages too. > > > = > > > -- > > > Cayetano Santos > > = > > Thank you Ian, Cayetano for swiftly reminding me to Read The Manual. I= was so > > tired with constant tweaking of package after package, that I forgot t= o go to > > the basics. > > = > > I learned that I can source variables to emulate the build environment= , in > > which I issued the same command that go build system uses to build the > > package. Here is the result, much cleaner with the interesting stuff r= ight at > > 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:9= 2: > > 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:1= 6: > > 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:1= 7: > > 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: undef= ined: > > 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: undefi= ned: > > 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: undef= ined: > > packetPadding > > = > > I remember faking a Proton=E2=80=99s fork with the upstream package be= cause GitHub > > failed to find it. It could be the one, or not. At least I have a thre= ad to > > follow now; and a new tool for deep inspection. > = > = > It's been a while since I've worked in Go, but based on: https://github.= com/ProtonMail/go-crypto/blob/main/openpgp/packet/packet_sequence.go#L9 > = > ...I suspect the go-crypto repository houses multiple Go packages, which= all need to be packaged individually in Guix. It looks like your Guix pac= kages aren't doing that, which may explain the error you're getting. This = is just a hunch, it's been a few years since I wrote Go, and I never dealt= with packaging beyond stuffing static binaries into Docker containers -- = but it feels at least close to the root of the issue to me. > = > -- Ian Hi, As a everyday user of ProtonMail/guix for work i'm also interested to help= you on this task. Perhaps could you provide a chan that contain only the = dependencies and manifest to build proton-bridge ? = That help us to reproduce the build and try to package and push go package= that miss. Best regards, SR -----------------------43f8570d8a4785d2c88b8c5f303a7394 Content-Type: application/pgp-keys; filename="publickey - s.rey.coyrehourcq@proton.me - 0xC3237850.asc"; name="publickey - s.rey.coyrehourcq@proton.me - 0xC3237850.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - s.rey.coyrehourcq@proton.me - 0xC3237850.asc"; name="publickey - s.rey.coyrehourcq@proton.me - 0xC3237850.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWmN2SWpoWUpLd1lCQkFI YVJ3OEJBUWRBbkhEZlRGdnpUc2REeW5mQlAwelROaVFUUWRjYW5OYnUKU2FPOTZaSFNPSmZOT1hN dWNtVjVMbU52ZVhKbGFHOTFjbU54UUhCeWIzUnZiaTV0WlNBOGN5NXlaWGt1ClkyOTVjbVZvYjNW eVkzRkFjSEp2ZEc5dUxtMWxQc0tNQkJBV0NnQStCWUpseThpT0JBc0pCd2dKa0lzaAprN0ZkdUEz OEF4VUlDZ1FXQUFJQkFoa0JBcHNEQWg0QkZpRUV3eU40VUMydEcxdEZqUmpVaXlHVHNWMjQKRGZ3 QUFEQndBUURHNFlJb0JUWXJBMHUwbEJmRnhVNC92WEt1ZWdXdEZwNjNwcUtkalhlRHd3RCtOblNM CmkvcXdCSFQ0aEZGL2tKcy9LNEgydDdYMWtTcGhZdUxYcTNpWGRBUE9PQVJseThpT0Vnb3JCZ0VF QVpkVgpBUVVCQVFkQWlLK04vdmZCZmRnU0xiYVRoMG8xSFptN050bTA0b2hNUkdNSVNTUWNMUUVE QVFnSHduZ0UKR0JZS0FDb0ZnbVhMeUk0SmtJc2hrN0ZkdUEzOEFwc01GaUVFd3lONFVDMnRHMXRG alJqVWl5R1RzVjI0CkRmd0FBQXpzQVFDZGRFQjJWUVpQSFdDL0doZkZMS1QybEJEYnJaQnB0OWZH RlBwOTNud3R5Z0QvZXYxOAp1SkhoNGhBQ2RkWTVTOXNkNUZEcHo3UWpMaDZ0Y0ZBeTg2UDVuUWs9 Cj1OZzV6Ci0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0K -----------------------43f8570d8a4785d2c88b8c5f303a7394-- --------8ae3f830b11c27a06cce84ecfe9c9a6329bf99f723a9c43245ab39a1c921686c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmdR1AwJkIshk7FduA38FiEEwyN4UC2tG1tFjRjUiyGTsV24 DfwAAFtfAP9i0VrOTVpcnYp+53velBLXm2j13pBScxGs4DIEMC9HywD/XTe7 wcdqAGt94Anzwbk4PLt5h85nTkZYcln6UpnN/gQ= =n7CF -----END PGP SIGNATURE----- --------8ae3f830b11c27a06cce84ecfe9c9a6329bf99f723a9c43245ab39a1c921686c--