dconf-0.28: problem building man pages
@_wiz_
Submitted by Thomas Klausner Assigned to dco..@..e.bugs
Link to original bug (#795348)
Description
I've just updated the NetBSD package for dconf from 0.26.1 to 0.28. It mostly works fine, but there is one new problem: the documentation cannot be built before installation.
When I set enable-gtk-doc=true and enable-man=true, I see:
Running custom install script '/usr/pkg/bin/python3.6 /scratch/devel/dconf/work/dconf-0.28.0/meson_post_install.py /scratch/devel/dconf/work/.tools/bin/gio-querymodules /usr/pkg/lib/gio/modules' Running custom install script '/usr/pkg/bin/python3.6 /usr/pkg/bin/meson --internal gtkdoc --sourcedir=/scratch/devel/dconf/work/dconf-0.28.0 --builddir=/scratch/devel/dconf/work/dconf-0.28.0/output --subdir=docs --headerdirs=/scratch/devel/dconf/work/dconf-0.28.0/common/.@@/scratch/devel/dconf/work/dconf-0.28.0/output/common/.@@/scratch/devel/dconf/work/dconf-0.28.0/client/.@@/scratch/devel/dconf/work/dconf-0.28.0/output/client/. --mainfile=dconf-docs.xml --modulename=dconf --mode=auto --scanargs=--rebuild-types --gobjects-types-file=dconf.types --installdir=/usr/pkg/share/gtk-doc/html/dconf --cflags=-I/scratch/devel/dconf/work/dconf-0.28.0/output/client/. -I/scratch/devel/dconf/work/dconf-0.28.0/client/. -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread --ldflags=-L/scratch/devel/dconf/work/dconf-0.28.0/output/client -Wl,-rpath,/scratch/devel/dconf/work/dconf-0.28.0/output/client -ldconf -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl --cc=gcc --ld=gcc' Building documentation for dconf
Error in gtkdoc helper script: 'gtkdoc-scangobj' failed with status 1 Shared object "libdconf.so.1" not found 2018-04-17 12:31:11,501:scangobj.py:execute_command:1196:WARNING:Running scanner failed: 1, command: ./dconf-scan
Failed to run install script '/usr/pkg/bin/python3.6 /usr/pkg/bin/meson --internal gtkdoc --sourcedir=/scratch/devel/dconf/work/dconf-0.28.0 --builddir=/scratch/devel/dconf/work/dconf-0.28.0/output --subdir=docs --headerdirs=/scratch/devel/dconf/work/dconf-0.28.0/common/.@@/scratch/devel/dconf/work/dconf-0.28.0/output/common/.@@/scratch/devel/dconf/work/dconf-0.28.0/client/.@@/scratch/devel/dconf/work/dconf-0.28.0/output/client/. --mainfile=dconf-docs.xml --modulename=dconf --mode=auto --scanargs=--rebuild-types --gobjects-types-file=dconf.types --installdir=/usr/pkg/share/gtk-doc/html/dconf --cflags=-I/scratch/devel/dconf/work/dconf-0.28.0/output/client/. -I/scratch/devel/dconf/work/dconf-0.28.0/client/. -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread --ldflags=-L/scratch/devel/dconf/work/dconf-0.28.0/output/client -Wl,-rpath,/scratch/devel/dconf/work/dconf-0.28.0/output/client -ldconf -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl --cc=gcc --ld=gcc' FAILED: meson-install /usr/pkg/bin/python3.6 /usr/pkg/bin/meson --internal install /scratch/devel/dconf/work/dconf-0.28.0/output/meson-private/install.dat ninja: build stopped: subcommand failed. *** Error code 1
In other words, gtk-doc seems to run gtkdoc-scangobj and that runs dconf-scan, and that does not find its library. The library of course exists:
find work/dconf-0.28.0/ -name dconf-scan
work/dconf-0.28.0/output/docs/dconf-scan
find work/dconf-0.28.0/ -name libdconf.so.1
work/dconf-0.28.0/output/client/libdconf.so.1
but is not in a path where the linker looks for it.
How is this intended to work?
Version: 0.28.x