#16199·meson

gegl build: Error "path must not be in the build tree"

Author: kiefernforstCreated Sep 9, 2026Updated Sep 9, 2026

Describe the bug

When trying to build gegl – https://gitlab.gnome.org/GNOME/gegl/-/blob/master/seamless-clone/meson.build?ref_type=heads – used by GIMP I'm getting:

seamless-clone/meson.build:19:43: ERROR: path must not be in the build tree

meson-log.txt doesn't elucidate this any further

To Reproduce

bash
meson setup \
  --prefix        /usr \
  --libexecdir    lib \
  --sbindir       bin \
  --buildtype     plain \
  --auto-features enabled \
  --wrap-mode     nodownload \
  -D              b_lto=true \
  -D              b_pie=true \
  -D              python.bytecompile=1 \
    -Dworkshop=true \
    -Dmrg=disabled \
    -Dmaxflow=disabled \
    -Dvapigen=disabled \
   ../gegl

Expected behavior a successful build, like in earlier times

system parameters

  • ArchLinux-derivative
  • Python 3.10
  • 1.9.99 (recent git build)