[blfs-support] Vala problems.

James Richard Tyrer tyrerj at acm.org
Mon Mar 25 19:09:06 PDT 2013


Various GNOME applications fail to compile against Vala with errors 
stating that files can not be found such as:

error: Package `GLib-2.0' not found in specified Vala API directories or 
GObject-Introspection GIR directories
error: Package `GObject-2.0' not found in specified Vala API directories 
or GObject-Introspection GIR directories
error: Package `Gio-2.0' not found in specified Vala API directories or 
GObject-Introspection GIR directories

If what is needed are: "*.deps" files, they are not in: 
"/usr/share/val-0.18/vapi" however there are: "*.vapi" files for these 
there.  I note that they are lower case.

Adding the configure parameter: "--enable-vala=no" makes it compile so 
it is obviously a Vala issue.

A Google search finds references to this problem, but I found no 
definite solution.  It was suggested on the Gentoo forum 
http://<forums.gentoo.org/viewtopic-t-950038-start-0.html> that 
gsettings-desktop-schemas and dconf were necessary.  It didn't help and 
I can report the same problem with the command:

# gsettings list-schemas
Segmentation fault

I am not much for running those tests until something goes wrong but I 
did run: "make check" on Vala-0.18.1.  It did not pass.  There is a 
string of OKs and then:

   /dbus/bug596862:                                                     OK
   /dbus/bug602003/server:                                              OK
   /gir/bug651773:                                                      FAIL
error: Package `GLib-2.0' not found in specified Vala API directories or 
GObject-Introspection GIR directories
error: Package `GObject-2.0' not found in specified Vala API directories 
or GObject-Introspection GIR directories
Generation failed: 2 error(s), 0 warning(s)
1 of 156 tests failed
make[4]: *** [check-TESTS] Error 1

There appears to be a problem here.

https://bugzilla.gnome.org/show_bug.cgi?id=651773

-- 
James Tyrer

Linux (mostly) From Scratch



More information about the blfs-support mailing list