Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887769 - media-gfx/gthumb-3.12.2-r4 +raw: Fails to build against media-libs/libraw-0.21.0
Summary: media-gfx/gthumb-3.12.2-r4 +raw: Fails to build against media-libs/libraw-0.21.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: libraw-0.21
  Show dependency tree
 
Reported: 2022-12-21 20:42 UTC by Bernd Feige
Modified: 2022-12-21 23:52 UTC (History)
1 user (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 Bernd Feige 2022-12-21 20:42:37 UTC
libraw_init is called with flag LIBRAW_OPIONS_NO_MEMERR_CALLBACK that is no longer available. In extensions/raw_files, gth-metadata-provider-raw.c and main.c are affected. Removing LIBRAW_OPIONS_NO_MEMERR_CALLBACK allows gthumb to compile.

../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c: In function ‘gth_metadata_provider_raw_read’:
../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c:65:33: error: ‘LIBRAW_OPIONS_NO_MEMERR_CALLBACK’ undeclared (first use in this function); did you mean ‘LIBRAW_OPIONS_NO_DATAERR_CALLBACK’?
   65 |         raw_data = libraw_init (LIBRAW_OPIONS_NO_MEMERR_CALLBACK | LIBRAW_OPIONS_NO_DATAERR_CALLBACK);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 LIBRAW_OPIONS_NO_DATAERR_CALLBACK
../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c:65:33: note: each undeclared identifier is reported only once for each function it appears in


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-12-21 23:52:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1693061313af2aabb5c987deb1b7670b5c67ffb2

commit 1693061313af2aabb5c987deb1b7670b5c67ffb2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-21 23:49:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-21 23:52:00 +0000

    media-gfx/gthumb: fix build w/ libraw-0.21
    
    Closes: https://bugs.gentoo.org/887769
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gthumb/files/3.12.2-libraw-0.21.patch | 55 +++++++++++++++++++++++++
 media-gfx/gthumb/gthumb-3.12.2-r4.ebuild        |  1 +
 2 files changed, 56 insertions(+)