Summary: | spice-gtk --enable-vala fails to build on Debian/Ubuntu | ||
---|---|---|---|
Product: | Spice | Reporter: | Jeremy Bicha <jbicha> |
Component: | spice-gtk | Assignee: | Spice Bug List <spice-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
build: fix vapigen error and warnings
build: fix vapigen error and warnings |
Description
Jeremy Bicha
2012-01-23 13:43:51 UTC
(In reply to comment #0) > With either vala 0.14.1 or 0.15 and glib 2.31 on Ubuntu 12.04 Alpha amd64 (or > on Debian unstable amd64 with glib 2.30.2 and vala 0.14.0), the gtk3 build of > spice-gtk 0.8 fails when --enable-vala is used. (--enable-vala works with the > gtk2 build but I don't have any need for that). > > Full build log: http://fpaste.org/d4VC/ > > Excerpt of failure: > > /spice-gtk-0.8/build-gtk3/vapi$ make V=1 > /usr/bin/vapigen \ > --library spice-client-glib-2.0 \ > ../gtk/SpiceClientGLib-2.0.gir Can you try adding --pkg gio-2.0 argument for this command? thanks Thanks! That works although there's still a warning. spice-gtk-0.8/build-gtk3/vapi$ /usr/bin/vapigen --library spice-client-glib-2.0 --pkg gio-2.0 ../gtk/SpiceClientGLib-2.0.gir SpiceClientGLib-2.0.gir:223.7-223.21: warning: Virtual method `Spice.Channel.open_fd' conflicts with method of the same name <virtual-method name="open_fd"> ^^^^^^^^^^^^^^^ Generation succeeded - 1 warning(s) Created attachment 56057 [details] [review] build: fix vapigen error and warnings Created attachment 56058 [details] [review] build: fix vapigen error and warnings forget the 1st patch, second patch works for me. I'll wait for you to check it before pushing it. thanks Thanks for the patch. The patch only worked if I moved --pkg gio-2.0 from the spice-client-gtk*.vapi section to the spice-client-glib-2.0.vapi section. thanks, corrected patch pushed (git bz failed on me again). http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=c4ac4ca2bfdd01feb5049a83be781fab14bb7050 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.