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 618157 - gconf fails to build outside source tree
gconf fails to build outside source tree
Status: RESOLVED WONTFIX
Product: GConf
Classification: Deprecated
Component: gconf
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
gnome[unmaintained]
Depends on:
Blocks: 569778
 
 
Reported: 2010-05-09 10:05 UTC by Theppitak Karoonboonyanan
Modified: 2018-08-17 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Split generated files from the list (1.92 KB, patch)
2010-05-09 10:10 UTC, Theppitak Karoonboonyanan
none Details | Review
Use g-i > 0.6.14 (1.32 KB, patch)
2010-07-09 12:50 UTC, Theppitak Karoonboonyanan
none Details | Review

Description Theppitak Karoonboonyanan 2010-05-09 10:05:47 UTC
By setting 'buildroot' in .jhbuildrc so that jhbuild builds stuffs from outside git source trees, gconf fails to build, with the following messages:

---8<---
make[3]: *** No rule to make target `/home/thep/vcs/gnome_git/gconf/gconf/GConfX-common.c', needed by `GConf-2.0.gir'.  Stop.
make[3]: Leaving directory `/home/thep/build/gnome_git/gconf/gconf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/thep/build/gnome_git/gconf/gconf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thep/build/gnome_git/gconf'
make: *** [all] Error 2
---8<---

It's this line that caused the problem:

> GConf_2_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_files))

$(introspection_files) includes all .c files in $(libgconf_2_la_SOURCES), including $(CORBA_SOURCECODE), which are all generated in $(builddir). So, adding $(srcdir) prefix to all files here is just wrong.
Comment 1 Theppitak Karoonboonyanan 2010-05-09 10:10:56 UTC
Created attachment 160632 [details] [review]
Split generated files from the list

This patch separates generated files from source list, and only add $(srcdir) prefix to non-generated files in introspection generation rule.
Comment 2 Theppitak Karoonboonyanan 2010-07-09 12:50:45 UTC
Created attachment 165553 [details] [review]
Use g-i > 0.6.14

According to bug 616425, Makefile.introspection now references introspection sources via VPATH. Generated and manual sources can now be equally accessed. Just remove the $(srcdir) prefix.
Comment 3 André Klapper 2018-08-17 13:56:33 UTC
GConf has been deprecated since 2011.

GConf is not under active development anymore. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gconf/commits/master

dconf and gsettings are its successors. See https://developer.gnome.org/gio/stable/ch34.html and https://developer.gnome.org/GSettings/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of dconf/gsettings. Thanks!