Subject: | Makepatch/applypatch |
Date: | Thu, 11 Aug 2016 12:09:43 -0400 |
To: | bug-makepatch [...] rt.cpan.org |
From: | Patrice Kouame <pkouame [...] me.com> |
Hi - thanks for the scripts. I am getting the following error trying to apply patch using your latest distro
Show quoted text
> Warning: Overall linecount mismatch: expecting 295, got 296.
> Warning: Overall bytecount mismatch: expecting 9802, got 9803.
> Warning: Overall checksum mismatch: expecting 289, got 299.
More detail...
$makepatch --verbose ext_gsl-original ext_gsl-new > src-ext_gsl.makepatch.patch
Show quoted text> This is makepatch version 2.05
> Exclude regex: (\A|/).*\~\Z
> Exclude regex: (\A|/).*\.a\Z
> Exclude regex: (\A|/).*\.bak\Z
> Exclude regex: (\A|/).*\.BAK\Z
> Exclude regex: (\A|/).*\.elc\Z
> Exclude regex: (\A|/).*\.exe\Z
> Exclude regex: (\A|/).*\.gz\Z
> Exclude regex: (\A|/).*\.ln\Z
> Exclude regex: (\A|/).*\.o\Z
> Exclude regex: (\A|/).*\.obj\Z
> Exclude regex: (\A|/).*\.olb\Z
> Exclude regex: (\A|/).*\.old\Z
> Exclude regex: (\A|/).*\.orig\Z
> Exclude regex: (\A|/).*\.rej\Z
> Exclude regex: (\A|/).*\.so\Z
> Exclude regex: (\A|/).*\.Z\Z
> Exclude regex: (\A|/)\.del\-.*\Z
> Exclude regex: (\A|/)\.make\.state\Z
> Exclude regex: (\A|/)\.nse_depinfo\Z
> Exclude regex: (\A|/)core\Z
> Exclude regex: (\A|/)tags\Z
> Exclude regex: (\A|/)TAGS\Z
> Building file list for directory ext_gsl-original ...
> Directory ext_gsl-original contains 4 files.
> Building file list for directory ext_gsl-new ...
> Directory ext_gsl-new contains 4 files.
> Processing the filelists ...
> WARNING: Binary file ext_gsl-original/.DS_Store -- skipped
> WARNING: 1 file was skipped!
> Collecting patches ...
> 1 file need to be patched.
> 2 files need to be created.
> 2 files and 1 directory need to be removed.
> Cleaning up...
$ applypatch -verbose ../src-ext_gsl.makepatch.patch
Show quoted text> Validate input.
> Warning: Overall linecount mismatch: expecting 295, got 296.
> Warning: Overall bytecount mismatch: expecting 9802, got 9803.
> Warning: Overall checksum mismatch: expecting 289, got 299.
> ApplyPatch kit apparently okay.
> Verify source directory.
> Source directory apparently okay.
> patching file ./CMakeLists.txt
> patching file ./gsl.pc.cmake
> patching file ./init.cmake
> + unlink cmake/run-cmake.bat
> + unlink cmake/init.cmake
> + rmdir cmake
Seems benign enough to possibly ignore. in fact, the apply is smooth … But just wondering what might be its cause. I would like
My open source project to consider its use.
My environment (bleeding edge, but pretty solid):
macOS 10.12 public beta 4
Xcode 8 beta 4
Latest Command line tools
$diff -v
Show quoted text> diff (GNU diffutils) 2.8.1
$patch -v
Show quoted text> patch 2.5.8
$perl -v
Show quoted text> This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
> (with 2 registered patches, see perl -V for more detail)
Thanks in advance, P.