GNU bug report logs - #28813
Building totem-3.26.0 fails, ordering issue with repsect to vala plugins and Totem-1.0.gir

Previous Next

Package: guix;

Reported by: Adam Van Ymeren <adam <at> vany.ca>

Date: Fri, 13 Oct 2017 15:49:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28813 in the body.
You can then email your comments to 28813 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#28813; Package guix. (Fri, 13 Oct 2017 15:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Van Ymeren <adam <at> vany.ca>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 13 Oct 2017 15:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Van Ymeren <adam <at> vany.ca>
To: bug-guix <at> gnu.org
Subject: Building totem-3.26.0 fails,
 ordering issue with repsect to vala plugins and Totem-1.0.gir
Date: Fri, 13 Oct 2017 11:48:29 -0400
$ guix build totem

Exerpt from log

[81/150] Compiling C object 'src/plugins/media-player-keys/media_player_keys <at> sha/totem-media-player-keys.c.o'.
[82/150] Compiling C object 'src/plugins/media-player-keys/media_player_keys <at> sha/src_backend_bacon-video-widget-enums.c.o'.
[83/150] Compiling C object 'src/plugins/ontop/ontop <at> sha/totem-ontop.c.o'.
[84/150] Compiling C object 'src/plugins/autoload-subtitles/autoload-subtitles <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#28813; Package guix. (Fri, 13 Oct 2017 16:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 28813 <at> debbugs.gnu.org (full text, mbox):

From: Adam Van Ymeren <adam <at> vany.ca>
To: 28813 <at> debbugs.gnu.org
Subject: [PATCH] gnu: totem: Disable parallel build due to
 http://debbugs.gnu.org/28813
Date: Fri, 13 Oct 2017 12:40:50 -0400
---
 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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 16 Oct 2017 13:00:02 GMT) Full text and rfc822 format available.

Notification sent to Adam Van Ymeren <adam <at> vany.ca>:
bug acknowledged by developer. (Mon, 16 Oct 2017 13:00:03 GMT) Full text and rfc822 format available.

Message #13 received at 28813-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Adam Van Ymeren <adam <at> vany.ca>
Cc: 28813-done <at> debbugs.gnu.org
Subject: Re: bug#28813: [PATCH] gnu: totem: Disable parallel build due to
 http://debbugs.gnu.org/28813
Date: Mon, 16 Oct 2017 14:59:13 +0200
Hi Adam,

Adam Van Ymeren <adam <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#28813; Package guix. (Tue, 17 Oct 2017 00:54:01 GMT) Full text and rfc822 format available.

Message #16 received at 28813-done <at> debbugs.gnu.org (full text, mbox):

From: Adam Van Ymeren <adam <at> vany.ca>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 28813-done <at> debbugs.gnu.org
Subject: Re: bug#28813: [PATCH] gnu: totem: Disable parallel build due to
 http://debbugs.gnu.org/28813
Date: Mon, 16 Oct 2017 20:53:33 -0400
ludo <at> gnu.org (Ludovic Courtès) writes:
> If you haven’t already, could you report it upstream?

Will do.  Thanks!




Information forwarded to bug-guix <at> gnu.org:
bug#28813; Package guix. (Tue, 17 Oct 2017 01:22:02 GMT) Full text and rfc822 format available.

Message #19 received at 28813-done <at> debbugs.gnu.org (full text, mbox):

From: Adam Van Ymeren <adam <at> vany.ca>
To: 28813-done <at> debbugs.gnu.org
Subject: Re: bug#28813: [PATCH] gnu: totem: Disable parallel build due to
 http://debbugs.gnu.org/28813
Date: Mon, 16 Oct 2017 21:21:48 -0400
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




Information forwarded to bug-guix <at> gnu.org:
bug#28813; Package guix. (Tue, 17 Oct 2017 16:09:02 GMT) Full text and rfc822 format available.

Message #22 received at 28813-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Adam Van Ymeren <adam <at> vany.ca>
Cc: 28813-done <at> debbugs.gnu.org
Subject: Re: bug#28813: [PATCH] gnu: totem: Disable parallel build due to
 http://debbugs.gnu.org/28813
Date: Tue, 17 Oct 2017 18:08:51 +0200
Adam Van Ymeren <adam <at> 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'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Nov 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.