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 626000 - dconf build failed looking for vala-0.9.4
dconf build failed looking for vala-0.9.4
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: building
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-04 06:38 UTC by sathyz
Modified: 2010-08-04 19:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use vala 0.9.4 (925 bytes, patch)
2010-08-04 06:38 UTC, sathyz
none Details | Review
add break statement (284 bytes, patch)
2010-08-04 06:41 UTC, sathyz
none Details | Review

Description sathyz 2010-08-04 06:38:18 UTC
Created attachment 167089 [details] [review]
use vala 0.9.4 

*** Building dconf *** [18/21]
make  
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix /d2/gnome-shell/install --libdir /d2/gnome-shell/install/lib64 --disable-static --disable-gtk-doc CFLAGS=-ggdb -Werror LDFLAGS=-L/d2/gnome-shell/install/lib64  --no-create --no-recursion
configure: WARNING: unrecognized options: --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for valac... /d2/gnome-shell/install/bin/valac
checking /d2/gnome-shell/install/bin/valac is at least version 0.9.4... no
configure: error: Vala 0.9.4 not found.
make: *** [config.status] Error 1
*** Error during phase build of dconf: ########## Error running make   *** [18/21]


As per the latest gnome-shell.modules we are using vala-0.9.3.

I have tried using  vala-0.9.4 [use-vala-0.9.4.patch]. but on using vala-0.9.4, dconf build failed saying,
Comment 1 sathyz 2010-08-04 06:41:05 UTC
Created attachment 167090 [details] [review]
add break statement

on using vala-0.9.4, dconf build failed saying 

...
ln -fs libdconf.so.0 libdconf.so
  GISCAN dconf-0.3.gir
  GICOMP dconf-0.3.gir
  GEN    dconf.deps
make[1]: Leaving directory `/d2/gnome-shell/source/dconf/client'
Making all in bin
make[1]: Entering directory `/d2/gnome-shell/source/dconf/bin'
  VALAC  dconf_vala.stamp
dconf.vala:66.3-93.10: error: missing break statement at end of switch section
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [dconf_vala.stamp] Error 1
make[1]: Leaving directory `/d2/gnome-shell/source/dconf/bin'
make: *** [all-recursive] Error 1
*** Error during phase build of dconf: ########## Error running make   *** [1/4]

this works after adding break statement in the dconf.vala
Comment 2 Frederic Peters 2010-08-04 06:54:17 UTC
Sathyz, could you report the second part (about the break statement) against the dconf product? Thanks.
Comment 3 sathyz 2010-08-04 07:15:53 UTC
File Bug#626002 for error in comment#1.
Comment 4 Owen Taylor 2010-08-04 19:43:25 UTC
Did the update. (It's probably identical to your patch - thanks for the patch!
but I did it myself, since it was trivial and it's a bit of a nuisance to
apply a raw diff. For future reference, it's easiest for us if patches are
attached as formatted by 'git format-patch'. git-bz is an easy way to 
attach patches to bugs and file new bugs for patches.