>>> Source unpacked in /var/tmp/portage/kde-base/libkdcraw-9999/work >>> Preparing source in /var/tmp/portage/kde-base/libkdcraw-9999/work/libkdcraw-9999 ... * Applying libkdcraw-4.10.90-extlibraw.patch ... * Failed Patch: libkdcraw-4.10.90-extlibraw.patch ! * ( /overlay/kde-base/libkdcraw/files/libkdcraw-4.10.90-extlibraw.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/kde-base/libkdcraw-9999/temp/libkdcraw-4.10.90-extlibraw.patch.out * ERROR: kde-base/libkdcraw-9999::kde failed (prepare phase): * Failed Patch: libkdcraw-4.10.90-extlibraw.patch! PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/overlay/kde-base/libkdcraw/files/libkdcraw-4.10.90-extlibraw.patch' ============================================= checking file CMakeLists.txt checking file cmake/modules/FindLibRaw.cmake checking file libkdcraw/CMakeLists.txt Hunk #1 FAILED at 22. Hunk #2 succeeded at 44 (offset 2 lines). 1 out of 2 hunks FAILED checking file libkdcraw/libkdcraw_export.h patch program exited with status 1
This is half fixed. The patch has been updated in git, but upstream currently depends on an unreleased version of libraw. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=950291fdf36fa196a39ad5e9b5ff94e5e71f55e2
About libraw version please take a look at my ticket #488302 - ebuild provided there allows libkdcraw (and other dependencies) to install properly. I think it's worth including at least in overlay for the time being.
By the way: * Failed Patch: libkdcraw-4.12.0-extlibraw.patch ! * ( /var/lib/layman/kde/kde-base/libkdcraw/files/libkdcraw-4.12.0-extlibraw.patch ) There is no embedded libraw at all in libkdcraw now, so probably this patch is not needed anymore.
Removed the patch and raised the dep...See comments in bug #488302 why it is still failing. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=35ebeada346baece4b226e2f765eab9430b41d30
Tested with =media-libs/libraw-0.16.0_alpha2-r1.
Since KDE 4.12 might be released before next libraw, upstream now supports older version (with newer still preferred). http://commits.kde.org/libkdcraw/6c91e18cedfe5ef37d202f6d0cf4fde1a607a9a9