emerge fails when building media-libs/gegl-0.4.40-r1 with media-libs/libraw-0.21.0 due to libraw API change Reproducible: Always Steps to Reproduce: 1. emerge media-libs/gegl-0.4.40-r1 with media-libs/libraw-0.21.0 merged 2. 3.
Created attachment 844107 [details] build log
Created attachment 844109 [details] emerge --info
Created attachment 844111 [details, diff] proposed patch to raw-load.c attached patch to raw-load.c that allows build to complete
Patch will need a tiny adjustment to add ifdef for libraw version before applying
Created attachment 844121 [details, diff] updated patch to check for libraw version modified patch: added check for libraw version
Same here
confirmed and updated patch works
I can also confirm that the updated patch allowed a clean compile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e37f1398f63db9f2a6fe4133599a7169f6780e38 commit e37f1398f63db9f2a6fe4133599a7169f6780e38 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-21 23:47:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-21 23:52:00 +0000 media-libs/gegl: fix build w/ libraw-0.21 Closes: https://bugs.gentoo.org/887421 Signed-off-by: Sam James <sam@gentoo.org> .../gegl/files/gegl-0.4.40-libraw-0.21.patch | 26 ++++++++++++++++++++++ media-libs/gegl/gegl-0.4.40-r1.ebuild | 1 + 2 files changed, 27 insertions(+)
Sam James, thank you for fix the ebuild
*** Bug 887819 has been marked as a duplicate of this bug. ***
The patch is now in gegl master branch. Please remove it from the live ebuild.
(In reply to jospezial from comment #12) > The patch is now in gegl master branch. Please remove it from the live > ebuild. e37f1398f63db9f2a6fe4133599a7169f6780e38 didn't add it to the live ebuild and I don't see it in the live ebuild now either: $ grep -rsin libraw-0.21 gegl-0.4.40-r1.ebuild:81: "${FILESDIR}"/${PN}-0.4.40-libraw-0.21.patch
(In reply to Sam James from comment #13) > (In reply to jospezial from comment #12) > > The patch is now in gegl master branch. Please remove it from the live > > ebuild. > > e37f1398f63db9f2a6fe4133599a7169f6780e38 didn't add it to the live ebuild > and I don't see it in the live ebuild now either: > > $ grep -rsin libraw-0.21 > gegl-0.4.40-r1.ebuild:81: "${FILESDIR}"/${PN}-0.4.40-libraw-0.21.patch Sorry,nevermind. I had it as local patch. Called __helpers_die 'patch -p1 failed with /etc/portage/patches/media-libs/gegl/libraw.patch'