When trying to emerge dev-lang/tuprolog-2.5.0 applying the javadoc patch fails and thus the ebuild exits Reproducible: Always Steps to Reproduce: 1. emerge dev-lang/tuprolog-2.5.0 Actual Results: Patch fails Expected Results: working patch * Applying tuprolog-2.5.0-javadocs.patch ... * Failed Patch: tuprolog-2.5.0-javadocs.patch ! * ( /usr/portage/dev-lang/tuprolog/files/tuprolog-2.5.0-javadocs.patch ) * The interesting part: PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-lang/tuprolog/files/tuprolog-2.5.0-javadocs.patch' ========================================= patching file src/alice/tuprolog/ChoicePointStore.java patching file src/alice/tuprolog/ClauseStore.java patching file src/alice/tuprolog/EngineManager.java patching file src/alice/tuprolog/event/SpyEvent.java patching file src/alice/tuprolog/lib/BasicLibrary.java patching file src/alice/tuprolog/lib/IOLibrary.java patching file src/alice/tuprolog/lib/JavaLibrary.java patching file src/alice/tuprolog/PrimitiveManager.java patching file src/alice/tuprologx/ide/Console.java patching file src/alice/tuprologx/ide/LibraryDialogFrame.java patching file src/alice/tuprologx/ide/ToolBar.java patching file src/alice/tuprologx/pj/lib/PJLibrary.java patching file src/alice/util/jedit/InputHandler.java Hunk #1 FAILED at 24. 1 out of 2 hunks FAILED -- saving rejects to file src/alice/util/jedit/InputHandler.java.rej patching file src/alice/util/jedit/JEditTextArea.java patching file src/alice/util/jedit/KeywordMap.java patching file src/alice/util/jedit/TextAreaPainter.java patching file src/alice/util/jedit/TokenMarker.java Hunk #1 succeeded at 23 with fuzz 2. patching file src/alice/util/ReadOnlyLinkedList.java patch program exited with status 1 ========================================= So, InputHandler.java cannot be patched properly.
I wanted to add the contents of the rej file, but I can't seem to find it. At least the given info should be suficient to find the problem in the patch.
Thanks for reporting this. This bug was caused by CVS Id tags being expanded in the patch file. I've re-added the patch as binary to CVS.