GNOME Bugzilla – Bug 784236
totem meson parallelized build fails when not previously installed
Last modified: 2017-06-27 07:43:48 UTC
Created attachment 354542 [details] Full configure and build log When building recent totem with meson and `ninja -j8`, the build fails, presumably only if totem was not previously successfully installed (I'm guessing this based on the error which would probably not happen if introspection and/or vapi information had been installed before building). The error in question is: FAILED: src/plugins/rotation/rotation@sha/totem-rotation-plugin.c src/plugins/rotation/rotation.h src/plugins/rotation/rotation.vapi valac -C --debug --pkg clutter-gtk-1.0 --pkg cogl-pango-1.0 --pkg libpeas-1.0 --pkg gtk+-3.0 -d src/plugins/rotation/rotation@sha --library=rotation -H src/plugins/rotation/rotation.h --use-header --vapi ../rotation.vapi --girdir=/buildstream/build/_builddir/src --pkg=Totem-1.0 ../src/plugins/rotation/bacon-video.vapi ../src/plugins/rotation/totem-rotation-plugin.vala error: Package `Totem-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s) This happen when running `ninja -j 8 -C _builddir`, but it does not happen when running `ninja -j 1 -C _builddir`. This might be a meson bug causing this ? I am unsure. Attaching a more complete build log in case that is helpful.
It's a bug in meson: https://github.com/mesonbuild/meson/issues/1994 Easiest way around the problem is to disable vala plugins for now.