From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iM2dNMfa6mBVUQAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 13:49:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KHZeMMfa6mD5NQAAB5/wlQ (envelope-from ) for ; Sun, 11 Jul 2021 11:49:27 +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 4F24128735 for ; Sun, 11 Jul 2021 13:49:27 +0200 (CEST) Received: from localhost ([::1]:50998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Xxe-0005FG-CK for larch@yhetil.org; Sun, 11 Jul 2021 07:49:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2XxJ-00044S-Lh for guix-patches@gnu.org; Sun, 11 Jul 2021 07:49:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2XxJ-0008Iy-DZ for guix-patches@gnu.org; Sun, 11 Jul 2021 07:49:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2XxJ-00074P-DB for guix-patches@gnu.org; Sun, 11 Jul 2021 07:49:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH v5 08/20] libgpg-error: Fix cross-compilation error. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 11:49: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 Cc: Maxime Devos Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162600409426980 (code B ref 49025); Sun, 11 Jul 2021 11:49:05 +0000 Received: (at 49025) by debbugs.gnu.org; 11 Jul 2021 11:48:14 +0000 Received: from localhost ([127.0.0.1]:34058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2XwT-000710-QF for submit@debbugs.gnu.org; Sun, 11 Jul 2021 07:48:14 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:38508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2XwJ-0006y5-EX for 49025@debbugs.gnu.org; Sun, 11 Jul 2021 07:48:04 -0400 Received: from localhost.localdomain ([213.119.242.127]) by xavier.telenet-ops.be with bizsmtp id Tnno2500V2ldwth01no2rg; Sun, 11 Jul 2021 13:48:03 +0200 From: Maxime Devos Date: Sun, 11 Jul 2021 13:47:11 +0200 Message-Id: <20210711114723.27568-9-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210711114723.27568-1-maximedevos@telenet.be> References: <419215938396207999184dafa43afaed6d7a0715.camel@telenet.be> <20210711114723.27568-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=1626004083; bh=GTJXiJu9i4qQ52TOPO4K/hcLzGRUNQA7Cm4Az8dv4LM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=K35tjD110iCpP0pad8s/ZeHNmiJGu9OIdIri9fnxi06JvRD0Wg1wg15CvdVISHgl7 KbWiUcBYn0rBAc8hjKx7taL+RdSqgl0jPn9i9/W+VeNkTgbmpdSTIj9RwjFDw26hwo Ut1oh6zNtZRXSdZlW+XVYqNFWDStsk0fMnf5kYKhW4Qhog8YKmpqDdGNeVPbPlf1P7 baIgMDbFbT6u93xV7ZqCoS9L8gEWwyYsvIMVyXLeLMsKOwxM+kzla1CovdiEPbMjWm lwkINdDq/mOg+rA21/K0KSjmXb8veIC2YWjmH/4q7WTE1n7CwfPARV0adz6MImZLUF U5S+7JGRYyDMg== 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=1626004167; 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=I4l8OYb8XpJo3KYxkaqsrkMVXkLt9cyWFEnDkC55J6Qrb81gDS2/NDEAlj28DNfc5NPfOv 6K8G6Jgi9Po3Hcm2hPfY7SX2LcChTWXBdDJklZm5jUJI57RCgsCCl32q5/nA0pP5KMGuLR VcHh3OkwTVRjBx410cFSCX8CfGbwXho36GuyO9ZTnTuI6TbJ1aWD7+xfsWoV1mnOSHi9Ct EQkjzafH5mglHW02/2ohZiFzqhH1nZwnTcfO7pq1OhmmuGkcB01E7nrWTh9shZbtmuUGB/ YeGSfGz3HsNZdgBjtGYLirWBuz07jsFUtDFucXOF2JNHEYk6dFVqaQW1kOABKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626004167; a=rsa-sha256; cv=none; b=MUQyUmi4YYIwm6L411f6mufgPqTWGEd8MRcxwyZhoCkjc+vZ/Fa3Fdsw/hWqK6CzI93LH/ 9FRG0+7sQz01Zn3LVf5hWs8k0HR1+Y2RAxFh438CcsdduVHXkyLjI2sppDB0coyATCjOtb VXopYDRCxAFk7nDpidPi3n7N4/RpKXfTR6bJmvSxaLDsKT+l2KX8LcjfpfOIUCiIJEH3X3 eWGC5KXRQVVAdtSEZ33nxKaQTcX97zhXhcWZlsABdkHp1qHQUA4gln84YRaMulEKT8VPfe d/ILGEQxDnvTFccWnygY2WeyNMs+BOV0TeVkfcCyNQ4ASqsHshBcboOltjh1tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=K35tjD11; 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.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=K35tjD11; 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: 4F24128735 X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: 02+6bYMm3ORN 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