From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IIPtGUwfV2fkbwEAqHPOHw:P1 (envelope-from ) for ; Mon, 09 Dec 2024 16:48:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IIPtGUwfV2fkbwEAqHPOHw (envelope-from ) for ; Mon, 09 Dec 2024 17:48:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=gN4zqsFV; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733762892; a=rsa-sha256; cv=none; b=WD3B/1/WfgnfqC0hJgWIrOxC0UYjK/7CzxVEXSyPiBz8ld96nGbH8sgGsTObW+S2uBohmk 21Wd8vtHR4tEl/Rrmd3KwosRe9EzJoDA1sHjlRLRAmGh1Z6q1c5ZYV0+iqrgk7XWUCmlL5 eS6WtYcZIu/Lygq87w56W2aygAX9bnAPUQTDRfgsNHD64HE/+S7DPcC5T3zVTmMUEbvU1C WyDx23Vlct6yZW0RnmuiGDF/qhYtLelOkkpFsyRRCFzEjmOYWvwmYzN43xIFWaudZm6wHP FA02tP5wMCVgAnRQdAhW/beQ+eXB+9tjZWzvAW7d+v/DQ3Q6HxAYaeB7T1UcsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=gN4zqsFV; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733762892; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fgdRGwLVUvogPgyUsy72Xwjob8aMo9yS39yz0BrLvCg=; b=T8NzWQkyazCRx5Pee5Bhplv3G4QfnHDdr46mYhUVGbhGmAmM+j8tLEsVLrLa3CAC9CsuY2 GXWHk3d06qz6RNFowpeqLNEqwOs+tuN/hWcr6R/2IZYoavOB9EFlnQQwarZm9tdC631mse tb59gzyQdFQO2gyji6oMHojaubfVstjM08CUJskLxHjTZhTo7vhvBTEzbUZT9G7jbKVEb3 NHiqRECncsB2kyRgtTh9FjntgK/bIPk7STLHeMA4Od6Ar/jidaln9v2Qam0DhRJ43/PdSJ ycFxwx4tWZ/J4RHMgK+M7sYAxE1VEfFC0uCZVNzzcZW5k8JrJc/5sFi800UBjw== 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 583635900E for ; Mon, 09 Dec 2024 17:48:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKgv9-0008K3-AA; Mon, 09 Dec 2024 11:47:43 -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 1tKgv7-0008Ju-JE for help-guix@gnu.org; Mon, 09 Dec 2024 11:47:42 -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 1tKgv5-0006KK-3X for help-guix@gnu.org; Mon, 09 Dec 2024 11:47:41 -0500 Received: from localhost (localhost.local [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 29cc718b; Mon, 9 Dec 2024 16:47:31 +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-type; s=dkim; bh=e7FclIHi6fOnb3VEySnYoJ+0D f2OWmwr2vOvNrhBh9w=; b=gN4zqsFVvb2D4DkFdeinAJHnnweuS+xwRGjOP2jFs 5AcsNAJdLWHV6W3+GFCzzxISAKXoorjCFD7qlqVgh8lrdBszlOuOsgqav+FNjkQz Xl5Dzsxq3lkOta/cIFW1koNJtXvwxU2ZMlmj+6F3vPWmDXPb84TSP4Xd9XEHfUxq 5WjEosMvUlmepFwFAzDZwIqn60rdg/ysQSfZUK65zjucnO5fLzfS+hDqWPLHfmHQ lCrYV9kiOpgt5dNsjczh7nCWb3BSMNQgghc+mOZNwPcuVSrjyaRYkN0Q/4b0qCxn +Rp6nqwHz94zl3zKbhS1vZJRYUYBNwGumQyrG7JARCqxg== Received: by localhost (OpenSMTPD) with ESMTPSA id 33288b9b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 9 Dec 2024 16:47:29 +0000 (UTC) From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org, Ian Eure Subject: Re: Packaging Proton Bridge: Progress Report #1 Date: Mon, 09 Dec 2024 17:47:15 +0100 Message-ID: <8460874.T7Z3S40VBb@aisaka> In-Reply-To: References: <2208743.irdbgypaU6@aisaka> <13655160.uLZWGnKmhe@aisaka> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10575219.nUPlyArG6x"; 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 583635900E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.48 X-Spam-Score: -0.48 X-TUID: qYuYpGqEkgMS --nextPart10575219.nUPlyArG6x Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org, Ian Eure Subject: Re: Packaging Proton Bridge: Progress Report #1 Date: Mon, 09 Dec 2024 17:47:15 +0100 Message-ID: <8460874.T7Z3S40VBb@aisaka> In-Reply-To: MIME-Version: 1.0 On poniedzia=C5=82ek, 9 grudnia 2024 17:38:20 CET Ian Eure wrote: > Hi Marek, >=20 > On Mon, Dec 9, 2024, at 4:24 PM, Marek Pa=C5=9Bnikowski wrote: > > I managed to break through version incompatibilites thanks to discovery= of > > the guix:build-system:go:go-version->git-ref function, which allowed me > > to use the specifications in go.mod files directly. > >=20 > > I am currently blocked on what seems to be an actual upstream coding bu= g, > > for which I filed a report: > > https://github.com/ProtonMail/proton-bridge/issues/511 > >=20 > > It boils down to an undefined variable reference, which used to be defi= ned > > two years ago. > >=20 > > Build error: > > src/github.com/ProtonMail/proton-bridge/v3/internal/frontend/cli/system= =2Ego > > : > > 48:43: undefined: bridge.Credits > >=20 > > Commit reference: > > https://github.com/ProtonMail/proton-bridge/commit/ > > 77cd2955f1413c96a1d987d0d7f9d8ecf6a8ad49 > >=20 > > The removed code snippet in file internal/bridge/credits.go : > > package bridge > > const Credits =3D "string of go module paths" >=20 > This isn't an upstream bug, it's an error in your package. As the > "(generated)" comment in .gitignore in your liked commit implies, this fi= le > is now codegenned as part of the build: > https://github.com/ProtonMail/proton-bridge/blob/4f4a2c3fd8f7304a9b3ff81d= 3f > 42828b95296b7f/Makefile#L351-L353 >=20 > Since you're not running the command that creates the file, the build fai= ls. >=20 > -- Ian Thank you for your feedback. Does this mean I will have to `make` the project before `building go`? --nextPart10575219.nUPlyArG6x 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+OdJrPmC3Q7bYGxIHcRiZ8FAmdXHxMACgkQbYGxIHcR iZ9NNw//expAudHuCAzgsQWOGRbGPgO7Urn14YTOhKGMMjlquaPfh/d64pTsBs8I Gh1FDWxcQiJI4YYbPzsUoVrZKMFMP3nMhNR/kVe+Fh7GlAlO2GeoLXLLFaZf/D69 PY+nKUNdgutDMsdc0KzK2sG+op9P9YQcWKQ2xrbfQ46O9BCxZ7K1B8qB70Io3/uL /5iGQyspH34C7L9n3Cu5g3TdqQbOQ1tGyOw0aVMNTKVvsukp/UJDEpsI8NLcdcB2 hg22a57Etjd71UErilpOJEFuMwKMM/19ynqn1PwmCu6dFCsrC4gtYrPQEmUnqC/X WYZoLikeVFNAjizieKyutHn23kEqTKkPDlvCM/7u87JLsR0AlhbMjrL/IMz0LmeU J3gjdkG5DYZy4LHFi39y84yYZQUzGKuC6WtP5KouiV3ArcAjaHdVNUBuY8Hw9Bw6 mjSiluwq7fGTmaw1Mal4XlyGhzomi9IyvwwxQN0rRCrnNQQZJfXjTpXEZ7khSzbj sU/AeY/M+8tFo2oTawgZoajary5MlIkOrKYHzVAs3NZVlp2l+gMd3feOwWrtv0L6 0LWERHIqAU98ZSDKfP381EvyLW0jOr1DJkeHEGCXX3ndnlvWinIyXn5rOaaIw99h uuw9p3bkwQ2hO5JyWNXZYsXFFcMKhlzPqbQjAaRgiByxM6n/v10= =2YQh -----END PGP SIGNATURE----- --nextPart10575219.nUPlyArG6x--