GNOME Bugzilla – Bug 768054
build error: `shotwell-plugin-common' not found in specified vapi or gir directories
Last modified: 2016-07-01 23:38:12 UTC
Created attachment 330384 [details] buildlog When I use jhbuild to build shotwell, the build errors. error: Package `shotwell-plugin-common' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s) ../Makefile.plugin.mk:45: recipe for target '.stamp' failed If I choose [1] Rerun phase build it then completes the build ok.
are you building out-of-tree?
ah sorry, missed the last sentence. Yes, there is a race condition when building parallel.
(In reply to Jens Georg from comment #1) > are you building out-of-tree? No, I'm using jhbuild 3.15.92 since that was the last jhbuild tarball released. "JHBuild will automatically append the parallel execution option (-j) based upon available CPU cores." https://developer.gnome.org/jhbuild/stable/config-reference.html
Yes, sorry about that, will be fixed with next release
Created attachment 330759 [details] buildlog-20160701 It still doesn't build with jhbuild buildone shotwell the first time. I have to Rerun phase build make[2]: Entering directory '/home/jeremy/devel/git.gnome.org/shotwell' VALAC src_plugins_libplugin_la_vala.stamp make[2]: *** No rule to make target 'plugins/shotwell-plugin-dev-1.0.h', needed by 'all-am'. Stop. make[2]: *** Waiting for unfinished jobs.... VALAC thumbnailer_shotwell_video_thumbnailer_vala.stamp make[2]: Leaving directory '/home/jeremy/devel/git.gnome.org/shotwell' Makefile:6998: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1
Ah. Didn't try the combination "build out of tree with vala"
Created attachment 330760 [details] [review] build: Fix parallel build Signed-off-by: Jens Georg <mail@jensge.org>
Attachment 330760 [details] pushed as 310e538 - build: Fix parallel build
Thanks! It works here now.