After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795348 - dconf-0.28: problem building man pages
dconf-0.28: problem building man pages
Status: RESOLVED OBSOLETE
Product: dconf
Classification: Core
Component: dconf
0.28.x
Other All
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2018-04-18 08:23 UTC by Thomas Klausner
Modified: 2018-09-21 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Klausner 2018-04-18 08:23:28 UTC
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?
Comment 1 GNOME Infrastructure Team 2018-09-21 16:24:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf/issues/44.