From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kMPmLDG7U2BidQAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 20:42:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IxNiKDG7U2CUOQAA1q6Kng (envelope-from ) for ; Thu, 18 Mar 2021 20:42:25 +0000 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 BA900E249 for ; Thu, 18 Mar 2021 21:42:21 +0100 (CET) Received: from localhost ([::1]:45060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMzTI-0002Fg-JW for larch@yhetil.org; Thu, 18 Mar 2021 16:42:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMzT0-0002FK-3P for bug-guix@gnu.org; Thu, 18 Mar 2021 16:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMzSz-0000Uk-JQ for bug-guix@gnu.org; Thu, 18 Mar 2021 16:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMzSz-00070H-Gv for bug-guix@gnu.org; Thu, 18 Mar 2021 16:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47230: Build phase to graft during build for better grafts QA Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Mar 2021 20:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47230 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?L=C3=A9o?= Le Bouter Received: via spool by 47230-submit@debbugs.gnu.org id=B47230.161610009926879 (code B ref 47230); Thu, 18 Mar 2021 20:42:01 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> Date: Thu, 18 Mar 2021 21:41:29 +0100 In-Reply-To: <618353059b4460b250ab12e0f556781e2ff07b56.camel@zaclys.net> ("=?UTF-8?Q?L=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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47230@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616100142; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ea3sxNFVnbMdp1JTv/EGZ1RqtLa733Z4spfSYf1oCjA=; b=QbvAtudOE6FmHCvgXL15ui9Uziu90YJP1NuZTyFSV8L/yOLwFfGBufT1tofX29ZALZV3Uy RVdyPjCCy84hB8DkaXgvTsto03kFtWNXgJElKiVltYvoJh9i3BO4p/sO2mPds+QelS5MZd mqYYevvSx5O21ys4S6t6CNk+HZM3S+7yuHAWnziYLf0XlE5dfEuY5fIv3wi23h1nn7Vd2e uno+7gxbBaRI/PF/p8VXEfexoEa63agYNwqP6p+2wrfbKdR8iFTKUZ5JgNGbwIdeU92FrC SwbqPO8m4YU1soivzYznChzdiTPOaYDPVvRLkhDe7+kHuS6WHuBvx6cTNh9EJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616100142; a=rsa-sha256; cv=none; b=trTssbMHl3tltCiSpaDLnQ0U0qznp7m75TIWaL8wcE7ewqNIP4i1rNYEfz0KBYDU7ts2jv bk/kSHGfrhLtqBK77cKyGnIPpjQLwXhDfSYC1O6edAEFeMXipkqaoyN7ZQ6y4p9ppypjS4 pTQN6B+ae1cLHeunKWJGZ5xRVlB4tG1iL7AX+7Urhmhgd6/N+y68CpL7dLF4EMOAaKw2VF cKrrd3hdSQJyADQSj3eyA/Ftk92Enym7cOaiv7PWiwu426yBAVBLsIO2vw19SYe9T+Yqjn 5/olNVT0LDbB24ZduiVSu5MddgCWhQFlsENsAHbkcD3izIN6ng0pEysJGn55eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BA900E249 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: SKi+AEFUFAuu 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.