From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GKzOOkzH7mAcggEAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 13:15:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QGiPNkzH7mD0DQAA1q6Kng (envelope-from ) for ; Wed, 14 Jul 2021 11:15:24 +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 A8901159D8 for ; Wed, 14 Jul 2021 13:15:24 +0200 (CEST) Received: from localhost ([::1]:49720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3crL-0003r6-Mv for larch@yhetil.org; Wed, 14 Jul 2021 07:15:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3cq7-0000yq-2X for guix-patches@gnu.org; Wed, 14 Jul 2021 07:14:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3cq6-0000z6-74 for guix-patches@gnu.org; Wed, 14 Jul 2021 07:14:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3cq6-0001QI-46 for guix-patches@gnu.org; Wed, 14 Jul 2021 07:14:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH v6 10/22] libgpg-error: Fix cross-compilation error. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Jul 2021 11:14:06 +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 Cc: Mathieu Othacehe , Maxime Devos Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.16262612185278 (code B ref 49025); Wed, 14 Jul 2021 11:14:06 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jul 2021 11:13:38 +0000 Received: from localhost ([127.0.0.1]:43161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3cpe-0001Mx-8l for submit@debbugs.gnu.org; Wed, 14 Jul 2021 07:13:38 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:39834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3cpP-0001Jg-Ck for 49025@debbugs.gnu.org; Wed, 14 Jul 2021 07:13:23 -0400 Received: from localhost.localdomain ([188.188.219.228]) by andre.telenet-ops.be with bizsmtp id UzDG2500W4wFxCU01zDNFm; Wed, 14 Jul 2021 13:13:23 +0200 From: Maxime Devos Date: Wed, 14 Jul 2021 13:12:55 +0200 Message-Id: <20210714111307.19324-11-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210714111307.19324-1-maximedevos@telenet.be> References: <20210714111307.19324-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1626261203; bh=GTJXiJu9i4qQ52TOPO4K/hcLzGRUNQA7Cm4Az8dv4LM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kk+WpFSKmy9c05y5CoJUPEt3ZJ+RLM7e0XkMgekYIx+Bg0Sg9JDwK08FG0WGB+md6 3zsWRj4+k7MaFtvBVuhwnuPTANoc5yjp5l158uah3Mh9H238yT0gyLTWKXfik5a+Up ayJgkForix02FT9FtZcWaarYi7v44PcaWHRyEgE6kwpWp9GjJ6EeYjoM8UQyT34kP6 kZROVQD3vqbjVsDINcZSPni9UvwrEbNAXnKm79UFg2W0pZlYt//vfgcH4kYZvzXZxV 9DviFrAsTEm40sqPnKoyX2PAbI63vDbzF6TXJ2LxUVEBiJYTPzYsbzO1YWy9w0lkx4 eLdxQdUBNt8fg== 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=1626261324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=GTJXiJu9i4qQ52TOPO4K/hcLzGRUNQA7Cm4Az8dv4LM=; b=qzx1hXsl5uzkeXPoxHigMq5P7yjEAWGjV1Kh2zUtIa2MVbcVJ0hxvNO7l9L/b9nX/WThhB TLJfLfJJr3GJE2PwuamIx5/bu4Fg7EMBtxXXpuGWknyjk927Ieqi7WAvFIydVLpJYNLPfd SpjEBktY5fJoGlPK3vIFWqDi0G8DIfiiaku37j3X58Ql6Rg7ttDyhC0VHeXcVOQU7ePDKJ 0PYjnOV3rV9cVMSdtdWbsGGgvmL53htOsnP1icBbbQRJlHXuoN7uHfxqiV/WcQEi2PpdLT qmuW2AG/wGQUekJIGI2651v0qA+/iiMPvyFiTXRNnl5JDImGnhmPKUGYXwbY0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626261324; a=rsa-sha256; cv=none; b=PNKMCAMeBbsu+MsSTETgnxG+0AZ3meImbxCA10lJRg4tpUX0s1yfb8SlF46EZjZrXtupCv 3nb++t60f0vKpiDwyLd4qMlHfSXqN/rWIBVG76MKW2H0hRA4H6MKugjHvhp5ZcSnE5GvLf OJNOiGIsiIP7EmW/fbfFxQR7p+idf3K9cKvt16PgDCX+vCwZmTdU+M9phnWzJq9ASqzje1 uEhZj04aGhI7b2sN/37BjNRIa2jK+2yvluF2bCGF/PY+hYSxzGOznw2Na61gwcqKIYTfbo uE0jutUFrfJXTmSHfveTh591STq8GA9ebDXdrWQjU4RSXEqZiN2CsH5kEtqM/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=kk+WpFSK; 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: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=kk+WpFSK; 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: A8901159D8 X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: tkhELGZV+DDh 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(+) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 1a7c682ad6..bb6fa4678b 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 -- 2.32.0