From unknown Fri Jun 20 07:10:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37409 <37409@debbugs.gnu.org> To: bug#37409 <37409@debbugs.gnu.org> Subject: Status: [PATCH] gnu: guile-email: Add phase to patch the module directory. Reply-To: bug#37409 <37409@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:10:23 +0000 retitle 37409 [PATCH] gnu: guile-email: Add phase to patch the module direc= tory. reassign 37409 guix-patches submitter 37409 Christopher Baines severity 37409 normal tag 37409 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 08:33:41 2019 Received: (at submit) by debbugs.gnu.org; 15 Sep 2019 12:33:41 +0000 Received: from localhost ([127.0.0.1]:47458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9Tim-0003nq-O3 for submit@debbugs.gnu.org; Sun, 15 Sep 2019 08:33:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:33818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9Tik-0003ni-8D for submit@debbugs.gnu.org; Sun, 15 Sep 2019 08:33:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51785) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9Tii-0006w1-8k for guix-patches@gnu.org; Sun, 15 Sep 2019 08:33:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9Tig-0006nG-1f for guix-patches@gnu.org; Sun, 15 Sep 2019 08:33:36 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:46806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i9Tif-0006mj-RC for guix-patches@gnu.org; Sun, 15 Sep 2019 08:33:33 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 020EB17381 for ; Sun, 15 Sep 2019 13:33:31 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id faffb8c0 for ; Sun, 15 Sep 2019 12:33:31 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: guile-email: Add phase to patch the module directory. Date: Sun, 15 Sep 2019 13:33:31 +0100 Message-Id: <20190915123331.22860-1-mail@cbaines.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Otherwise the .go files appear within share, and Guile doesn't find them.= With this patch they appear in lib within the output. One thing this means is = that stack traces include the filenames. * gnu/packages/guile-xyz.scm (guile-email)[arguments]: Add 'patch-module-= dir phase. --- gnu/packages/guile-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index b765ef36e1..4fa2759205 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -927,7 +927,16 @@ tracker's SOAP service, such as @url{https://bugs.gn= u.org}.") (inputs `(("guile" ,guile-2.2))) (arguments - '(#:make-flags '("GUILE_AUTO_COMPILE=3D0"))) ; to prevent guild war= nings + '(#:make-flags '("GUILE_AUTO_COMPILE=3D0") ; to prevent guild warni= ngs + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-module-dir + (lambda _ + (substitute* "Makefile.in" + (("^godir =3D ([[:graph:]]+)") + "godir =3D \ +$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")) + #t))))) (home-page "https://guile-email.systemreboot.net") (synopsis "Guile email parser") (description "guile-email is a collection of email utilities impleme= nted --=20 2.23.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 03:56:40 2019 Received: (at 37409) by debbugs.gnu.org; 16 Sep 2019 07:56:40 +0000 Received: from localhost ([127.0.0.1]:49096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9lsF-0003cB-KP for submit@debbugs.gnu.org; Mon, 16 Sep 2019 03:56:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9lsE-0003bs-5B for 37409@debbugs.gnu.org; Mon, 16 Sep 2019 03:56:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i9ls8-0004Yl-UQ; Mon, 16 Sep 2019 03:56:32 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44104 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i9ls8-0000w7-BW; Mon, 16 Sep 2019 03:56:32 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: [bug#37409] [PATCH] gnu: guile-email: Add phase to patch the module directory. References: <20190915123331.22860-1-mail@cbaines.net> Date: Mon, 16 Sep 2019 09:56:31 +0200 In-Reply-To: <20190915123331.22860-1-mail@cbaines.net> (Christopher Baines's message of "Sun, 15 Sep 2019 13:33:31 +0100") Message-ID: <878sqofzdc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37409 Cc: 37409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Christopher Baines skribis: > Otherwise the .go files appear within share, and Guile doesn't find them.= With > this patch they appear in lib within the output. One thing this means is = that > stack traces include the filenames. > > * gnu/packages/guile-xyz.scm (guile-email)[arguments]: Add 'patch-module-= dir > phase. LGTM! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 04:37:49 2019 Received: (at 37409) by debbugs.gnu.org; 16 Sep 2019 08:37:49 +0000 Received: from localhost ([127.0.0.1]:49140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9mW4-0006km-RP for submit@debbugs.gnu.org; Mon, 16 Sep 2019 04:37:49 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:40294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9mW1-0006kb-8R for 37409@debbugs.gnu.org; Mon, 16 Sep 2019 04:37:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=759S7nwQ3BOMB+onVfld1w188E+usQIevlizKyciB5A=; b=Soyu+zp7pIkXO+H5HqmwFGUlA rwzs8KqgRHjGNTrK6fYpXD6xKNJnv60Kgb5gh5S4DknXqO2DWQPYiH5UZcoHUXU40gKicH96aBQ6c PLF8xxu8KXFPpxwBsQim0MmMDPH9+N+4JHjkoO+6hVFTbxTmthw7aGCC2B5Tg83WrTGbI=; Received: from [14.139.128.10] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1) (envelope-from ) id 1i9mVw-0003Ja-PM; Mon, 16 Sep 2019 14:07:41 +0530 From: Arun Isaac To: Christopher Baines Subject: Re: [bug#37409] [PATCH] gnu: guile-email: Add phase to patch the module directory. In-Reply-To: <20190915123331.22860-1-mail@cbaines.net> References: <20190915123331.22860-1-mail@cbaines.net> Date: Mon, 16 Sep 2019 14:07:39 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37409 Cc: 37409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain > Otherwise the .go files appear within share, and Guile doesn't find them. With > this patch they appear in lib within the output. One thing this means is that > stack traces include the filenames. LGTM! I'll also make this modification to guile-email upstream so this phase won't be necessary after the next update of guile-email. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl1/SdMACgkQLiXui2GA K7O9PwgArH2Rsc5QXn3OBmtrwhwbR2XPKuQIsWfuGXhkVl1rlxuMMTSmlRIQDGD4 CRfzuK28ZI3+YNKgYVH2+vzZozM1dKmiCNhvMSW9dETZn/MBfhkRgw3c45hpmK+n UZ3/mD9sbKpLC/vA0HbQ3grhh6SG6u7JHteiS3v6PCxYMEMLq4zZN3TX+NjviSSB Zpu9CZDLSGfcKYhoo/HwexzvFRJ63+erM4GdU/QU3+Rje39nUuScY3ulJO9tXb2u Kw5ZSE1pPoNUHlBSwMOMWaCarJTL19Gcqr9tp95/Ws3wWGrSmWUPyXHLDkvZC5S/ fgWxR4znGPHghdprYUt61qELGO6JzQ== =uzq/ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 21 12:37:31 2019 Received: (at 37409) by debbugs.gnu.org; 21 Sep 2019 16:37:31 +0000 Received: from localhost ([127.0.0.1]:33145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBiO3-0000sx-4b for submit@debbugs.gnu.org; Sat, 21 Sep 2019 12:37:31 -0400 Received: from mira.cbaines.net ([212.71.252.8]:35498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBiO1-0000sq-DX for 37409@debbugs.gnu.org; Sat, 21 Sep 2019 12:37:29 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id EE9A817383; Sat, 21 Sep 2019 17:37:28 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 49380dde; Sat, 21 Sep 2019 16:37:27 +0000 (UTC) References: <20190915123331.22860-1-mail@cbaines.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Arun Isaac Subject: Re: [bug#37409] [PATCH] gnu: guile-email: Add phase to patch the module directory. In-reply-to: Date: Sat, 21 Sep 2019 17:37:27 +0100 Message-ID: <87lfuh1u7s.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37409 Cc: 37409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Arun Isaac writes: >> Otherwise the .go files appear within share, and Guile doesn't find them. With >> this patch they appear in lib within the output. One thing this means is that >> stack traces include the filenames. > > LGTM! I'll also make this modification to guile-email upstream so this > phase won't be necessary after the next update of guile-email. Awesome, thanks Arun :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2GUcdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfsKQ/9ELp4kHhVpbUzkBZS5T0MhOGM3pjC2MELW6c7v2i78JclY9RXnI6jq7Ca ttrMwegsWGX1Wl1xwK7IPEoVi8Ux+qrAtl+0OdUOafFN0XvmV15nUpek/fHqtUn1 HCeFtkycuRWavpT3z5RovVXHilGevGgnwypKgVQeNXeufbXQ/vEDno0p7iTzTWky ZdY5xIrBCGK2GeuL+2TzktOs3JuYHo09n8K0A9Trfi3kv65KWqKvWjYp2aLxxCa7 WdU8phtBeLLDh/cyUW1uc0krgUjC4XFWNWuJMa4EJ3eu0x4Y9F6wqnu+JDtuAjIp 8bgNHTabI+m20xObojypXyxFNCBFb/V5wB+nPbLrvVFdeligBpwfBUJzG/NNt6zL 2r6ojneNbfzVSrJtiuFIuTkx7MeBL8XSGmnTZtfywpfFx6X2u2QmPKgT6+A5sO66 vyIxLKxP7HGfSzmYwoV84eHMofH7KvCy0YQh5jGGVEdM0FoOZ7gv9pfyBy49UNcp rd8JneswxPoVyIZHKOH1YZQlVntTXoWCXE4vP0brz85ntTjMG3r649sLVXFP1buL 8hWEECRpahAqP682dX2OVvz1NKH+HRyW/HEPfbIigcDvCjUjwwhpP7jtki65c+v4 hJKlRRAOmgkDB9pZFigsqhRt8LtzJuD7g64kCGlO9HM+bGIpYks= =emgE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 21 12:37:13 2019 Received: (at 37409-done) by debbugs.gnu.org; 21 Sep 2019 16:37:13 +0000 Received: from localhost ([127.0.0.1]:33142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBiNk-0000sP-SK for submit@debbugs.gnu.org; Sat, 21 Sep 2019 12:37:13 -0400 Received: from mira.cbaines.net ([212.71.252.8]:35494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBiNj-0000sH-IP for 37409-done@debbugs.gnu.org; Sat, 21 Sep 2019 12:37:11 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id ACBB817383; Sat, 21 Sep 2019 17:37:10 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 77fcef0a; Sat, 21 Sep 2019 16:37:09 +0000 (UTC) References: <20190915123331.22860-1-mail@cbaines.net> <878sqofzdc.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#37409] [PATCH] gnu: guile-email: Add phase to patch the module directory. In-reply-to: <878sqofzdc.fsf@gnu.org> Date: Sat, 21 Sep 2019 17:37:07 +0100 Message-ID: <87muex1u8c.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37409-done Cc: 37409-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hello, > > Christopher Baines skribis: > >> Otherwise the .go files appear within share, and Guile doesn't find them= . With >> this patch they appear in lib within the output. One thing this means is= that >> stack traces include the filenames. >> >> * gnu/packages/guile-xyz.scm (guile-email)[arguments]: Add 'patch-module= -dir >> phase. > > LGTM! Great, I've pushed this now (as c219104c7803cd31ab1cf4bef142a8fbf8ed5b7a). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2GUbNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc4Mg/+J/CVkvJ5J8hxJa95mvfakraLuNV2ghOHHm5yxJah2U1fpX2eoDNwfigX UQhcxvNs2m9Z4Gd4YTOyeKOnOM3posMCD8vLMY2Pdg/mxxIwaLINS3pbNpzxo5VY 7+/ZbZF0N/fPt8AGvvWCtkCGOT09bAeLLjvSWzi+Lr1PuaCQeEcuYTReLfapFkeB j/RMXqwaPhpNfa9a8ZGrlDyg9HZdEm2sXSEKMwS3kqkKlmIiqML9KXBuQmMBDvXd ny410CTZbuT5SGGXArYuDt5MAJVbCnQ+Y0F0NBTr2i8XwENUUXv4PGDh8Cji9wjf ZYWG5WI7AJs1ez+X0X8M+DZTkZf9s4jNDMDVXOPfqOy+mtbglUkPIuhRLNYRqM4w DTGxDon8n+8rEr4SA2WnprweZD/zR/ocZHuzg+3xYtU/ANSavCyv/qappBw15Prn 4XACZlRK5BP7OepfrIyj+lJ2iFmAryC1Bzobh2v0VpGjV0Ocz5opVVegdSKJnSmJ pTq6brPG/Mihh8pvE/w6FVJpbT1uxMLqXdn6fwE8B98SnGp1MNGSvsXzpaHhGzAw 2yDgicqfqpTs63aBPJdmCHYOkEkVHlL4378OBNYdwotsxBRMV3xBmOaQyHrCGNNe hVsyNDfiw+DfGliicO4v7VRn0Ce23RnPHTYbLf8jE+DqEsw+IC8= =5fx0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:10:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Oct 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator