Opened 4 years ago

Closed 4 years ago

#59275 closed defect (fixed)

GIMP-Lensfun build failure

Reported by: Schamschula (Marius Schamschula) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: GIMP-Lensfun

Description

While building GIMP-Lensfun under Mojave, Xcode 10.3 I get the following error:

:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-Lensfun/work/GIMP-Lensfun-0.2.4" && /usr/bin/make -j8 -w all 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-Lensfun/work/GIMP-Lensfun-0.2.4" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-Lensfun/work/seebk-GIMP-Lensfun-dfbd440'
:info:build /usr/bin/clang++ -DDEBUG=0 -O3 -Wall -D_REENTRANT -I/opt/local/include/gimp-2.0 -I/opt/local/include/gegl-0.4 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/babl-0.1 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -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/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/lensfun -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -c -o src/gimplensfun.o src/gimplensfun.cpp
:info:build In file included from src/gimplensfun.cpp:31:
:info:build In file included from /opt/local/include/gimp-2.0/libgimp/gimp.h:25:
:info:build In file included from /opt/local/include/gegl-0.4/gegl.h:40:
:info:build /opt/local/include/gegl-0.4/gegl-parallel.h:134:29: error: expected expression
:info:build                             [] (gint     i,
:info:build                             ^
:info:build /opt/local/include/gegl-0.4/gegl-parallel.h:153:35: error: expected expression
:info:build                                   [] (gsize    offset,
:info:build                                   ^
:info:build /opt/local/include/gegl-0.4/gegl-parallel.h:173:34: error: expected expression
:info:build                                  [] (const GeglRectangle *area,
:info:build                                  ^
:info:build src/gimplensfun.cpp:192:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "run-mode",
:info:build             ^
:info:build src/gimplensfun.cpp:193:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "Run mode"
:info:build             ^
:info:build src/gimplensfun.cpp:197:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "image",
:info:build             ^
:info:build src/gimplensfun.cpp:198:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "Input image"
:info:build             ^
:info:build src/gimplensfun.cpp:202:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "drawable",
:info:build             ^
:info:build src/gimplensfun.cpp:203:13: warning: conversion from string literal to 'gchar *' (aka 'char *') is deprecated [-Wc++11-compat-deprecated-writable-strings]
:info:build             "Input drawable"
:info:build             ^
:info:build src/gimplensfun.cpp:906:5: warning: 'gimp_pixel_rgn_init' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_pixel_rgn_init (&rgn_in,
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimppixelrgn.h:47:1: note: 'gimp_pixel_rgn_init' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gimp_drawable_get_buffer)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:911:5: warning: 'gimp_pixel_rgn_init' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_pixel_rgn_init (&rgn_out,
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimppixelrgn.h:47:1: note: 'gimp_pixel_rgn_init' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gimp_drawable_get_buffer)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:923:5: warning: 'gimp_pixel_rgn_get_rect' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_pixel_rgn_get_rect (&rgn_in, ImgBuffer, x1, y1, imgwidth, imgheight);
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimppixelrgn.h:79:1: note: 'gimp_pixel_rgn_get_rect' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gegl_buffer_get)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:1010:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_pixel_rgn_set_rect (&rgn_out, ImgBufferOut, x1, y1, imgwidth, imgheight);
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimppixelrgn.h:103:1: note: 'gimp_pixel_rgn_set_rect' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gegl_buffer_set)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:1012:5: warning: 'gimp_drawable_flush' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_drawable_flush (drawable);
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimpdrawable.h:54:1: note: 'gimp_drawable_flush' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gegl_buffer_flush)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:1018:5: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations]
:info:build     gimp_drawable_detach (drawable);
:info:build     ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimpdrawable.h:52:1: note: 'gimp_drawable_detach' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:42:25: note: expanded from macro 'GIMP_DEPRECATED'
:info:build #define GIMP_DEPRECATED G_DEPRECATED
:info:build                         ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build src/gimplensfun.cpp:1063:19: error: no type named 'AnyError' in namespace 'Exiv2'
:info:build     catch (Exiv2::AnyError& e) {
:info:build            ~~~~~~~^
:info:build src/gimplensfun.cpp:1224:16: warning: 'gimp_drawable_get' is deprecated [-Wdeprecated-declarations]
:info:build     drawable = gimp_drawable_get (param[2].data.d_drawable);
:info:build                ^
:info:build /opt/local/include/gimp-2.0/libgimp/gimpdrawable.h:50:1: note: 'gimp_drawable_get' has been explicitly marked deprecated here
:info:build GIMP_DEPRECATED_FOR(gimp_drawable_get_buffer)
:info:build ^
:info:build /opt/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:43:32: note: expanded from macro 'GIMP_DEPRECATED_FOR'
:info:build #define GIMP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:444:29: note: expanded from macro 'G_DEPRECATED_FOR'
:info:build #define G_DEPRECATED_FOR(f) G_DEPRECATED
:info:build                             ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED'
:info:build #define G_DEPRECATED __attribute__((__deprecated__))
:info:build                                     ^
:info:build 13 warnings and 4 errors generated.
:info:build make: *** [src/gimplensfun.o] Error 1

Attachments (1)

GIMP-Lensfun-main.log (286.4 KB) - added by Schamschula (Marius Schamschula) 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Schamschula (Marius Schamschula)

Attachment: GIMP-Lensfun-main.log added

comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)

Owner: set to dbevans
Status: newassigned

comment:2 Changed 4 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

In 576c8c779634cdc340eaa7897185aaa9282f66cb/macports-ports (master):

GIMP-Lensfun: fix build with exiv2 0.27.1

Closes #59275.

Note: See TracTickets for help on using tickets.