[MacPorts] #70366: gthumb fails to build: error: 'LIBRAW_OPIONS_NO_MEMERR_CALLBACK' undeclared

MacPorts noreply at macports.org
Sat Jul 13 01:39:25 UTC 2024


#70366: gthumb fails to build: error: 'LIBRAW_OPIONS_NO_MEMERR_CALLBACK' undeclared
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  gthumb        |
---------------------------+--------------------

Comment (by barracuda156):

 There is a patch for this error:
 https://gitlab.gnome.org/GNOME/gthumb/-/commit/da0d3f22a5c3a141211d943e7d963d14090011ec.patch

 However, then build fails on another bug:
 {{{
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-
 spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0
 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
 -I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/libpng16 -I/opt/local/include/gsettings-desktop-
 schemas -I/opt/local/include/libraw -I../.. -I../../gthumb -pipe -Os -arch
 ppc -fPIC -DPIC -Wall -Wall -pipe -Os -arch ppc -Wall -Wno-unused -MT
 libraw_files_la-main.lo -MD -MP -MF .deps/libraw_files_la-main.Tpo -c
 main.c  -fno-common -DPIC -o .libs/libraw_files_la-main.o
 main.c: In function '_cairo_image_surface_create_from_raw':
 main.c:256: error: 'libraw_output_params_t' has no member named
 'use_rawspeed'
 make[3]: *** [libraw_files_la-main.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70366#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list