From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5Tu3Nnw/M2FBAwAAgWs5BA (envelope-from ) for ; Sat, 04 Sep 2021 11:42:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SOb5MXw/M2F2EgAA1q6Kng (envelope-from ) for ; Sat, 04 Sep 2021 09:42:20 +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 91479C792 for ; Sat, 4 Sep 2021 11:42:20 +0200 (CEST) Received: from localhost ([::1]:39550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMSBn-0002qM-BD for larch@yhetil.org; Sat, 04 Sep 2021 05:42:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMSBX-0002qC-7Z for guix-patches@gnu.org; Sat, 04 Sep 2021 05:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMSBW-0007dZ-W7 for guix-patches@gnu.org; Sat, 04 Sep 2021 05:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMSBW-0002mY-UJ for guix-patches@gnu.org; Sat, 04 Sep 2021 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH v2 2/3] gnu: notmuch: Make cross-compilable. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.163074852110677 (code B ref 50077); Sat, 04 Sep 2021 09:42:02 +0000 Received: (at 50077) by debbugs.gnu.org; 4 Sep 2021 09:42:01 +0000 Received: from localhost ([127.0.0.1]:46646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBV-0002m5-CX for submit@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:01 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60138 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMSBT-0002lr-OE for 50077@debbugs.gnu.org; Sat, 04 Sep 2021 05:42:00 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1630748514; bh=LD04NsVhj+b5zIF7TkKC/+G7vRcknqVQj0VjtwXI9Ww=; h=From:To:Subject:In-Reply-To:References:Date; b=I1FWcBCCTY9yikgDz7Q3MTp85Hyx5Ccwspw5QoU0DMNe70F0qXr18+VsZG0WSFO15 eU5cu3lL4fGFPXwoi6VI37k35EEe6vpILdE55yEnh9D05LWsvOpf/u2Qo92CGfLe+L fb0rB9+ddj+CTYgiTRdCymhP9Txh3bfrjX3y+ihQ= In-Reply-To: References: Message-Id: Date: Sat, 04 Sep 2021 11:41:53 +0200 MIME-Version: 1.0 Content-Type: text/plain 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=1630748540; 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=AufN2CyMMHRR9hR8PMG0PRy437CapTnhd0oidvWLP9M=; b=Go47b9PfeHf0Ml/JluhnbDEBcTj+ppEczImv+An1oVuWeJszUcHVLItwWBdD8hSa+pPzuv ADTjLEyToAPMTFX/SBUdWQXRQH5AZxGYg8M2tMLbeu6Z6Lx6sbRbG4xezhKm5WgTxP+F4D ZfLKie5LXNbKgn952fb3ZJmE812foUDRnOIxFutWOZNHq+DjJjS3CWpJ+pWBLEZEyriLg6 yyvRbyw0pBIpNa7B4EoO0/qp80COZf6lgRqQZoX2mtpLmWQfpPw97gRgiIk1C1ArqM0qEo 6J9jpJ284NWj3WKD7L6HgAzNpAXa8tptkljMtqRj80CzyxtwF3Wzv+8zXQuVAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630748540; a=rsa-sha256; cv=none; b=AP8WefzZlJQDkzurAMu888IZPjUsDLx9wJJhhBVotJDtOe5LJ1QB0be1JKiOPr3urqyXDT 1ENacoORA9CRKNmg1UC49G0Jk6b80+9f1cQJXfpI1yGTbOawS0vxOn9SMN9BvEigMYQ2ML rx0GnaTO7pbsnFPz7EcgTL0Q4NN44ETaYuxcG9nUkYTjh1UjMlq1hYBId7ZNBGNQGttCnv 7apBfLdSlqLfpIYmaQo2QCuro0xzigTbqwWe0DAzaFonVeLd7zoe9cZEuIyZrRh1EFS/0O fCRoe4uU1s9dVc5R6KkjcG1oLxPVuLrqLNqcigVNedoI2SXW5ikE7SiWwqtZBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=I1FWcBCC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=I1FWcBCC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 91479C792 X-Spam-Score: 1.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0OTPbyp6VB6Z * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index eb141c5984..173982cb12 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1358,7 +1358,7 @@ invoking @command{notifymuch} from the post-new hook.") (("/bin/sh") (which "sh"))))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) (setenv "CONFIG_SHELL" (which "sh")) (let* ((out (assoc-ref outputs "out")) @@ -1375,7 +1375,7 @@ invoking @command{notifymuch} from the post-new hook.") (("\\$NOTMUCH_GMIME_X509_CERT_VALIDITY") "0")))) (add-before 'check 'prepare-test-environment (lambda _ - (setenv "TEST_CC" "gcc") + (setenv "TEST_CC" ,(cc-for-target)) ;; Patch various inline shell invocations. (substitute* (find-files "test" "\\.sh$") (("/bin/sh") (which "sh"))))) -- 2.33.0