From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] Makefile.am: add a target that lists patches no longer used Date: Fri, 21 Apr 2017 13:41:06 -0400 Message-ID: <20170421174106.GC3370@jasmine> References: <1431992050-18271-1-git-send-email-tipecaml@gmail.com> <20170420191546.GA7000@jasmine> <20170420232023.01bb2e6d@centurylink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DSayHWYpDlRfCAAQ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1cYS-0001jM-Up for guix-devel@gnu.org; Fri, 21 Apr 2017 13:41:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1cYO-0006z1-2r for guix-devel@gnu.org; Fri, 21 Apr 2017 13:41:13 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40719) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1cYN-0006yc-VJ for guix-devel@gnu.org; Fri, 21 Apr 2017 13:41:08 -0400 Content-Disposition: inline In-Reply-To: <20170420232023.01bb2e6d@centurylink.net> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org --DSayHWYpDlRfCAAQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 20, 2017 at 11:20:23PM -0500, Eric Bavier wrote: > Attached is my own shot at this. It does not make use of git, so > should be fine as a regular test. It doesn't check whether the files > listed in dist_patch_DATA actually exist, because `make dist` already > checks that. I suppose it might be nice, if git a git checkout, to > check whether the used patches are all known to git... I do think it's better to avoid depending on Git here. > -----------BEGIN test-suite.log---------------- > FAIL: tests/patches > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > test-name: distributed patches are used > location: /home/bavier/projects/guix/tests/patches.scm:50 > source: > + (test-equal > + "distributed patches are used" > + '() > + (lset-difference > + string=3D? > + distributed-patches > + used-patches)) > expected-value: () > actual-value: ("/home/bavier/projects/guix/gnu/packages/patches/ath9k-htc= -firmware-binutils.patch" "/home/bavier/projects/guix/gnu/packages/patches/= ath9k-htc-firmware-gcc.patch" "/home/bavier/projects/guix/gnu/packages/patc= hes/coreutils-cut-huge-range-test.patch" "/home/bavier/projects/guix/gnu/pa= ckages/patches/gawk-shell.patch" "/home/bavier/projects/guix/gnu/packages/p= atches/gcc-libiberty-printf-decl.patch" "/home/bavier/projects/guix/gnu/pac= kages/patches/gcc-4.9.3-mingw-gthr-default.patch" "/home/bavier/projects/gu= ix/gnu/packages/patches/gcj-arm-mode.patch" "/home/bavier/projects/guix/gnu= /packages/patches/glibc-bootstrap-system.patch" "/home/bavier/projects/guix= /gnu/packages/patches/grub-CVE-2015-8370.patch" "/home/bavier/projects/guix= /gnu/packages/patches/grub-gets-undeclared.patch" "/home/bavier/projects/gu= ix/gnu/packages/patches/grub-freetype.patch" "/home/bavier/projects/guix/gn= u/packages/patches/guile-arm-fixes.patch" "/home/bavier/projects/guix/gnu/p= ackages/patches/icu4c-CVE-2017-7867-CVE-2017-7868.patch" "/home/bavier/proj= ects/guix/gnu/packages/patches/icu4c-reset-keyword-list-iterator.patch" "/h= ome/bavier/projects/guix/gnu/packages/patches/ldc-disable-tests.patch" "/ho= me/bavier/projects/guix/gnu/packages/patches/ldc-1.1.0-disable-dmd-tests.pa= tch" "/home/bavier/projects/guix/gnu/packages/patches/ldc-1.1.0-disable-pho= bos-tests.patch" "/home/bavier/projects/guix/gnu/packages/patches/libgit2-u= se-after-free.patch" "/home/bavier/projects/guix/gnu/packages/patches/libxs= lt-CVE-2016-4738.patch" "/home/bavier/projects/guix/gnu/packages/patches/mp= layer2-theora-fix.patch" "/home/bavier/projects/guix/gnu/packages/patches/p= atchelf-rework-for-arm.patch" "/home/bavier/projects/guix/gnu/packages/patc= hes/pcre-CVE-2017-7186.patch" "/home/bavier/projects/guix/gnu/packages/patc= hes/perl-net-ssleay-disable-ede-test.patch" "/home/bavier/projects/guix/gnu= /packages/patches/readline-7.0-mingw.patch" "/home/bavier/projects/guix/gnu= /packages/patches/soprano-find-clucene.patch" "/home/bavier/projects/guix/g= nu/packages/patches/texlive-texmf-CVE-2016-10243.patch" "/home/bavier/proje= cts/guix/gnu/packages/patches/util-linux-CVE-2017-2616.patch" "/home/bavier= /projects/guix/gnu/packages/patches/xf86-video-ast-remove-mibstore.patch" "= /home/bavier/projects/guix/gnu/packages/patches/xf86-video-intel-compat-api= =2Epatch" "/home/bavier/projects/guix/gnu/packages/patches/xf86-video-intel= -glibc-2.20.patch") At least one of these is a false positive: icu4c-CVE-2017-7867-CVE-2017-7868.patch It's used in a grafted package. --DSayHWYpDlRfCAAQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlj6RDIACgkQJkb6MLrK fwhsyhAAtdCFYXhI5eokXqp2aZCJTad2t/CH7aZLFZvjBeQVvwVdriQHx/7KZfdV PsuAhzD5UvN8wa+J6zlfKF2ZeftjFrYPKfqYIiD9/dw5eprp1z/S84o0NuaX2XP2 TocdDryQm4le/xOsEMG0HJIJcIP7bPIypLjr3dWQdpQiRA3W7Za8oZqtSz6V6ehj gG53BRZifYKszUg7D+hezpNl2ds72LR1BWBXuAkTEoD20+NG6sCZFWQHureJAzId 3t/gO2BvDniqTUl/5q7hxP0DrOS/ZqmiMVtcju7kNqGpUgSbLzbV6/gu+rRWg1u8 sOQnNybF+E9AyKxviX0TFcvKOPBoWh7KGO9VxYCJK2fJbPCihAyqsWmkT665toxh dRfBzO10kdjuCAvk+QN5Bg3eAmcy30KsGyH07ExnSyev3iNq2J4p/YO/Jf+DlZEk yoITqvASVRZYAvUfrUfqdgaf64VhZJsuNPiggCN61MiUZXMzRdt6mfeTDnWSryOQ QdJCoCCA+kzXcj/a5AZj2jiX7YyYhdYFGOTg2qY48ifuNuzqXhsvSvbzssNWL/SE gP6w3B+Qy/Q/6fJraoErHDzNI+XINmridjPEV7uZDO82LxT+BJwkoUIDSH7oKKoi XjHAh4T7zO1bQ6PYX4OMny39hpRsDiQZLhcELzEn18Pw4F8tFLA= =teoz -----END PGP SIGNATURE----- --DSayHWYpDlRfCAAQ--