Your message dated Wed, 17 Jun 2020 19:16:51 -0700 with message-id <CAFHYt54UuXfy46PBVMnq0tX37ZBHmY0L9o35GAO83i6K6z=9UQ@mail.gmail.com> and subject line lintian: Warn about git binary diffs in quilt patches has caused the Debian Bug report #706576, regarding lintian: Warn about git binary diffs in quilt patches to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 706576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706576 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: warn of git binary diffs in quilt patches
- From: Jakub Wilk <jwilk@debian.org>
- Date: Wed, 1 May 2013 22:15:46 +0200
- Message-id: <20130501201546.GA6144@jwilk.net>
Package: lintian Version: 2.5.12 Severity: wishlistI've seen a package that had a quilt patch with a hunk being git binary diff (see bug #706508). Such hunks are currently ignored by patch(1) from wheezy/unstable, but they fail to apply with patch(1) from experimental. It would be nice if Lintian could warn of such patches.-- Jakub Wilk
--- End Message ---
--- Begin Message ---
- To: Jakub Wilk <jwilk@debian.org>
- Cc: 706576-done@bugs.debian.org, Bastien Roucariès <rouca@debian.org>
- Subject: lintian: Warn about git binary diffs in quilt patches
- From: Felix Lechner <felix.lechner@lease-up.com>
- Date: Wed, 17 Jun 2020 19:16:51 -0700
- Message-id: <CAFHYt54UuXfy46PBVMnq0tX37ZBHmY0L9o35GAO83i6K6z=9UQ@mail.gmail.com>
Hi Jakub, I wrote a check, a tag and a test (attached for posterity) but they are useless. dpkg exits because patch(1) refuses to apply the patch. Please see the error at the bottom of this message for details. The patch creates a binary file with the first 256 bytes of /bin/ls on my system. The condition you requested cannot be tested. Unfortunately, it will not be available in Lintian. Closing this bug. Kind regards Felix Lechner * * * dpkg-source: warning: diff 'start-of-bin-ls-1.0/debian/patches/0001-Creates-a-binary-file-the-first-256-bytes-of-bin-ls.patch' doesn't contain any patch dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building start-of-bin-ls using existing ./start-of-bin-ls_1.0.orig.tar.gz dpkg-source: info: using patch list from debian/patches/series File start-of-bin-ls: git binary diffs are not supported. dpkg-source: info: the patch has fuzz which is not allowed, or is malformed dpkg-source: info: if patch '0001-Creates-a-binary-file-the-first-256-bytes-of-bin-ls.patch' is correctly applied by quilt, use 'quilt refresh' to update it dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/0001-Creates-a-binary-file-the-first-256-bytes-of-bin-ls.patch/ --reject-file=- < start-of-bin-ls-1.0.orig.Auu7Cz/debian/patches/0001-Creates-a-binary-file-the-first-256-bytes-of-bin-ls.patch subprocess returned exit status 1Attachment: binary-diff.pm
Description: Perl programAttachment: git-binary-diff.desc
Description: Binary dataAttachment: testcase.tar.xz
Description: application/xz
--- End Message ---