Hello The file dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch is in DOS Format so the cmake ebuild fails with: * Applying cmake-2.8.10.2-FindPythonLibs.patch ... * Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch ! * ( /mnt/data/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch ) * Reproducible: Always Steps to Reproduce: 1. emerge cmake-2.8.10.2-r2.ebuild or just look at dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch
It's absolutely fine here, so re-sync your portage tree and try again.
Its only fine because you have a newer version of patch which ignores line ending, the diff in the repository has DOS line endings and thats bad !
P.S: Just install patch-1.5.9 and try it again, or as I've written above load the file into a hexeditor and you can see the DOS line endings ...
Sorry, which version of patch was this broken with and which version did this work with? I'm experiencing this myself too when working on packages, my editor sets line endings wrong; I can usually fix it with by using dos2unix or unix2dos.
Hello patch-1.6.1 can handle DOS line endings, patch-1.5.9 not
(In reply to Helmut Auer from comment #5) > Hello > patch-1.6.1 can handle DOS line endings, patch-1.5.9 not I assume you mean patch-2.6.1 and patch-2.5.9. I've hit this issue with DOS line endings a few years ago. Since 2.6.1 has stable keywords on all relevant arches, who is still using 2.5.9 and why?
Sure :)
P.S. Anyway its a bad thing to provide patches with DOS line endings ...
Thanks for reporting. Hopefully the patch is now fixed. Please sync in some hours to get the change. + 10 Jul 2013; Johannes Huber <johu@gentoo.org> + files/cmake-2.8.10.2-FindPythonLibs.patch: + Format patch with dos2unix, bug #476064. +
Thanks Johannes !