[Gimp-developer] gimp git/master failed to build



Hi,

I've the following error:

/gimp-2.9.8=. -fstack-protector-strong -Wformat -Werror=format-security
-Wall -Wdeclaration-after-statement -Wmissing-prototypes
-Werror=missing-prototypes -Wmissing-declarations -Winit-self
-Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wlogical-op
-Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type -c
gimpcolorspace.c  -fPIC -DPIC -o .libs/gimpcolorspace.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..  -DG_LOG_DOMAIN=\"LibGimpColor\" -DGIMP_COLOR_COMPILATION -I..
-pthread -I/usr/include/gegl-0.3 -I/usr/include/json-glib-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/babl-0.1
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng16 -pthread
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DGIMP_DISABLE_DEPRECATED
-DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -g -O2
-fdebug-prefix-map=/usr/local/src/gimp/gimp-2.9.8=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wdeclaration-after-statement -Wmissing-prototypes
-Werror=missing-prototypes  -Wmissing-declarations -Winit-self
-Wpointer-arith  -Wmissing-format-attribute -Wformat-security -Wlogical-op
-Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type   -c -o
gimphsl.lo gimphsl.c
gimpcolorprofile.c: In function ‘gimp_color_profile_get_format’:
gimpcolorprofile.c:1482:32: error: ‘BABL_ICC_INTENT_RELATIVE_COLORIMETRIC’
undeclared (first use in this function); did you mean
‘INTENT_RELATIVE_COLORIMETRIC’?
                                BABL_ICC_INTENT_RELATIVE_COLORIMETRIC,
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                INTENT_RELATIVE_COLORIMETRIC
gimpcolorprofile.c:1482:32: note: each undeclared identifier is reported
only once for each function it appears in
gimpcolorprofile.c:1480:11: error: too many arguments to function
‘babl_space_from_icc’
   space = babl_space_from_icc ((const gchar *) profile->priv->data,
           ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gegl-0.3/gegl.h:23:0,
                 from gimpcolorprofile.c:31:
/usr/include/babl-0.1/babl/babl.h:111:13: note: declared here
 const Babl *babl_space_from_icc (const char  *icc_data,
             ^~~~~~~~~~~~~~~~~~~

I've done a git bisect on the repository and got:
/usr/local/src/git/gimp/ git bisect bad
415f869f202e76a51970b46d493ad5426f406b3a is the first bad commit
commit 415f869f202e76a51970b46d493ad5426f406b3a
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Sep 9 23:54:08 2017 +0200

    app: drop workaround for bug #785521

    We now hard depend on a fresher release of GEGL that already has this
fix in
    it.

:040000 040000 ab189c9d059e8b88cf19e56cdc6e5af83a3718e2
06e2ce3501911b986dd0de428c69ee3388988ad8 M    app
:040000 040000 52488dbab6b7e57b07f1e0a9006ddc6b827c90c1
ac22b839c9a9547473b65c300189e5a1b7afd007 M    libgimpcolor

Regards

Jean-Luc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]