GNOME Bugzilla – Bug 624301
building libgee failed saying Unsupported version '1.0'
Last modified: 2010-07-16 04:55:39 UTC
trying to build gnome-shell using $ jhbuild build -f -a -c but the build failed saying the following, ... treeset.c:2692: warning: assignment discards qualifiers from pointer target type CCLD libgee.la /home/satheesh/gnome-shell/install/bin/g-ir-compiler --shared-library=libgee -o Gee-1.0.typelib Gee-1.0.gir Gee-1.0.gir:3:1: error: Unsupported version '1.0' error parsing file Gee-1.0.gir: Unsupported version '1.0' make[3]: *** [Gee-1.0.typelib] Error 1 make[3]: Leaving directory `/home/satheesh/gnome-shell/source/libgee/gee' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/satheesh/gnome-shell/source/libgee/gee' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/satheesh/gnome-shell/source/libgee' make: *** [all] Error 2 *** Error during phase build of libgee: ########## Error running make *** [15/18] ...
Created attachment 165844 [details] [review] A patch for switching to vala git
This will probably be fixed tomorrow by the vala tarball being updated. For now, you can apply the attached patch; make sure that your ~/.jhbuildrc-custom has the line moduleset = 'file:///home/<your username>/gnome-shell/source/gnome-shell/tools/build/gnome-shell.modules' (with <your username> substituted by your userame), rebuild vala, and then remove libgee completely, and rebuild it.
(In reply to comment #2) Thats a quick response. Thanks. > rebuild vala, and then remove libgee completely, and rebuild it. How do I do these? is it, $ cd vala-0.9.2 $ ./configure; make; make install or Can I do this using jhbuild?
(In reply to comment #3) > How do I do these? is it, > > $ cd vala-0.9.2 > $ ./configure; make; make install > > or Can I do this using jhbuild? jhbuild. Don't forget to modify your .jhbuildrc-custom as pointed out by Marina in comment 2.
I have updated khbuildrc-custom and ran jhbuild, got the following error. Making all in vapigen make[2]: Entering directory `/home/satheesh/gnome-shell/source/vala/vapigen' VALAC valagidlparser.vala valavapigen.vala /home/satheesh/gnome-shell/source/vala/compiler/.libs/lt-valac: symbol lookup error: /home/satheesh/gnome-shell/source/vala/compiler/.libs/lt-valac: undefined symbol: vala_code_context_set_run_output make[2]: *** [vapigen.vala.stamp] Error 127 make[2]: Leaving directory `/home/satheesh/gnome-shell/source/vala/vapigen' ...
*** Bug 624363 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > (In reply to comment #2) > Thats a quick response. Thanks. > > rebuild vala, and then remove libgee completely, and rebuild it. > How do I do these? is it, > > $ cd vala-0.9.2 > $ ./configure; make; make install > > or Can I do this using jhbuild? Speaking as libgee developer (one that committed this change) version 0.9.2 it is insufficient. The required version currently is vala 0.9.3 (just released about 2h ago) or less the 2 days old vala from git. Workaround is to disable introspection from libgee (--disable-introspection) - it does not seems to be required by anything.
vala 0.9.3 on jhbuild modules someone can test it ? http://git.gnome.org/browse/jhbuild/commit/?id=4b455c20a00c46f7796fef02642ee1310665b13f
you must modify http://git.gnome.org/browse/gnome-shell/tree/tools/build/gnome-shell.modules with <tarball id="vala" version="0.9.3" autogenargs="--enable-vapigen"> <source href="http://download.gnome.org/sources/vala/0.9/vala-0.9.3.tar.bz2" hash="sha256:6e343df80b8919486599f863d00f26b1be8ae1952422f91784d6542bed3afa98" md5sum="b2e905921d695d0bd85c5e114e2b3d84" size="2395639"/>
(In reply to comment #9) > you must modify > http://git.gnome.org/browse/gnome-shell/tree/tools/build/gnome-shell.modules > with > [...] Please note that there is already a patch in bug 624391.
Created attachment 165965 [details] [review] Update vala to 0.9.3 Fixes incompatbility between the .gir files generated by Vala and the current g-ir-compiler.
*** Bug 624391 has been marked as a duplicate of this bug. ***
Obvious, no comments, committing. Attachment 165965 [details] pushed as f8a5728 - Update vala to 0.9.3
(In reply to comment #13) > Attachment 165965 [details] pushed as f8a5728 - Update vala to 0.9.3 I'm able to build libgee with these changes. steps I did, $ rm -r gnome-shell/source/libgee $ jhbuild ... libgee build had completed without any problems.