From patchwork Thu Sep 23 23:22:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 33264 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 46DD127BBE1; Fri, 24 Sep 2021 00:24:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DF7CC27BBE3 for ; Fri, 24 Sep 2021 00:24:11 +0100 (BST) Received: from localhost ([::1]:42120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTY4Y-0006Dj-UX for patchwork@mira.cbaines.net; Thu, 23 Sep 2021 19:24:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTY4Q-0006Db-Mz for guix-patches@gnu.org; Thu, 23 Sep 2021 19:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTY4Q-0003ze-8z for guix-patches@gnu.org; Thu, 23 Sep 2021 19:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTY4P-0005wj-VD for guix-patches@gnu.org; Thu, 23 Sep 2021 19:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50770] [PATCH core-updates-frozen] Cross-compile more (indirect) GTK+ dependencies Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Sep 2021 23:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50770 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50770@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163243938322773 (code B ref -1); Thu, 23 Sep 2021 23:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2021 23:23:03 +0000 Received: from localhost ([127.0.0.1]:56234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTY3N-0005uc-2k for submit@debbugs.gnu.org; Thu, 23 Sep 2021 19:23:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:44936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTY3I-0005uQ-7H for submit@debbugs.gnu.org; Thu, 23 Sep 2021 19:22:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTY3I-0005n9-28 for guix-patches@gnu.org; Thu, 23 Sep 2021 19:22:52 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:44284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTY3F-0003BV-16 for guix-patches@gnu.org; Thu, 23 Sep 2021 19:22:51 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id xbNl250030mfAB406bNluN; Fri, 24 Sep 2021 01:22:45 +0200 Message-ID: From: Maxime Devos Date: Fri, 24 Sep 2021 01:22:37 +0200 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632439365; bh=kn2DHtUhD7DIDa5HcheAUjB4tEydS5TKGwAqzbZQZYM=; h=Subject:From:To:Date; b=l9EU8WpdRve4gA4mC42WDDQB03RjqW88IaNPW8w1ph4LOjXrGWfhiWvQbKItUL+D8 +VKtw5HLAI0An0AvrznHHOfyuQQBRQDLYHeGTbjCh+WzYFHzDSNqnQakQkrPWCEUXx LnvxFWh0OVcmEUMkk7V/1n7o6XMLf8MCWFCC3HxjnFv3B78gfejQJUSiF+bUY46ews BMBXBOcpzTFNYuQFjc5SHVY+O5po0wpUvDaAi/PS8G16b2ONo84GHCSB9MTs+ACyzd WNv26q0+5qx58JBr904b1mVI7WltLbVHmmpmzv9pcw2KX32TuLKvTYXHR6/5Cz3a7I /HlAJOj9GHKUA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches User: guix Usertags: cross-compilation Hi guix, This small patch series fixes a few easy-to-fix cross-compilation failures of a few (indirect) dependencies of gtk+. The first patch can also be found at . Greetings, Maxime From b68db7b327b4c0f372efbb7fb39791230adb54c9 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Thu, 23 Sep 2021 23:50:28 +0200 Subject: [PATCH 6/6] gnu: gusb: Don't build introspection data when cross-compiling. This fixes a configure error when cross-compilation and doesn't cause any rebuilds. * gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>: Set 'introspection' and 'vapi' to false. --- gnu/packages/gnome.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 497713cddc..47eb552603 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -6573,7 +6573,14 @@ DAV, and others.") `(("glib" ,glib) ("libusb" ,libusb))) (arguments - `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is. + `(#:tests? #f ;libusb fails to initialize. Wonder what that is. + #:configure-flags + ,(if (%current-target-system) + ;; Introspection data cannot currently be cross-compiled. + ''("-Dintrospection=false" + ;; Requires introspection data. + "-Dvapi=false") + ''()))) (home-page "https://github.com/hughsie/libgusb") (synopsis "GLib binding for libusb1") (description -- 2.33.0