From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gPP1Ip7eamAZnQAAgWs5BA (envelope-from ) for ; Mon, 05 Apr 2021 11:55:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kPrLHJ7eamDfcAAAbx9fmQ (envelope-from ) for ; Mon, 05 Apr 2021 09:55:42 +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 23759186E4 for ; Mon, 5 Apr 2021 11:55:42 +0200 (CEST) Received: from localhost ([::1]:50248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTLxN-0002NV-1c for larch@yhetil.org; Mon, 05 Apr 2021 05:55:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTLwv-0002NM-Uj for guix-devel@gnu.org; Mon, 05 Apr 2021 05:55:13 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:46502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTLwt-0005hr-Gz for guix-devel@gnu.org; Mon, 05 Apr 2021 05:55:13 -0400 Received: from butterfly.local ([213.119.134.180]) by albert.telenet-ops.be with bizsmtp id oxv8240073thoj106xv8ci; Mon, 05 Apr 2021 11:55:09 +0200 Message-ID: <87f3e78e5e46a8ad6f7087436bc61048456a5429.camel@telenet.be> Subject: Re: Needed: tooling to detect references to buggy */stable packages (was: Re: [PATCHES] ImageMagick security updates without grafting) From: Maxime Devos To: Mark H Weaver , guix-devel@gnu.org Date: Mon, 05 Apr 2021 11:53:36 +0200 In-Reply-To: <87zgyd7qo3.fsf@netris.org> References: <878s68zqsd.fsf@netris.org> <927d66ccc760afacdb88485c5158731458d52dd6.camel@telenet.be> <87k0psdu25.fsf@netris.org> <9fb6ac4f0893446e3619d62395e035a446a9606f.camel@telenet.be> <875z1bdkmq.fsf@netris.org> <87zgymdi2n.fsf@netris.org> <6d8fdc44cf956c4ac450c9d2713e9be4cfce5757.camel@telenet.be> <87zgyd7qo3.fsf@netris.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-G0MDfUnkkp3Sd2rzTpKl" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1617616509; bh=F/rhDp7P91aZiNAXyM8gm2jiJ7//HHaC48rZDCV104k=; h=Subject:From:To:Date:In-Reply-To:References; b=iAjTbQpXOv8vXA48A4p8lqAeyO7+x2wIJ/+9ZBxqYBi20szugQLOIUJnZYZx51xsS /xBdAFK7Q8tCTWQK7gmXrwJxEkRV5km5Cvt4RgqsWLUo6DJV5Svois9Xglut7xFtOr XXMFvi3apzCSzHmAL40OUe0vFAq1WFfAgk9r3FM23sOr2MIojFkKQATYc/u6fC8W6c xaLfb29ooEu3scr5D8huQpqSMwGymqOF6oY+4bCDq0Y/suP7yjSiKkSxunf+2jKm2I CfwO2XOLyi3tG/2bZV/U6wHAzEiz8CVWUlrR6hoSZ9PUMnNYBA3knaF2cJHUhfsDhm 3hUIrrymy0xgA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617616542; 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=F/rhDp7P91aZiNAXyM8gm2jiJ7//HHaC48rZDCV104k=; b=P4QWiLVqpJCfRqnxQ0vUk6v+rKsqJJMlJgp/FkaUFDeNKnoG3cDqzM6M4EPUnyLhvqPu62 M37+NwMcI/Zb6FKwLxM1HoZtGrJr6Y0aaI0YGIM1ntQvgt/PYfxLOdFTBGtgwzuOdyX4Ua XXUPdwGczOMwx8rD3xtVuC5oZhI8djTy5wFdMasHQ/acDXG7Z64y0p5GmEoscZMBxmaMl0 4ILLru91juQtnAl+KVMMaphQP/H4UXB8oTfIRr4GTWzfpQMOdArvBhCM5W9JMjj2G1J0Zx 32Y0yc7VhrOetr0Y8v5mvduzRjT+L1ctqO2VvACbu1OwDgsB5V+qM4rNGnOlJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617616542; a=rsa-sha256; cv=none; b=C5hNehIePmxvVoxocj1/6rB0b7Lr+vyZ2zSEu73DJmvUG47twiG3vY/6EFzEsQCL+1QOpk pw3kfZHfLXJfcLezMLfSxPefQDvXAsIMUumq3n4pC4DR7Ml4kmPLhiMemuvEs6kM0X0QzS KXK5wliDm3equWS1vKOiH2cVYlGAQHs/Mj6gdj0EkXStYY92Sn/w8/T7W88BCH6Z+cIURS E57oaJ5bClf+Jm2LfmlafODmOzSYFeX0YGOqhRqcm1j0loJ89kUx63MccflxP1YOlf36mz R3WdfAgu6nveRHCZN2C1GxeDlrEepr3kGQkVuA7u2azjPsq55URIaA1ADwXnEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=iAjTbQpX; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.24 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=iAjTbQpX; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 23759186E4 X-Spam-Score: -5.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z9pjWCtSHMep --=-G0MDfUnkkp3Sd2rzTpKl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2021-04-04 at 16:14 -0400, Mark H Weaver wrote: > Maxime Devo wrote: > > * In some places we have the following pattern: > >=20 > > [...] > I don't understand this. Why would it need to be made unconditional? I don't understand either anymore. > [...] > > At the present time, I'm more inclined to add machinery to automatically > add _implicit_ #:disallowed-references, to enforce this checking at > package build time. This would require rebuilding everything that > depends on a '*/stable' package, which means that this kind of tooling > could not be applied directly to 'master', but would need to go through > 'staging'. That seems good to me. I believe the current plan is: * Add a 'stable' property to the gtk-doc/stable, dblatex/stable ... package= s. * Change gnu-build-system, glib-or-gtk-build-system ... to implicitely add packages in inputs, propagated-inputs or native-inputs that have the 'sta= ble' property to #:disallowed-references, unless the package that is being bui= lt is a 'stable' package itself. And an idea for the future is: * Implicitely add all packages in native-inputs to #:disallowed-references, unless they are in inputs or propagated-inputs as well. * Verify everything still works well (when cross-compiling and when compili= ng natively), and fix breakage. Greetings, Maxime. --=-G0MDfUnkkp3Sd2rzTpKl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYGreIBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rN7AQDODZOiS3KpX0HWvwsuy7SiVG6Q Ic/sC3Bm/pZcztGqEgEAm5UxasBYwvAcw1aHU9SoeiPtMFUdPk3rt+R5CaCkvgY= =2ooS -----END PGP SIGNATURE----- --=-G0MDfUnkkp3Sd2rzTpKl--