lmanul / gimp-texturize

Texturize plugin for the GIMP
GNU General Public License v2.0
9 stars 5 forks source link

Build error with GIMP 2.10 #1

Closed jtojnar closed 2 years ago

jtojnar commented 6 years ago

Building this plug-in from master wih GIMP 2.10 fails:

unpacking sources
unpacking source archive /nix/store/vqmbfdvcl66rzswk6w9wd200x08w6i83-source
source root is source
patching sources
configuring
configure flags: --disable-dependency-tracking --prefix=/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin
checking for a BSD-compatible install... /nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for library containing strerror... none required
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/bin/grep
checking for egrep... /nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/bin/grep -E
checking for ANSI C header files... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /nix/store/ms8zi9sndgcgvmm07j6v2cknjh8x249j-pkg-config-0.29.2/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIMP... yes
checking whether NLS is requested... yes
checking for intltool-update... /nix/store/23nif3138fdmha07kq2wngkz1yxvpcr7-intltool-0.51.0/bin/intltool-update
checking for intltool-merge... /nix/store/23nif3138fdmha07kq2wngkz1yxvpcr7-intltool-0.51.0/bin/intltool-merge
checking for intltool-extract... /nix/store/23nif3138fdmha07kq2wngkz1yxvpcr7-intltool-0.51.0/bin/intltool-extract
checking for xgettext... /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/xgettext
checking for msgmerge... /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgmerge
checking for msgfmt... /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt
checking for gmsgfmt... /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt
checking for perl... /nix/store/cxdmh98g0lvl1dyq304c1lq7f90dh01f-perl-5.24.3/bin/perl
checking for perl >= 5.8.1... 5.24.3
checking for XML::Parser... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt
checking for xgettext... (cached) /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/xgettext
checking for catalogs to be installed...  az de fr sk sv zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking if GTK+ is version 2.7.0 or newer... yes
checking if GIMP is version 2.3.0 or newer... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating help/en/Makefile
config.status: creating help/images/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
building
build flags: SHELL=/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash
make  all-recursive
make[1]: Entering directory '/build/source'
Making all in po
make[2]: Entering directory '/build/source/po'
file=`echo az | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file az.po
file=`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file de.po
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file fr.po
file=`echo sk | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file sk.po
file=`echo sv | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file sv.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
  && rm -f $file && /nix/store/biv22ang6z5yviggwb0v2yydvsf82mgc-gettext-0.19.8/bin/msgfmt -o $file zh_TW.po
make[2]: Leaving directory '/build/source/po'
Making all in src
make[2]: Entering directory '/build/source/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c interface.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c main.c
main.c: In function 'run':
main.c:138:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
   drawable = gimp_drawable_get (param[2].data.d_drawable);
   ^~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:41:0,
                 from main.c:5:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here
 GimpDrawable * gimp_drawable_get                    (gint32         drawable_ID);
                ^~~~~~~~~~~~~~~~~
