Re: [Gimp-developer] Trouble compiling 2.99

Ofnuts via gimp-developer-list <[email protected]> Fri, 30 Apr 2021 17:18:09 +0200
Newsgroups gmane.comp.video.gimp.devel
Message-ID <[email protected]>
Thanks, disabling that makes the build successful. However, when I start
Gimp, I get a dialog with:

    GEGL operation missing!

    GIMP requires the GEGL operation "gegl:introspect".
    This operation cannot be found. Check your
    GEGL install and ensure it has been compiled
    with any dependencies required for GIMP.

I'm compiling a freshly pulled GEGL. The build config says:
gegl 0.4.31

   Directories
     prefix          : /Gimp-dev/2.99/run
     libdir          : lib/x86_64-linux-gnu

   GEGL docs
     Reference       : False
     Docs            : True

   Optional features
     Build workshop  : False
     Introspection   : True
     Vala support    : True

   Optional build utilities
     asciidoc        : True
     dot             : False
     pygobject       : True
     source-highlight: False
     w3m             : True

   Optional dependencies
     avlibs          : True
     Cairo           : True
     GDKPixbuf       : True
     gexiv2          : True
     Jasper          : False
     lcms            : True
     libnsgif        : True
     libraw          : True
     Luajit          : False
     maxflow         : False
     mrg             : False
     Pango           : True
     pangocairo      : True
     poly2tri-c      : True
     poppler         : True
     OpenEXR         : True
     rsvg            : True
     SDL1            : False
     SDL2            : True
     spiro           : False
     TIFF            : True
     umfpack         : False
     V4L             : True
     V4L2            : True
     webp            : True

   Subprojects
     libnsgif        : YES
     poly2tri-c      : YES

Option buildtype is: release [default: debugoptimized]
Found ninja-1.9.0 at /usr/bin/ninja

During the compilation, this shows up (but then these compiles have
always issued a lot of warnings):

[330/812] Compiling C object
operations/common/gegl-common.so.p/introspect.c.o
../operations/common/introspect.c: In function ‘gegl_introspect_load_cache’:
../operations/common/introspect.c:61:3: warning: ignoring return value
of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
    61 |   write (fd, dot_string, strlen (dot_string));
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And later I see (removed all the lines marked "ok"):

[643/812] Generating gegl-0.4.vapi with a custom command
Gegl-0.4.gir:7866.7-7866.60: warning: Signal `Gegl.Node.progress'
conflicts with method of the same name
[809/812] Generating doc-operations-img with a custom command
not ok   2 - gegl:warp (no ref) # TODO hash =
f1b3ab0f1e84ec5882f23aee0a0c68f6
not ok  11 - gegl:transform (noop) # TODO hash is noop
not ok  12 - gegl:reset-origin (no ref) # TODO hash =
2e11acd5a417e1e9c6894e9a8f974e14
not ok  15 - gegl:path (unstable) # TODO reference is not reproducible
not ok  16 - gegl:npd (noop) # TODO hash is noop
not ok  23 - gegl:emboss 806a50f6b8e3128d346480c23ce02359 !=
af0c6c39428853e1010fa4c51ee67c7d
not ok  37 - gegl:c2g (unstable) # TODO reference is not reproducible
not ok  39 - gegl:edge-sobel ed3220367a420f5844316a11d11d9eae !=
d75a32d401a11b715bd28277a5962882
not ok  50 - gegl:stress (unstable) # TODO reference is not reproducible
not ok  87 - gegl:svg-huerotate (noop) # TODO hash is noop
not ok  89 - gegl:svg-matrix (noop) # TODO hash is noop
not ok  90 - gegl:svg-saturate (noop) # TODO hash is noop
not ok  94 - gegl:displace (noop) # TODO hash is noop
not ok 102 - gegl:whirl-pinch 5f9e422396aca096dd0d3a551696b2f8 !=
e24f6a5ec8c1c7faead1dbeeae34e386
not ok 126 - gegl:json:dropshadow2 (noop) # TODO hash is noop
not ok 127 - gegl:json:grey2 (no ref) # TODO hash =
43ddd80572ab34095298ac7c36368b0c
not ok 128 - gegl:seamless-clone-compose (unstable) # TODO reference is
not reproducible
not ok 129 - gegl:shadows-highlights (noop) # TODO hash is noop
not ok 137 - gegl:pack (noop) # TODO hash is noop
not ok 139 - gegl:recursive-transform (no ref) # TODO hash =
4fb51936e6cb594c1d79462280f21440
not ok 177 - gegl:cast-space (noop) # TODO hash is noop
not ok 178 - gegl:convert-space (noop) # TODO hash is noop
not ok 180 - gegl:seamless-clone (no ref) # TODO hash =
c138747b74936fecff15497280fd251d
not ok 183 - gegl:map-absolute (no ref) # TODO hash =
f1b3ab0f1e84ec5882f23aee0a0c68f6
not ok 185 - gegl:matting-global (no ref) # TODO hash =
72e111a28f07e2236d6378c3f64eaec3
not ok 186 - gegl:piecewise-blend (no ref) # TODO hash =
f1b3ab0f1e84ec5882f23aee0a0c68f6
not ok 187 - gegl:text 74a9c303192ab2b7763d6808ae892b92 !=
a6612efdac71654360b19ccc424ff130
not ok 205 - gegl:remap (no ref) # TODO hash =
4a011700f93903b4b8fc92be8f3d7ec3
1..205

# without opencl acceleration
# Maybe see bug https://bugzilla.gnome.org/show_bug.cgi?id=780226
# 4 operations producing unexpected hashes:
#  gegl:emboss 806a50f6b8e3128d346480c23ce02359 !=
af0c6c39428853e1010fa4c51ee67c7d
#  gegl:edge-sobel ed3220367a420f5844316a11d11d9eae !=
d75a32d401a11b715bd28277a5962882
#  gegl:whirl-pinch 5f9e422396aca096dd0d3a551696b2f8 !=
e24f6a5ec8c1c7faead1dbeeae34e386
#  gegl:text 74a9c303192ab2b7763d6808ae892b92 !=
a6612efdac71654360b19ccc424ff130

[812/812] Generating doc_operations_html with a custom command
gegl-image-gradient.html

(operations_html:5764): GEGL-WARNING **: 17:03:27.347: Failed to set
operation type gegl:introspect, using a passthrough op instead
gegl-introspect.html

Any more ideas?

On 30/04/2021 15:43, Lloyd Konneker via gimp-developer-list wrote:
> To get past that, you could use the meson option to forego building the
> vapi?
>
> option('vala-plugins',      type: 'feature', value: 'auto', description:
> 'Build VAPI and Vala plugins')
> _______________________________________________
> gimp-developer-list mailing list
> List address:    [email protected]
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list


_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list