During a world update, a patch to the vim source failed: <snip> 6.1.144 6.1.145 6.1.146 Applying patch /var/tmp/portage/vim-6.1-r13/work/6.1.001...patch: **** replacement text or line numbers mangled in hunk at line 22 !!! ERROR: The ebuild did not complete successfully. !!! Function src_unpack, Line -15, Exitcode 2 !!! (no error message) I am using diffutils-2.8.4.
*** Bug 8389 has been marked as a duplicate of this bug. ***
I am using diffutils 2.7.7 and it appears to be working fine. Could it be diffutils? I'll manually install 2.8.4 to see.
diffutils 2.8.4 seems to work just fine for me.
maybe your ${FILESIDR}/vimpatch.tar.bz2 is corrupt? please delete it and do an emerge sync with the new rsynced vimpatch.tar.bz2.
Deleted vimpatch.tar.bz2, re-synced the tree, still getting the same problem :( I had a similar problem with tetex, same machine. Any other ideas? Bit of the patch/line number in question (I could attach the whole file, as well, if you want, but it looks alright to me.): 20: --- src/edit.c Wed Mar 27 19:25:13 2002 21: *************** 22: *** 3669,3674 **** 23: --- 3669,3680 ----
What's the md5sum of vimpatch.tar.bz2 and 6.1_patches.80.84.diff ? 6e3418258a9973a532d1703544411fa1 vimpatch.tar.bz2 38ae3423789e097a1fc2ed45b0a342f0 6.1_patches.80.84.diff
38ae3423789e097a1fc2ed45b0a342f0 6.1_patches.80.84.diff 6e3418258a9973a532d1703544411fa1 vimpatch.tar.bz2 and * sys-apps/diffutils Latest version available: 2.8.4 Latest version installed: 2.7.7 Homepage: http://www.gnu.org/software/diffutils/diffutils.html Description: Tools to make diffs and compare files
i just updated diffutils. same error
And I'm completely up to date with *no* problems.
Brett has submitted a new patches for vim upto 197.... Can you guys test?
oops forgot... see bug #8400 for the patch file
I have the correct md5sums for both. I've removed both files and resynced the portage tree. Now emerge -p -u vim shows an upgrade to python and tk first? Same problem; 6.1.146 Applying patch /var/tmp/portage/vim-6.1-r13/work/6.1.001...patch: **** replacement text or line numbers mangled in hunk at line 22 Is there some reason why the most recent diffutils would have problems? The tetex package has generated similar errors, but only certain versions. When I submitted a bug report, it was recommended that I unmask a more recent version of tetex and try. Sure enough, it worked, but the next time tetex was updated along with world, it wouldn't patch. Spider, can you merge the latest tetex?
re-emerge of patch and diffutils with -O2 instead of -O3 solved this gcc 3.2 , please note, -O3 can bring failures