Error when Building BABL on Debian GNU/Linux 12 bookworm (original) (raw)
Hi,
My usual process of building BABL is tripping up, does anyone understand the issue?
I tried removing the _build directories, same result.
Debian GNU/Linux 12 bookworm (x86-64)
[282/288] clang -o tools/trc-validator tools/trc-validator.p/trc-validator.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group -lm '-Wl,-rpath,$ORIGIN/../babl' -Wl,-rpath-link,/home/mark/code/gnome/build/babl/_build/babl babl/libbabl-0.1.so.0.212.1 -pthread /usr/lib/x86_64-linux-gnu/liblcms2.so -Wl,--end-group
[283/288] /usr/bin/meson --internal exe --capture docs/index.html.tmp -- /usr/bin/env BABL_PATH=/home/mark/code/gnome/build/babl/_build/extensions /home/mark/code/gnome/build/babl/_build/tools/babl-html-dump
FAILED: docs/index.html.tmp
/usr/bin/meson --internal exe --capture docs/index.html.tmp -- /usr/bin/env BABL_PATH=/home/mark/code/gnome/build/babl/_build/extensions /home/mark/code/gnome/build/babl/_build/tools/babl-html-dump
--- stderr ---
[284/288] env PKG_CONFIG_PATH=/home/mark/code/gnome/lib/x86_64-linux-gnu/pkgconfig:/home/mark/code/gnome/build/babl/_build/meson-uninstalled /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Babl --nsversion=0.1 --warn-all --output babl/Babl-0.1.gir --c-include=babl.h '--identifier-filter-cmd=/usr/bin/python3 "/home/mark/code/gnome/build/babl/babl/identfilter.py"' -DBABL_IS_BEING_COMPILED --quiet -I/home/mark/code/gnome/build/babl/babl -I/home/mark/code/gnome/build/babl/_build/babl -I/home/mark/code/gnome/build/babl/. -I/home/mark/code/gnome/build/babl/_build/. -I/home/mark/code/gnome/build/babl/babl/base/. -I/home/mark/code/gnome/build/babl/_build/babl/base/. --filelist=/home/mark/code/gnome/build/babl/_build/babl/libbabl-0.1.so.0.212.1.p/Babl_0.1_gir_filelist --pkg-export=babl-0.1 --cflags-begin -I/home/mark/code/gnome/build/babl/. -I/home/mark/code/gnome/build/babl/_build/. -I/home/mark/code/gnome/build/babl/babl/base/. -I/home/mark/code/gnome/build/babl/_build/babl/base/. -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/mark/code/gnome/build/babl/_build/babl --library babl-0.1 --extra-library=m --extra-library=dl --extra-library=lcms2 --extra-library=girepository-1.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --sources-top-dirs /home/mark/code/gnome/build/babl/ --sources-top-dirs /home/mark/code/gnome/build/babl/_build/
ninja: build stopped: subcommand failed.
Error: Ninja build failed for babl.
mark@pixelmixer:~/code/bash/artbox$
Sid (Sid) March 31, 2025, 3:48pm 2
What version of 'babl'
are you trying to build?
pixelmixer (mark sweeney) March 31, 2025, 3:54pm 3
The latest from GNOME / babl · GitLab
HEAD is now at 018cbdc extensions/gggl-lies: remove unused function
babl 0.1.113
Sid (Sid) March 31, 2025, 4:00pm 4
Builds fine for me on Debian 12 (after apt build-dep libbabl-0.1-0
as root).
$ git rev-parse --short HEAD
018cbdc
$ ./_install/bin/babl
Usage: babl [options] [c1 ..]
Convert color data from a specific Babl format and space to another.
Options:
-h, --help this help information
-f, --from input Babl format
-t, --to output Babl format
...
babl docs generation is broken on Windows ( ‘with-docs’ fails in gcc based MSYS2 shells (#97) · Issues · GNOME / babl · GitLab) so I wouldn’t be surprised if this bug is now affecting Debian too
pixelmixer (mark sweeney) March 31, 2025, 4:27pm 6
Thanks, do you have a file index.html.tmp
that is generated? if so what folder do you find it in?
pixelmixer (mark sweeney) March 31, 2025, 4:30pm 7
Ah, I did update my system today, so that has potentially brought in the issue. Can’t build BABL until issue is fixed?
pixelmixer (mark sweeney) March 31, 2025, 5:09pm 9
Thanks
if [[ "$app" == "babl" ]]; then
meson_setup+=" -Dwith-docs=false"
echo "[DEBUG] DO NOT BUILD DOCS"
fi
barefootliam (Liam Quin) March 31, 2025, 11:07pm 10
It’s been broken on Mageia Linux for at least a year, maybe two - i’ve had to use docs=false i think because of hash mismatches e.g. for oilify. Theres an open issue for it.