From patchwork Fri Mar 8 17:20:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivien Kraus X-Patchwork-Id: 61534 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 4BEEF27BBEA; Fri, 8 Mar 2024 17:43:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 81E9627BBE2 for ; Fri, 8 Mar 2024 17:43:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rieFo-0000NE-G3; Fri, 08 Mar 2024 12:43:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rieFm-0000N1-K0 for guix-patches@gnu.org; Fri, 08 Mar 2024 12:43:31 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rieFl-0000vm-KQ for guix-patches@gnu.org; Fri, 08 Mar 2024 12:43:30 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rieGH-00071K-O5 for guix-patches@gnu.org; Fri, 08 Mar 2024 12:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69652] [PATCH gnome-team 1/1] gnu: orbit2: Mark it unsupported in 32-bits systems. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Mar 2024 17:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69652@debbugs.gnu.org Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 69652-submit@debbugs.gnu.org id=B69652.170991983926970 (code B ref 69652); Fri, 08 Mar 2024 17:44:01 +0000 Received: (at 69652) by debbugs.gnu.org; 8 Mar 2024 17:43:59 +0000 Received: from localhost ([127.0.0.1]:59498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rieGD-00070v-UW for submit@debbugs.gnu.org; Fri, 08 Mar 2024 12:43:58 -0500 Received: from planete-kraus.eu ([89.234.140.182]:53476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rieGA-00070b-JR for 69652@debbugs.gnu.org; Fri, 08 Mar 2024 12:43:56 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id d3ee3223; Fri, 8 Mar 2024 17:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniA; bh=NpBVq84izTGOAmJHB9hKCfLc40E=; b=m JgsKh+srwGMg55SH1ObcWUC8V1jlrG8BG3mDy39u1XkTFV1cjWlk100jc7/YRMKl +ID7DT9GzNk4fhcmmtZ+6dG/TTwErpbIUf8z39ft2wUfykJtgApRdPrhnOpjF2Fm Xc6YckujADV8z9EeG8fg5K3rA5uU676Tqe5yJHaKH7XSfIEn3oGOaTlxSOKrpkLd yjlfyKcNHmXpVGuL7/lMZsvWo3BLLUcdKLwOYbuZlOifbp/3LqBjLP2Mx2E0HQZM d7M0SeFqVRalOA4BuEBbisZ3uZlo9eKQ3qAQuaNbHCRYbq0RtaeuztaF6YSrxTRE 9B0tTmZBFerUGSIRMehig== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id b0355b2e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 8 Mar 2024 17:43:16 +0000 (UTC) Message-ID: In-Reply-To: References: Date: Fri, 8 Mar 2024 18:20:53 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.48.4 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: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches X-Patchwork-Original-From: Vivien Kraus via Guix-patches via From: Vivien Kraus Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome.scm (orbit2) [supported-systems]: New field. [arguments]: Convert to list of G-Expressions. Change-Id: I55766c43e7abc703815c30dccf38faf640ffc07e --- gnu/packages/gnome.scm | 53 ++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 13cad0add2..711890d617 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3798,34 +3798,37 @@ (define-public orbit2 (sha256 (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) + ;; Many tests fail on 32-bit systems. + (supported-systems %64bit-supported-systems) (build-system gnu-build-system) (arguments - `(;; The "timeout-server" test hangs when run in parallel. - #:parallel-tests? #f - #:configure-flags - '(;; We don't need static libraries, plus they don't build reproducibly - ;; (non-deterministic ordering of .o files in the archive.) - "--disable-static" - - ;; The programmer kindly gives us a hook to turn off deprecation - ;; warnings ... - "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") - ;; ... which they then completly ignore !! - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-parallel-build - ;; Parallel build fails because of a failed dependency, - ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274 - (lambda _ - (substitute* "src/services/name/Makefile.am" - (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h") - "orbit_name_server_2_DEPENDENCIES = \ + (list + ;; The "timeout-server" test hangs when run in parallel. + #:parallel-tests? #f + #:configure-flags + #~'(;; We don't need static libraries, plus they don't build reproducibly + ;; (non-deterministic ordering of .o files in the archive.) + "--disable-static" + + ;; The programmer kindly gives us a hook to turn off deprecation + ;; warnings ... + "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") + ;; ... which they then completly ignore !! + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-parallel-build + ;; Parallel build fails because of a failed dependency, + ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274 + (lambda _ + (substitute* "src/services/name/Makefile.am" + (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h") + "orbit_name_server_2_DEPENDENCIES = \ $(DEPS) CosNaming.h libname-server-2.a")))) - (add-before 'configure 'ignore-deprecations - (lambda _ - (substitute* "linc2/src/Makefile.in" - (("-DG_DISABLE_DEPRECATED") - "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))))))) + (add-before 'configure 'ignore-deprecations + (lambda _ + (substitute* "linc2/src/Makefile.in" + (("-DG_DISABLE_DEPRECATED") + "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))))))) (inputs (list glib libidl)) (native-inputs (list pkg-config))