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 651922 - libgda-4.2.8 wants to write on /etc/libgda-4.0/config during compilation with --enable-gtk-doc
libgda-4.2.8 wants to write on /etc/libgda-4.0/config during compilation with...
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
4.2.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-05 13:16 UTC by Pacho Ramos
Modified: 2011-06-07 08:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2011-06-05 13:16:15 UTC
This is a regression over 4.2.7, as reported downstream on:
http://bugs.gentoo.org/show_bug.cgi?id=370013

During compilation of libgda-4.2.8, build system tries to write on /etc/libgda-4.0/config when configure is run with --enable-gtk-doc option.

Thanks a lot for your help
Comment 1 Pacho Ramos 2011-06-06 10:10:01 UTC
More info about what is causing this problem in:
http://bugs.gentoo.org/show_bug.cgi?id=370013#c6

"This is being accessed by gda-config to attempt to determine whether the system
config can be written:

(gdb) where
  • #0 gda_gbr_get_file_path
    at gda-binreloc.c line 69
  • #1 gda_config_constructor
    at gda-config.c line 629
  • #2 g_object_newv
    at gobject.c line 1398
  • #3 g_object_new
    at gobject.c line 1308
  • #4 gda_config_get
    at gda-config.c line 828
  • #5 gda_config_get_provider_info
    at gda-config.c line 1248
  • #6 load_ldap_module
    at gda-data-model-ldap.c line 107
  • #7 gda_data_model_ldap_get_type
    at gda-data-model-ldap.c line 126
  • #8 get_object_types
    at libgda-4.0-scan.c line 42
  • #9 main
    at libgda-4.0-scan.c line 172

The offending commit is
http://git.gnome.org/browse/libgda/commit/doc/C?id=45b1ad1345d9f2f1475ad263c1305c15b19e01c7
as this introduces the type gda_data_model_ldap_get_type which ends up
referencing gda-config."
Comment 2 malerba 2011-06-06 19:05:26 UTC
Can you check with git/LIBGDA_4.2 branch (see commit http://git.gnome.org/browse/libgda/commit/?h=LIBGDA_4.2&id=9c1a1809650321c3d752a143f87089d325c49237)?
Comment 3 Pacho Ramos 2011-06-07 08:16:34 UTC
Works fine, thanks a lot