From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Van Ymeren Subject: bug#28813: 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 Message-ID: <87lgkf9hgy.fsf@vany.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e32Cv-0000F6-Ol for bug-guix@gnu.org; Fri, 13 Oct 2017 11:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e32Cs-00063f-LH for bug-guix@gnu.org; Fri, 13 Oct 2017 11:49:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e32Cs-00063R-H3 for bug-guix@gnu.org; Fri, 13 Oct 2017 11:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e32Cs-0004v6-9i for bug-guix@gnu.org; Fri, 13 Oct 2017 11:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e32CW-0000DN-MW for bug-guix@gnu.org; Fri, 13 Oct 2017 11:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e32CR-0005nY-7j for bug-guix@gnu.org; Fri, 13 Oct 2017 11:48:40 -0400 Received: from mail2.vany.ca ([142.54.190.254]:46514) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e32CR-0005lz-2w for bug-guix@gnu.org; Fri, 13 Oct 2017 11:48:35 -0400 Received: from adamvy-laptop (CPE9050ca1ba233-CM9050ca1ba230.cpe.net.cable.rogers.com [99.250.179.79]) by mail2.vany.ca (Postfix) with ESMTPSA id 99606AC001A for ; Fri, 13 Oct 2017 10:48:30 -0500 (CDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 28813@debbugs.gnu.org $ 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