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 768054 - build error: `shotwell-plugin-common' not found in specified vapi or gir directories
build error: `shotwell-plugin-common' not found in specified vapi or gir dire...
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: build
unspecified
Other Linux
: Normal major
: 0.24
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-26 03:37 UTC by Jeremy Bicha
Modified: 2016-07-01 23:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
buildlog (1.05 MB, text/plain)
2016-06-26 03:37 UTC, Jeremy Bicha
  Details
buildlog-20160701 (787.04 KB, text/plain)
2016-07-01 22:54 UTC, Jeremy Bicha
  Details
build: Fix parallel build (1.26 KB, patch)
2016-07-01 23:20 UTC, Jens Georg
committed Details | Review

Description Jeremy Bicha 2016-06-26 03:37:13 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.
Comment 1 Jens Georg 2016-06-26 07:20:40 UTC
are you building out-of-tree?
Comment 2 Jens Georg 2016-06-26 07:21:12 UTC
ah sorry, missed the last sentence. Yes, there is a race condition when building parallel.
Comment 3 Jeremy Bicha 2016-06-26 07:33:31 UTC
(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
Comment 4 Jens Georg 2016-06-27 08:48:37 UTC
Yes, sorry about that, will be fixed with next release
Comment 5 Jeremy Bicha 2016-07-01 22:54:00 UTC
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
Comment 6 Jens Georg 2016-07-01 23:03:35 UTC
Ah. Didn't try the combination "build out of tree with vala"
Comment 7 Jens Georg 2016-07-01 23:20:48 UTC
Created attachment 330760 [details] [review]
build: Fix parallel build

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 8 Jens Georg 2016-07-01 23:26:01 UTC
Attachment 330760 [details] pushed as 310e538 - build: Fix parallel build
Comment 9 Jeremy Bicha 2016-07-01 23:38:12 UTC
Thanks! It works here now.