From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aHuxFVt8x2D8aQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 17:57:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ABw8EVt8x2BAFQAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 15:57:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B426426303 for ; Mon, 14 Jun 2021 17:57:14 +0200 (CEST) Received: from localhost ([::1]:56432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsoxd-0001zq-DE for larch@yhetil.org; Mon, 14 Jun 2021 11:57:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsof7-0008So-HO for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsof7-00079d-84 for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsof7-0004EW-61 for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 11/37] libgpg-error: Fix cross-compilation error. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 15:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368506716138 (code B ref 49025); Mon, 14 Jun 2021 15:38:05 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:37:47 +0000 Received: from localhost ([127.0.0.1]:47527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsoep-0004CE-39 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:37:47 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:45738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsoen-00049r-N0 for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:37:46 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id H3dl250040mfAB4013dlRn; Mon, 14 Jun 2021 17:37:45 +0200 Message-ID: From: Maxime Devos Date: Mon, 14 Jun 2021 17:37:45 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-rQPIJHfkrt46h0WgPwrp" 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=1623685065; bh=xCISRmw/NcIj16CSXxBmMUhAtPL418p40XYo8HWSSlA=; h=Subject:From:To:Date:In-Reply-To:References; b=fcXc55pyk7GZCkvmVFMSLEKdaAHYOnyaL8RuaQ8ud/2niUE14M+h27Y/Jg68Ew8kM eAzENkmFFt9bIM1virCxpH7/sFP69/0F6qhKp/lVZIoA+aO2gIr//ahtO7qD0Pi2kB pR6f12HENfSF2bVP7ok/Kwq8fFugovTTgt2Rly3QEjy5AoemIw9slro8KIVzEQFm4g 1t2P8n39i8eDBACgLlnS1iEM0Paw0lgp3Uwmt7G5YJ/1A5MWC7c7Wjnw05WHgQEa++ wajgDFRqOutAFqKpQBdqmBybUm38jlXk2KTzLbmGUbHewu2pEaB5/YJNGQYfuEC1Rf Eql+8e7oQ5P1g== 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623686235; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=xCISRmw/NcIj16CSXxBmMUhAtPL418p40XYo8HWSSlA=; b=HYsYWAPd8AGbXRwxL6lgu7UrNVR5R/wsOa+hE69WiiP6uyD2SLgZWvjjejKTsAqJSgreSY VvbcbKy8Ks2D9+H1Mdmq3jzWbc1hgJQjpEPQRmyTT/6yPbsOlCfe5IzxRCFA6BGxnURqSM YqrlNfQWgG/Z7e/gqunV/fFPdzCyWGkTr2yVz+K9otY4obow8XGX70iYhYHUckv11fTy+U OdSRkug7VNN3B8dhk7e4MOeZ81jdd1WY4E9B80Xl0B/NTKDD4VDgJTib+wgOO2jaI5+Sbb QqwGOHGgagseEearN0mdI8IBUqyLB9he92pXNV1DnsRS6HSUrJyqB5Fapqljiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623686235; a=rsa-sha256; cv=none; b=SRirHjJ+rEVV1Aod1upZSoNzYLplGHDETtBMmGXfUkRIyqECTYiRzgrutH+WEv2IFeLHL+ 3tHpCepdwF894Rv7twilKoz6UdK01sYXUyGSfA6fzijdq2nQ1vgHTFSUelhI7hvYj0YgCq D3HxaroUQ7jBBUf6vMu8FkQQ5jNmdQIg1Gxbz2y+m47pq2akYlpd+0mhQEiWyddywq9NWa 35AA6L+8hQCsBZRezagmBEp+t79nWodfJtDuZFkX87n6O7WYj2tO/QEUjSw1u6TEXMdm6h tqO1I4Ufa/zZQpWR5q7hC1dnz1jzfr+mG+xPmSM9X6M0UxSHNJeKUSpBm9EwRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=fcXc55py; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=fcXc55py; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B426426303 X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: sKNvDOSIkxx2 --=-rQPIJHfkrt46h0WgPwrp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit TODO: inform upstream about the cross-compilation error. * gnu/packages/gnupg.scm (libgpg-error)[arguments]{fix-gen-lock-obj.sh}: Prevent generated header files from being sprinkled with ā€˜\cā€™. --- gnu/packages/gnupg.scm | 7 +++++++ 1 file changed, 7 insertions(+) --=-rQPIJHfkrt46h0WgPwrp Content-Disposition: attachment; filename="0011-libgpg-error-Fix-cross-compilation-error.patch" Content-Transfer-Encoding: 8bit Content-Type: text/x-patch; name="0011-libgpg-error-Fix-cross-compilation-error.patch"; charset="UTF-8" diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index f5d4118af9..1fee30584c 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -100,6 +100,13 @@ (guix build utils)) #:phases (modify-phases %standard-phases + ;; If this is left out, some generated header + ;; files will be sprinkled with ā€˜\cā€™, which + ;; the compiler won't like. + (add-after 'unpack 'fix-gen-lock-obj.sh + (lambda _ + (substitute* "src/gen-lock-obj.sh" + (("if test -n `echo -n`") "if ! test -n `echo -n`")))) ;; When cross-compiling, some platform specific properties cannot ;; be detected. Create a symlink to the appropriate platform ;; file if required. Note that these platform files depend on --=-rQPIJHfkrt46h0WgPwrp--