all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28813: Building totem-3.26.0 fails, ordering issue with repsect to vala plugins and Totem-1.0.gir
@ 2017-10-13 15:48 Adam Van Ymeren
  2017-10-13 16:40 ` bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813 Adam Van Ymeren
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Van Ymeren @ 2017-10-13 15:48 UTC (permalink / raw)
  To: 28813

$ guix build totem

Exerpt from log

[81/150] Compiling C object 'src/plugins/media-player-keys/media_player_keys@sha/totem-media-player-keys.c.o'.
[82/150] Compiling C object 'src/plugins/media-player-keys/media_player_keys@sha/src_backend_bacon-video-widget-enums.c.o'.
[83/150] Compiling C object 'src/plugins/ontop/ontop@sha/totem-ontop.c.o'.
[84/150] Compiling C object 'src/plugins/autoload-subtitles/autoload-subtitles@sha/src_backend_bacon-video-widget-enums.c.o'.
[85/150] Generating screensaver.plugin with a custom command.
Found cached translation database
Merging translations into src/plugins/screensaver/screensaver.plugin.
[86/150] Compiling C object 'src/plugins/ontop/ontop@sha/src_backend_bacon-video-widget-enums.c.o'.
[87/150] Compiling Vala source ../totem-3.26.0/src/plugins/rotation/bacon-video.vapi ../totem-3.26.0/src/plugins/rotation/totem-rotation-plugin.vala.
FAILED: src/plugins/rotation/rotation@sha/totem-rotation-plugin.c src/plugins/rotation/rotation.h src/plugins/rotation/rotation.vapi 
valac -C --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 --vapi ../rotation.vapi --girdir=/tmp/guix-build-totem-3.26.0.drv-0/build/src --pkg=Totem-1.0 ../totem-3.26.0/src/plugins/rotation/bacon-video.vapi ../totem-3.26.0/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)
...



It tries to build the totem-rotation-plugin which requires the
src/Totem-1.0.gir file.  However src/Totem-1.0.gir has not been
generated yet.

The offending rule in the generated build.ninja file is this

build src/plugins/sample-vala/sample-vala@sha/totem-sample-vala-plugin.c src/plugins/sample-vala/sample-vala.h src/plugins/sample-vala/sample-vala.vapi: vala_COMPILER ../totem-3.26.0/src/plugins/sample-vala/totem-sample-vala-plugin.vala

which should instead read

build src/plugins/sample-vala/sample-vala@sha/totem-sample-vala-plugin.c src/plugins/sample-vala/sample-vala.h
src/plugins/sample-vala/sample-vala.vapi: vala_COMPILER ../totem-3.26.0/src/plugins/sample-vala/totem-sample-vala-plugin.vala || src/Totem-1.0.gir

Unforunately I don't know enough about meson and ninja to figure out how
to fix this.

It also builds successfully if you force ninja to only use one thread.

This should probably be reported upstream.  Other distros may not notice
this if valac picks up the system Totem-1.0.gir if Totem is already
installed.

-Adam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813
  2017-10-13 15:48 bug#28813: Building totem-3.26.0 fails, ordering issue with repsect to vala plugins and Totem-1.0.gir Adam Van Ymeren
@ 2017-10-13 16:40 ` Adam Van Ymeren
  2017-10-16 12:59   ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Van Ymeren @ 2017-10-13 16:40 UTC (permalink / raw)
  To: 28813


---
 gnu/packages/gnome.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1ceba162b..031b30426 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3641,6 +3641,12 @@ for application developers.")
     (arguments
      `(#:glib-or-gtk? #t
 
+       ;; Disable parallel builds until
+       ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
+       ;; fixed.  Try enabling it when updating this package in case
+       ;; upstream has fixed it.
+       #:parallel-build? #f
+
        ;; Disable automatic GStreamer plugin installation via PackageKit and
        ;; all that.
        #:configure-flags '("-D" "enable-easy-codec-installation=no"
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813
  2017-10-13 16:40 ` bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813 Adam Van Ymeren
@ 2017-10-16 12:59   ` Ludovic Courtès
  2017-10-17  0:53     ` Adam Van Ymeren
  2017-10-17  1:21     ` Adam Van Ymeren
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-10-16 12:59 UTC (permalink / raw)
  To: Adam Van Ymeren; +Cc: 28813-done

Hi Adam,

Adam Van Ymeren <adam@vany.ca> skribis:

> ---
>  gnu/packages/gnome.scm | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 1ceba162b..031b30426 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -3641,6 +3641,12 @@ for application developers.")
>      (arguments
>       `(#:glib-or-gtk? #t
>  
> +       ;; Disable parallel builds until
> +       ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
> +       ;; fixed.  Try enabling it when updating this package in case
> +       ;; upstream has fixed it.
> +       #:parallel-build? #f

Good catch!  I completed the commit log and applied, thanks.

If you haven’t already, could you report it upstream?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813
  2017-10-16 12:59   ` Ludovic Courtès
@ 2017-10-17  0:53     ` Adam Van Ymeren
  2017-10-17  1:21     ` Adam Van Ymeren
  1 sibling, 0 replies; 6+ messages in thread
From: Adam Van Ymeren @ 2017-10-17  0:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 28813-done

ludo@gnu.org (Ludovic Courtès) writes:
> If you haven’t already, could you report it upstream?

Will do.  Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813
  2017-10-16 12:59   ` Ludovic Courtès
  2017-10-17  0:53     ` Adam Van Ymeren
@ 2017-10-17  1:21     ` Adam Van Ymeren
  2017-10-17 16:08       ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Adam Van Ymeren @ 2017-10-17  1:21 UTC (permalink / raw)
  To: 28813-done

Adding more information for future readers.

Turns out this is an upstream problem with the meson build system.

https://github.com/mesonbuild/meson/issues/1923

It was reported upstream but closed here:

https://bugzilla.gnome.org/show_bug.cgi?id=786248

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813
  2017-10-17  1:21     ` Adam Van Ymeren
@ 2017-10-17 16:08       ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-10-17 16:08 UTC (permalink / raw)
  To: Adam Van Ymeren; +Cc: 28813-done

Adam Van Ymeren <adam@vany.ca> skribis:

> Adding more information for future readers.
>
> Turns out this is an upstream problem with the meson build system.
>
> https://github.com/mesonbuild/meson/issues/1923
>
> It was reported upstream but closed here:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=786248

Great, thanks for investigating!

Ludo'.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-17 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 15:48 bug#28813: Building totem-3.26.0 fails, ordering issue with repsect to vala plugins and Totem-1.0.gir Adam Van Ymeren
2017-10-13 16:40 ` bug#28813: [PATCH] gnu: totem: Disable parallel build due to http://debbugs.gnu.org/28813 Adam Van Ymeren
2017-10-16 12:59   ` Ludovic Courtès
2017-10-17  0:53     ` Adam Van Ymeren
2017-10-17  1:21     ` Adam Van Ymeren
2017-10-17 16:08       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.