From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 07:38:58 2021 Received: (at submit) by debbugs.gnu.org; 18 Mar 2021 11:38:58 +0000 Received: from localhost ([127.0.0.1]:45281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMqzS-0005EQ-Hb for submit@debbugs.gnu.org; Thu, 18 Mar 2021 07:38:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:59386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMqzR-0005EG-7B for submit@debbugs.gnu.org; Thu, 18 Mar 2021 07:38:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMqzR-0007AR-0W for bug-guix@gnu.org; Thu, 18 Mar 2021 07:38:57 -0400 Received: from mail.zaclys.net ([178.33.93.72]:51861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMqzN-00072C-D3 for bug-guix@gnu.org; Thu, 18 Mar 2021 07:38:56 -0400 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12IBcn5n007009 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Mar 2021 12:38:50 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12IBcn5n007009 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616067530; bh=ri2j3ZKrIDBe/bSR+EM7dD8e0lPpATKGWngrinArnEQ=; h=Subject:From:To:Date:From; b=lXc/vvXukDzOMVQqcS+Btg1vHESm0yKYtsUUUgVrXHj1xT3HgZpEG7Bvpy9zLtV1H u+cc0JO5Zc/mui6PVxbT/keCa6Y1kddtzsKCBb9oL+75a3rTQCBCOwBr/PV1WmmVT8 r1eRgwoLHKdDbr4VBi2Oc13nz3uwwliJxuPft04E= Message-ID: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> Subject: Build phase to graft during build for better grafts QA From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: bug-guix@gnu.org Date: Thu, 18 Mar 2021 12:38:44 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7H6FkCJxvxm7gQKAPZuq" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (--) --=-7H6FkCJxvxm7gQKAPZuq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I am having an hard time testing grafts in GNU Guix while I think we could have better tooling around this. For example, we could have a package transformation that can add a phase before 'check (or others) to graft any intermediate build binary and all dependencies (if not done already) to run the test suite WITH the graft. This could be turned on by GNU Guix contributors after trying to graft some package to ensure it does not break things. What do you think? L=C3=A9o --=-7H6FkCJxvxm7gQKAPZuq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBTO8QACgkQRaix6GvN EKZ8nQ/+KqdxJf6ZgNju/wK9iA3isLxXwXWEzcaMRFZ3028FgIJdB0snwWn0hErq NcBR4mx6YMKupuph7bHDCBDJo/BPbgk26u5FJAFtwCpi1cVCRlqWVWKie9Bew/zC MSG73YHFLeG5Le9YHFvjiJtinwoLJpz5KJdLSuiTQUQNpTgiKV+pSs4T7iDRS48V 6erHnp/9F4zKeeFG3NHnYjBK1cXvBz+mSt4oPwvqdpxOyb8Y50kqXD3pgBN3EZHp Xz/6k2yzshIU54tIyJuuAnV4KBIvCbfwLO8YaKw5BAWXQFnR87CA+kTFzlQBqeN8 v9bHdyTxcPztMc8RsRnV9d3cm7lAIIrF/oGWttWFiVO161vd7Jfko1Ojexql+0yL +MV038fAklz+E3l4Om61cu280YLmNuAo0rD9Cit8Lkko5dPCfzmYTvt/keLIT1hc VOTgPaQp3ljXHUCD1HEEgLWvmMEJ70ZP9GZZgAOzUR3JxIy80GE1cceGZ4b11G0M OVyYLn5Mi/GXwb00kUWoBJGcKOtsnynqYg4JBMcibHKS2h47pbPawaDxz6AN7QvR /naUtLeJ4lblMfitUXqdCle2cQTJKsKSaKBptrJtVkCXTEglhxi1MV+FBRlSZ4O+ fQB9Srowvh3He6RGmlZSW6/U1XyhVWN3XVUKh2agVgSU6PyakmY= =8RC5 -----END PGP SIGNATURE----- --=-7H6FkCJxvxm7gQKAPZuq-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 16:41:39 2021 Received: (at 47230) by debbugs.gnu.org; 18 Mar 2021 20:41:39 +0000 Received: from localhost ([127.0.0.1]:48182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMzSd-0006zS-Es for submit@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMzSc-0006zG-4G for 47230@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMzSW-0000Gx-CZ; Thu, 18 Mar 2021 16:41:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55072 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMzSV-0002uh-ON; Thu, 18 Mar 2021 16:41:32 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?L=C3=A9o?= Le Bouter Subject: Re: bug#47230: Build phase to graft during build for better grafts QA References: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> Date: Thu, 18 Mar 2021 21:41:29 +0100 In-Reply-To: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> (=?utf-8?Q?=22L=C3=A9o?= Le Bouter"'s message of "Thu, 18 Mar 2021 12:38:44 +0100") Message-ID: <87lfakkxdy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47230 Cc: 47230@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.7 (-) Hi, L=C3=A9o Le Bouter skribis: > I am having an hard time testing grafts in GNU Guix while I think we > could have better tooling around this. > > For example, we could have a package transformation that can add a > phase before 'check (or others) to graft any intermediate build binary > and all dependencies (if not done already) to run the test suite WITH > the graft. This could be turned on by GNU Guix contributors after > trying to graft some package to ensure it does not break things. > > What do you think? I think it=E2=80=99s more of a discussion for guix-devel than a bug report.= :-) What you describe, AIUI, is not possible: there are no phases or anything like that happening on grafted packages. Quoth the manual (info "(guix) Security Updates"): Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same =E2=80=98SONAME=E2=80=99 and be binary-com= patible. As I wrote earlier today, these things have to be checked by packagers; they=E2=80=99re not easily automated because that usually involves knowing = the intent of upstream developers, for example whether they intend the new version to be ABI-compatible with the version we have at hand, etc. HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 16:41:53 2021 Received: (at control) by debbugs.gnu.org; 18 Mar 2021 20:41:53 +0000 Received: from localhost ([127.0.0.1]:48185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMzSq-0006zu-NP for submit@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMzSp-0006zg-5n for control@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35736) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMzSj-0000NZ-UX for control@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55074 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMzSh-0002vY-PJ for control@debbugs.gnu.org; Thu, 18 Mar 2021 16:41:44 -0400 Date: Thu, 18 Mar 2021 21:41:42 +0100 Message-Id: <87k0q4kxdl.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #47230 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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.7 (-) tags 47230 notabug close 47230 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 19 05:44:52 2021 Received: (at 47230) by debbugs.gnu.org; 19 Mar 2021 09:44:52 +0000 Received: from localhost ([127.0.0.1]:48846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNBga-0003bq-Lb for submit@debbugs.gnu.org; Fri, 19 Mar 2021 05:44:52 -0400 Received: from mail.zaclys.net ([178.33.93.72]:38441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNBgY-0003ba-0x for 47230@debbugs.gnu.org; Fri, 19 Mar 2021 05:44:50 -0400 Received: from guix-xps.local (lsl43-1_migr-78-195-19-20.fbx.proxad.net [78.195.19.20] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12J9ihGW019021 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 19 Mar 2021 10:44:43 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12J9ihGW019021 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616147084; bh=adZwk4ZDf/y+CKq+L58y6j2gcKPis/xfa7Qz7OoPpY0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=gOGXOd0wvO1USJGKAazTK6HkOkuDRs20Iv9zhKGrdpEbcS+yz62ztX/YFI/cI5Zkf zACkmcCnKN5QvaPmbLNhSNJp6ZqIliu4wev0hNvwGbeRxfB32zSf4vOnPSbrI7zPAD kPrX5RtIQJ+qIx5u+0/PgnO6EF4wX3n6vuU36plc= Message-ID: <33efef8bb2595bb93282ae429d96d60bce28b413.camel@zaclys.net> Subject: Re: bug#47230: Build phase to graft during build for better grafts QA From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Fri, 19 Mar 2021 10:44:43 +0100 In-Reply-To: <87lfakkxdy.fsf@gnu.org> References: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> <87lfakkxdy.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-bxZ2lmqxChZlrXRvN35j" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47230 Cc: 47230@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 (-) --=-bxZ2lmqxChZlrXRvN35j Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2021-03-18 at 21:41 +0100, Ludovic Court=C3=A8s wrote: > I think it=E2=80=99s more of a discussion for guix-devel than a bug > report. :-) Yes but then I was thinking how do we track progress without losing it in the pile of emails from guix-devel people receive everyday which made me create a bug in the idea of "feature-request".. don't know. > What you describe, AIUI, is not possible: there are no phases or > anything like that happening on grafted packages. Quoth the manual > (info "(guix) Security Updates"): >=20 > Other restrictions may apply: for instance, when adding a graft to > a > package providing a shared library, the original shared library and > its > replacement must have the same =E2=80=98SONAME=E2=80=99 and be binary-c= ompatible. I am not sure we understand each other, I am proposing we could add tooling to aid that testing. > As I wrote earlier today, these things have to be checked by > packagers; > they=E2=80=99re not easily automated because that usually involves knowin= g > the > intent of upstream developers, for example whether they intend the > new > version to be ABI-compatible with the version we have at hand, etc. >=20 > HTH! Yes of course, but aided by tooling that process can me smoother, e.g. figuring out the SONAME has changed could at least be checked automatically and issue a warning/error. Same thing with abidiff etc. these tools are really great and we could create an easy way to run the test suite of a package with the graft in also. > Ludo=E2=80=99. Thank you --=-bxZ2lmqxChZlrXRvN35j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBUcosACgkQRaix6GvN EKY+URAAmtfptKmccNr90DOyXF0R5FTU6sTz720Eoui2OzSmnS4pBhftDC3e3BRr ka2UPIPhb2CG5Hy+V7Lsh6QWX1ac+ko9gQ0cNu2GzFzFqFTEhEYS3RUVxqy0gKGE 287zJmouJEL2l8p+pjtszNIgQWcZE18C7LrrJW6LJVV6hGppl/QMpaKaz111kiiz iRfj5FvprDKozVLLlLdTO+g6jSXmw1qHvM6hYBXK85b6cl5iTjJIQRazbvgn2hA3 lHakRSyBbWiZObV9/HAvYRSnCLe6VtbAGlZcYCPU+5aFLVc9JWcYta6PNfYXK+jn cA0iI5Au3YnFubXQY/rCy01AAEpkAJ0K5SJrYCp3k9v4bofTB1P89Ft0nm3jgENU VNC9o1MxHWkEjCWhqx3M2YUE/q5XOKx8rsWsTdVg/vSh7gl0T7auOYugB3IaKXTw 7HwmkPaPUFIJSlXrHA/mNPXi1Pn0Fv38pPED2zyEwjZs+5Nnac+fWEYuiC3c4q1l AbTeIGQwZIqV49UB9tnO5M22o8nhvLJ4VVG66yHY4A9t+w2QbAkdLB7tn+34p/Ds mmNHdmIFqrfFY6El4tnO9V4tdLBf/9+Ed9q58sBLq1hISCS4Vaq96w7EzvKhXbgG QqIquBMobFDJU+zwJmhh3GVru+VtUTa/mYYPvVT6RcsBiSDvjaQ= =NiaE -----END PGP SIGNATURE----- --=-bxZ2lmqxChZlrXRvN35j-- From unknown Wed Sep 10 15:50:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Apr 2021 11:24:05 +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