can't build from Subversion on Debian
Submitted by an unknown user
Link to original bug (#717160)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-01-23 17:24:00 -0800 ----
Original Redmine bug id: 3116
Original URL: http://redmine.yorba.org/issues/3116
Searchable id: yorba-bug-3116
Original author: Norbert Preining
Original description:
Hi everyone,
I am as usual trying to build Debian packages from svn for my private use and found that currently it does not build (svn2579):
maker2: Entering directory `/home/norbert/Debian/shotwell/shotwell-0.8.1svn2579/plugins/shotwell- transitions'
valac --save-temps --main=dummy_main --vapidir=../
--pkg=shotwell-transitions-1.0
-X -I../.. -X --shared -X -fPIC -X -D_VERSION='“0.8.1+trunkâ€' shotwell-transitions.vala FadeEffect.vala SlideEffect.vala CrumbleEffect.vala -o shotwell-transitions.so
error: gdk-2.0nshotwell-spit-1.0, dependency of shotwell-transitions-1.0, not found in specified Vala API directories
Compilation failed: 1 error(s), 0 warning(s)
Is this to be expected and temporary, or am I missing something?
Thanks and all the best
Norbert
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:39:00 -0700 ----
History
Comment 1
Updated by Lucas Beeler almost 3 years ago
Hi Norbert,
What's going on here is that the Shotwell Makefile now builds two binary distributables: the Shotwell application itself plus a separate shared library that packages slideshow transition plug-ins. While there's probably a fix around this today by twiddling with the directories the Vala compiler searches through to resolve package dependencies, I think the best strategy is to wait a week or so and then try building your deb again. There's has been -- and will continue to be, at least for a week or so -- a lot of activity in the Shotwell codebase, build system, and Makefile since we're introducing a new plug-in API to allow third-party-developed, runtime-loadable plug-ins for new web publishing services and slideshow effects.
Lucas
Comment 2
Updated by Adam Dingle almost 3 years ago
- Target version set to 0.9
- Priority set to High
- Subject changed from svn compilation problem to can't build from Subversion on Debian
Norbert,
what version of Debian are you running? What version of Vala do you have?
Comment 3
Updated by Norbert Preining almost 3 years ago
Hi Lucas, hi Adam,
@Lucas: thanks for the explanation, I will wait a bit until that stabilizes, no problem.
@adam: Debian unstable, valac 0.9.8-1, but there is also valac-0.10.
Comment 4
Updated by Adam Dingle almost 3 years ago
- Status changed from Open to 5
- Resolution set to fixed
- % Done changed from 0 to 100
From looking at the error message here, I think this was a duplicate of#3127, so I believe this is now fixed. Closing ticket. If you have more trouble building feel free to reopen.
Comment 5
Updated by Norbert Preining almost 3 years ago
Hi Adam,
I tried again after your message and now I get different errors ;-)
Compiling Vala code…
error: Package `gexiv2' not found in specified Vala API directories or GObject-Introspection GIR directories
it doesn't seem to be an actually missing dep, I have installed everything related to gexiv2, and it is at version 0.2.1, so higher than the required version 0.2.0.
I don't open it for now, just ask.
All the best
Norbert
Comment 6
Updated by Adam Dingle almost 3 years ago
Norbert,
hm. When you install gexiv2, the file 'gexiv2.vapi' should be put in a system directory where valac should be able to find it. So let's try to track that file down.
-
You built and installed gexiv2 yourself, right?
-
When you install gexiv2, the output should include a line like this at the very end:
install -m 644 gexiv2.vapi /usr/local/share/vala/vapi
Do you see that line? Does it look the same? Is gexiv2.vapi present in /usr/local/share/vala/vapi, or in some other directory?- You're using valac 0.9.8, right? Did you build/install it yourself, or get it from a Debian package?
Comment 7
Updated by Norbert Preining almost 3 years ago
thanks adam, that led me to the right track.
I had some strange vala 0.12 packages on my system and NO idea where they came from.
The gexiv library provided that .vala file only for vala-0.10, which I thought I was using.
Well, I purged everything and reinstalled from experimental the vala 0.10 and now it is compiling fine.
Sorry for the noise!!!
Norbert
Comment 8
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:49 UTC ---
This bug was previously known as bug 3116 at http://redmine.yorba.org/show_bug.cgi?id=3116
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.9
Resolution: RESOLVED FIXED