main.c:195:5: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations]
     gimp_drawable_detach (drawable);
     ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:41:0,
                 from main.c:5:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here
 void           gimp_drawable_detach                 (GimpDrawable  *drawable);
                ^~~~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -c -o graph.o graph.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -c -o maxflow.o maxflow.cpp
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c render.c
render.c: In function 'render':
render.c:138:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations]
   gimp_image_add_layer (new_image_id, new_layer_id, 0);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55:0,
                 from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:66,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here
 gboolean                 gimp_image_add_layer                  (gint32               image_ID,
                          ^~~~~~~~~~~~~~~~~~~~
render.c:139:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
   new_drawable = gimp_drawable_get (new_layer_id);
   ^~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:41:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here
 GimpDrawable * gimp_drawable_get                    (gint32         drawable_ID);
                ^~~~~~~~~~~~~~~~~
render.c:142:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_init (&rgn_out, new_drawable, 0, 0, width_i, height_i, TRUE, TRUE);
   ^~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here
 void      gimp_pixel_rgn_init       (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~
render.c:143:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_init (&rgn_in, drawable, 0, 0, width_p, height_p, FALSE, FALSE);
   ^~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here
 void      gimp_pixel_rgn_init       (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~
render.c:165:3: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_get_rect (&rgn_in, patch, 0, 0, width_p, height_p);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here
 void      gimp_pixel_rgn_get_rect   (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~~~~~
render.c:168:3: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_set_rect (&rgn_out, patch, 0, 0, width_p, height_p);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
 void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~~~~~
render.c:176:3: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_get_rect (&rgn_out, image, 0, 0, width_i, height_i);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here
 void      gimp_pixel_rgn_get_rect   (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~~~~~
render.c:246:3: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
   gimp_pixel_rgn_set_rect (&rgn_out, image, 0, 0, width_i, height_i);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:57:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
 void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
           ^~~~~~~~~~~~~~~~~~~~~~~
render.c:248:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations]
   gimp_drawable_flush (new_drawable);
   ^~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:41:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpdrawable.h:55:16: note: declared here
 void           gimp_drawable_flush                  (GimpDrawable  *drawable);
                ^~~~~~~~~~~~~~~~~~~
render.c:251:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations]
   gimp_drawable_detach (new_drawable);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimp.h:41:0,
                 from render.c:7:
/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here
 void           gimp_drawable_detach                 (GimpDrawable  *drawable);
                ^~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c initialiser.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c compter.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/nix/store/rf56bcgvn0bm7zv009vwvfzi2p48hmda-gimp-2.10.0/include/gimp-2.0 -I/nix/store/fnn3cidl64q3jv995m23i7vasqdcanxk-gegl-0.4.0/include/gegl-0.4 -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/szcis3117qd65i22322fjsk3bzljc6bc-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/azxcljz7prb2qm36andkfc7zqzccb4ks-glib-2.56.0/lib/glib-2.0/include -I/nix/store/j20mqwi7ns4q35zhpvqgnjsn7x2f9f3w-json-glib-1.4.2-dev/include/json-glib-1.0 -I/nix/store/6kx1zn1xb71zhhq4bikgyp9gvgrfh573-babl-0.1.46/include/babl-0.1 -I/nix/store/6mzgi0mxgjlmcsqhg644q1qqsj8j4knn-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/43g3qjaaz6lv04q8hl5byamxq1gwb5wj-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/80mdbn1vxj000ld7xmxcfs7r5pcwb458-cairo-1.14.10-dev/include/cairo -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include -I/nix/store/cywh34sn8b00qil2g112bdhgdklkh2ca-fontconfig-2.12.6-dev/include -I/nix/store/dpydsfzmxm2dfmsr1c2llvrra9y663qx-expat-2.2.5-dev/include -I/nix/store/11mvvhykc4svx4f5p5ssw5l87h7v99q6-freetype-2.9-dev/include/freetype2 -I/nix/store/9kzgwhx5m554iqdbcm31ya92z2g2zzqz-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/2hcx9ww6a2n66l4w994g8l2hc3i3m3hq-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/36xwmjzw3idbs9xy34wqyf9kcwaqf9w7-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/include -DLOCALEDIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/locale"\" -DDATADIR=\""/nix/store/rz1kzr9lia9y12myqgam2mz5vcgwzfr7-texturize-2.2.2017-07-28-gimp-2.10.0-plugin/share/gimp-texturize"\"   -g -O2 -Wall -c offset.c
offset.c: In function 'offset_optimal':
offset.c:65:27: error: 'HUGE' undeclared (first use in this function)
   float best_difference = HUGE, tmp_difference;
                           ^~~~
offset.c:65:27: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Makefile:327: offset.o] Error 1
make[2]: Leaving directory '/build/source/src'
make[1]: *** [Makefile:312: all-recursive] Error 1
make[1]: Leaving directory '/build/source'
make: *** [Makefile:252: all] Error 2
lmanul commented 6 years ago

Thanks for the report!

dreirund commented 6 years ago

Same here.

saltasatelites commented 5 years ago

Something new about this issue? thanks

lmanul commented 5 years ago

I haven't had a chance to setup a working GIMP 2.10 development environment, but this is an open source project and contributions are very welcome ;-)

saltasatelites commented 5 years ago

I'm sorry, it was not my intention to be a vampire ... It has not been a proper question ..

lmanul commented 5 years ago

No worries at all :-)

lmanul commented 2 years ago

Is this still happening? Have you made sure to install the build dependencies? On a Debian-based system, that'd be sudo apt build-dep gimp-texturize .

jtojnar commented 2 years ago

Thanks. Can confirm the master builds.

Now there are some runtime issues but those can be solved separately.