Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484736 - [kde overlay] kde-base/libkdcraw-9999 fails to patch
Summary: [kde overlay] kde-base/libkdcraw-9999 fails to patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 488302 488598
Blocks:
  Show dependency tree
 
Reported: 2013-09-13 09:31 UTC by Patrick Lauer
Modified: 2013-10-21 13:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-09-13 09:31:04 UTC
>>> 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
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-09-19 11:45:37 UTC
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
Comment 2 Jakub Caban 2013-10-16 21:05:59 UTC
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.
Comment 3 Jakub Caban 2013-10-18 09:36:17 UTC
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.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2013-10-18 16:15:54 UTC
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
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 11:25:42 UTC
Tested with =media-libs/libraw-0.16.0_alpha2-r1.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2013-10-21 13:13:42 UTC
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