GEGL 0.4.49 fails to build when generating GEGL website docs
After getting all requirements added (as best as described), I continued to stop at "Generating README...".
gitk shows I'm currently at today's commit level of "2024-02-27: bevel: unify detail|depth properties"
I also tried going to latest tag point 0.4.48 (reuired for building latest GIMP 2.99.18, but GEGL failed at this tag point.
My solution was to disable documentation, and therefore be able to build and install GEGL (minus documentation). Here is the error message...
ninja -C _build ...
ok 124 - gegl:whirl-pinch (ref b)
ok 125 - gegl:wind
not ok 126 - gegl:seamless-clone-compose (unstable) # TODO reference is not reproducible
**[1315/1317]** Generating README with a c...d (wrapped by meson to capture output)
FAILED: docs/website/operations/images/gegl-oilify.png
/usr/bin/env GEGL_SWAP=/home/boinc/gimp/2/_build/RAM GEGL_PATH=/home/boinc/gimp/2/_build/operations BABL_TOLERANCE=0.0 /home/boinc/gimp/2/_build/tools/gegl-tester --data-directory /home/boinc/gimp/2/docs/images --output-directory docs/website/operations/images --all --exclusion-pattern 'gegl:buffer-source|gegl:exr-load|gegl:ff-load|gegl:gegl-buffer-load|gegl:gif-load|gegl:icc-load|gegl:jp2-load|gegl:jpg-load|gegl:load|gegl:magick-load|gegl:open-buffer|gegl:pdf-load|gegl:pixbuf|gegl:png-load|gegl:ppm-load|gegl:rawbayer-load|gegl:raw-load|gegl:rgbe-load|gegl:svg-load|gegl:tiff-load|gegl:v4l|gegl:v4l2|gegl:webp-load|gegl:buffer-sink|gegl:display|gegl:exr-save|gegl:ff-save|gegl:gegl-buffer-save|gegl:icc-save|gegl:jpg-save|gegl:npy-save|gegl:png-save|gegl:ppm-save|gegl:rgbe-save|gegl:save|gegl:save-pixbuf|gegl:sdl2-display|gegl:tiff-save|gegl:webp-save|gegl:write-buffer|gegl:cache|gegl:cast-format|gegl:clone|gegl:convert-format|gegl:copy-buffer|gegl:image-compare|gegl:line-profile|gegl:nop|gegl:exp-combine|gegl:gegl|gegl:introspect|gegl:lcms-from-profile|gegl:mblur|gegl:alpha-inpaint|gegl:integral-image|gegl:aces-rrt'
ninja: build stopped: subcommand failed.
[boinc@genesis 2 (master)]$
default meson _build
boinc@genesis 2 (master)]$ meson _build
The Meson build system
Version: 1.3.1
Source dir: /home/boinc/gimp/2
Build dir: /home/boinc/gimp/2/_build
Build type: native build
Project name: gegl
Project version: 0.4.49
C compiler for the host machine: cc (gcc 12.3.0 "cc (Mageia 12.3.0-3.mga9) 12.3.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Mageia 12.3.0-3.mga9) 12.3.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Compiler for C supports arguments -ftree-vectorize: YES
Compiler for C supports arguments -march=x86-64: YES
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -msse2: YES (cached)
Compiler for C supports arguments -msse4.1: YES
Compiler for C supports arguments -msse4.2: YES
Compiler for C supports arguments -mpopcnt: YES
Compiler for C supports arguments -mssse3: YES
Compiler for C supports arguments -mavx: YES
Compiler for C supports arguments -mavx2: YES
Compiler for C supports arguments -mf16c: YES
Compiler for C supports arguments -mfma: YES
Compiler for C supports arguments -mmovbe: YES
Compiler for C supports arguments -mbmi: YES
Compiler for C supports arguments -mbmi2: YES
Compiler for C supports arguments -DHAVE_CONFIG_H: YES
Compiler for C supports arguments -Ofast: YES
Compiler for C supports arguments -DGEGL_ENABLE_DEBUG: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -ftree-vectorize: YES (cached)
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C++ supports arguments -DHAVE_CONFIG_H: YES
Compiler for C++ supports arguments -Ofast: YES
Compiler for C++ supports arguments -DGEGL_ENABLE_DEBUG: YES
Compiler for C++ supports arguments -Winit-self: YES
Compiler for C++ supports arguments -Wmissing-declarations: YES
Compiler for C++ supports arguments -Wpointer-arith: YES
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-cast-function-type: YES
Compiler for C++ supports arguments -ftree-vectorize: YES
Program env found: YES (/usr/bin/env)
Program asciidoc found: YES (/usr/bin/asciidoc)
Program dot found: YES (/usr/bin/dot)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Program source-highlight found: YES (/usr/bin/source-highlight)
Program w3m found: YES (/usr/bin/w3m)
Has header "unistd.h" : YES
Has header "execinfo.h" : YES
Checking for function "fsync" : YES
Checking for function "malloc_trim" : YES
Checking for function "strptime" : YES
Library m found: YES
Library dl found: YES
Run-time dependency threads found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.0
Run-time dependency babl-0.1 found: YES 0.1.109
Run-time dependency glib-2.0 found: YES 2.76.3
Run-time dependency gobject-2.0 found: YES 2.76.3
Run-time dependency gmodule-2.0 found: YES 2.76.3
Run-time dependency gthread-2.0 found: YES 2.76.3
Run-time dependency gio-2.0 found: YES 2.76.3
Run-time dependency gio-unix-2.0 found: YES 2.76.3
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency libjpeg found: YES 2.1.4
Run-time dependency libpng found: YES 1.6.38
Found CMake: /usr/bin/cmake (3.26.4)
Run-time dependency poly2tri-c found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency poly2tri-c
Executing subproject poly2tri-c
poly2tri-c| Project name: poly2tri-c
poly2tri-c| Project version: 0.1.0
poly2tri-c| C compiler for the host machine: cc (gcc 12.3.0 "cc (Mageia 12.3.0-3.mga9) 12.3.0")
poly2tri-c| C linker for the host machine: cc ld.bfd 2.40
poly2tri-c| Dependency glib-2.0 found: YES 2.76.3 (cached)
poly2tri-c| Library m found: YES
poly2tri-c| WARNING: Build target poly2tri-c has no sources. This was never supposed to be allowed but did because of a bug, support will be removed in a future release of Meson
poly2tri-c| Build targets in project: 4
poly2tri-c| Subproject poly2tri-c finished.
Dependency poly2tri-c from subproject subprojects/poly2tri-c found: YES 0.1.0
Run-time dependency libnsgif found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libnsgif
Executing subproject libnsgif
libnsgif| Project name: libnsgif
libnsgif| Project version: undefined
libnsgif| C compiler for the host machine: cc (gcc 12.3.0 "cc (Mageia 12.3.0-3.mga9) 12.3.0")
libnsgif| C linker for the host machine: cc ld.bfd 2.40
libnsgif| subprojects/libnsgif/meson.build:13: WARNING: Project targets '>=0.0.0' but uses feature introduced in '0.50.0': include_directories kwarg of type string. Use include_directories('.') instead
libnsgif| Build targets in project: 5
libnsgif| WARNING: Project specifies a minimum meson_version '>=0.0.0' but uses features which were added in newer versions:
libnsgif| * 0.50.0: {'include_directories kwarg of type string'}
libnsgif| Subproject libnsgif finished.
Dependency libnsgif from subproject subprojects/libnsgif found: YES undefined
Run-time dependency gobject-introspection-1.0 found: YES 1.76.1
Run-time dependency vapigen found: YES 0.56.8
Run-time dependency gexiv2 found: YES 0.14.1
Run-time dependency luajit found: YES 2.1.0-beta3
Run-time dependency mrg found: NO (tried pkgconfig and cmake)
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10
Run-time dependency cairo found: YES 1.17.6
Run-time dependency pango found: YES 1.50.14
Run-time dependency pangocairo found: YES 1.50.14
Run-time dependency jasper found: YES 3.0.6
Run-time dependency lcms2 found: YES 2.15
Run-time dependency lensfun found: YES 0.3.3.0
Run-time dependency libraw found: YES 0.20.2
Run-time dependency librsvg-2.0 found: YES 2.56.0
Run-time dependency libspiro found: YES 20221101
Run-time dependency libtiff-4 found: YES 4.5.1
Run-time dependency libv4l1 found: YES 1.22.1
Run-time dependency libv4l2 found: YES 1.22.1
Run-time dependency libwebp found: YES 1.3.0
Run-time dependency maxflow found: YES 3.0.4
Run-time dependency openexr found: YES 3.1.7
Run-time dependency OpenMP found: YES 4.5
Run-time dependency poppler-glib found: YES 23.02.0
Dependency sdl skipped: feature sdl1 disabled
Run-time dependency sdl2 found: YES 2.26.3
Run-time dependency libavcodec found: YES 59.37.100
Run-time dependency libavformat found: YES 59.27.100
Run-time dependency libavutil found: YES 57.28.100
Run-time dependency libswscale found: YES 6.7.100
Library umfpack found: YES
Header "umfpack.h" has symbol "umfpack_dl_solve" : NO
Header "suitesparse/umfpack.h" has symbol "umfpack_dl_solve" : YES
Run-time dependency pygobject-3.0 found: NO (tried pkgconfig and cmake)
Program gi-docgen found: YES (/usr/bin/gi-docgen)
Configuring config.h using configuration
Program tools/argvs_extract.sh found: YES (/home/boinc/gimp/2/tools/argvs_extract.sh)
Configuring gegl-version.h using configuration
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program /usr/local/bin/g-ir-scanner found: YES (/usr/local/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program /usr/local/bin/g-ir-compiler found: YES (/usr/local/bin/g-ir-compiler)
Program vapigen found: YES (/usr/bin/vapigen)
Program gen-loader.sh found: YES (/home/boinc/gimp/2/tools/gen-loader.sh)
Program gobj2dot.rb found: YES (/home/boinc/gimp/2/tools/gobj2dot.rb)
Program test-runner.py found: YES (/usr/bin/python3 /home/boinc/gimp/2/tests/test-runner.py)
Program test-exp-combine.sh found: YES (/home/boinc/gimp/2/tests/simple/test-exp-combine.sh)
Program buffer-test.py found: YES (/usr/bin/python3 /home/boinc/gimp/2/tests/buffer/buffer-test.py)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Dependency glib-2.0 found: YES 2.76.3 (cached)
Configuring gegl.toml using configuration
Configuring build.adoc using configuration
Program gegl-usage.py found: YES (/usr/bin/python3 /home/boinc/gimp/2/docs/gegl-usage.py)
Program /home/boinc/gimp/2/tools/gobj2dot.py found: YES (/usr/bin/python3 /home/boinc/gimp/2/tools/gobj2dot.py)
WARNING: Project targets '>=0.55.0' but uses feature introduced in '0.59.0': fs.replace_suffix_file.
Program /home/boinc/gimp/2/tools/run-exe.py found: YES (/usr/bin/python3 /home/boinc/gimp/2/tools/run-exe.py)
Build targets in project: 327
WARNING: Project specifies a minimum meson_version '>=0.55.0' but uses features which were added in newer versions:
* 0.59.0: {'fs.replace_suffix_file'}
NOTICE: Future-deprecated features used:
* 0.56.0: {'dependency.get_pkgconfig_variable'}
* 0.64.0: {'copy arg in configure_file'}
* 1.1.0: {'"boolean option" keyword argument "value" of type str'}
gegl 0.4.49
Directories
prefix : /usr/local
libdir : lib64
GEGL docs
GTK-docs reference : false
GI-docgen reference: true
Docs (GEGL website): true
Optional features
Build workshop : false
Introspection : true
Vala support : true
Optional build utilities
asciidoc : true
dot : true
pygobject : false
source-highlight : true
w3m : true
Optional dependencies
avlibs : true
Cairo : true
GDKPixbuf : true
gexiv2 : true
Jasper : true
lcms : true
libnsgif : true
libraw : true
Luajit : true
maxflow : true
mrg : false
OpenEXR : true
openMP : true
Pango : true
pangocairo : true
poly2tri-c : true
poppler : true
rsvg : true
SDL1 : false
SDL2 : true
spiro : true
TIFF : true
umfpack : true
V4L : true
V4L2 : true
webp : true
Subprojects
libnsgif : YES 2 warnings
poly2tri-c : YES 1 warnings
Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
[boinc@genesis 2 (master)]$ ninja -C _build
My solution used was to go into the options and disable building of documentation.
GEGL docs
GTK-docs reference : false
GI-docgen reference: false
Docs (GEGL website): false
Note: I was using a fresh build, and I recall hearing that ninja/cmake seems to cache, so, it might help to start with a fresh gegl install to ensure you're importing all files, and not working with a directory that currently holds a few extras.
OS: Mageia 9, 64bit. This does not have everything required for building GIMP 2.99.18, so I needed to use included development files and also import some external packages to eventually get GEGL to build since Mageia 9 appears to not have all the required files to build GEGL 0.4.49