Opened 4 months ago
Last modified 4 months ago
#70366 new defect
gthumb fails to build: error: 'LIBRAW_OPIONS_NO_MEMERR_CALLBACK' undeclared
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | gthumb |
Description
Making all in oauth make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/oauth' make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/oauth' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/oauth' make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/oauth' Making all in raw_files make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/raw_files' /bin/sh ../../libtool --tag=CC --mode=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 -o libraw_files_la-main.lo `test -f 'main.c' || echo './'`main.c /bin/sh ../../libtool --tag=CC --mode=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-gth-metadata-provider-raw.lo -MD -MP -MF .deps/libraw_files_la-gth-metadata-provider-raw.Tpo -c -o libraw_files_la-gth-metadata-provider-raw.lo `test -f 'gth-metadata-provider-raw.c' || echo './'`gth-metadata-provider-raw.c 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-gth-metadata-provider-raw.lo -MD -MP -MF .deps/libraw_files_la-gth-metadata-provider-raw.Tpo -c gth-metadata-provider-raw.c -fno-common -DPIC -o .libs/libraw_files_la-gth-metadata-provider-raw.o 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':gth-metadata-provider-raw.c: In function 'gth_metadata_provider_raw_read': gth-metadata-provider-raw.c:80: error: 'LIBRAW_OPIONS_NO_MEMERR_CALLBACK' undeclared (first use in this function) gth-metadata-provider-raw.c:80: error: (Each undeclared identifier is reported only once gth-metadata-provider-raw.c:80: error: for each function it appears in.) main.c:243: error: 'LIBRAW_OPIONS_NO_MEMERR_CALLBACK' undeclared (first use in this function) main.c:243: error: (Each undeclared identifier is reported only once main.c:243: error: for each function it appears in.) main.c:256: error: 'libraw_output_params_t' has no member named 'use_rawspeed' make[3]: *** [libraw_files_la-gth-metadata-provider-raw.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [libraw_files_la-main.lo] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gthumb/gthumb/work/gthumb-3.4.5/extensions/raw_files' make[2]: *** [all-recursive] Error 1
Note: See
TracTickets for help on using
tickets.
There is a patch for this error: https://gitlab.gnome.org/GNOME/gthumb/-/commit/da0d3f22a5c3a141211d943e7d963d14090011ec.patch
However, then build fails on another bug: