From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CPKQKSJ26WI+VgEAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 21:08:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wGtVKSJ26WK2BwEAauVa8A (envelope-from ) for ; Tue, 02 Aug 2022 21:08:18 +0200 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 50EAB3CA73 for ; Tue, 2 Aug 2022 21:08:18 +0200 (CEST) Received: from localhost ([::1]:33632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIxFZ-000592-G0 for larch@yhetil.org; Tue, 02 Aug 2022 15:08:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIxFK-00054H-On for guix-patches@gnu.org; Tue, 02 Aug 2022 15:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIxFK-0001x6-F2 for guix-patches@gnu.org; Tue, 02 Aug 2022 15:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIxFK-000712-3a for guix-patches@gnu.org; Tue, 02 Aug 2022 15:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56872] [PATCH v2] gnu: mu: Update to 1.8.7. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Aug 2022 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 56872@debbugs.gnu.org Received: via spool by 56872-submit@debbugs.gnu.org id=B56872.165946724226922 (code B ref 56872); Tue, 02 Aug 2022 19:08:02 +0000 Received: (at 56872) by debbugs.gnu.org; 2 Aug 2022 19:07:22 +0000 Received: from localhost ([127.0.0.1]:45083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIxEf-000709-R5 for submit@debbugs.gnu.org; Tue, 02 Aug 2022 15:07:22 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:37002 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIxEa-0006zs-Qs for 56872@debbugs.gnu.org; Tue, 02 Aug 2022 15:07:20 -0400 Received: from localhost ([127.0.0.1]:36368) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oIxE3-0008Fc-1M; Tue, 02 Aug 2022 19:06:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:To: From:References:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DTaL/fL6W9KZ6fyIp+8t41uFAvqNcLsTyEs8+Sc84rI=; b=uDc146KjYOApfgfkoxT8sMJFKu 1VH4/HylmM3evxO4xv18jnsSg0o1e7wxVrfe/+ySIEcrzVXZ2Tpb3a402ST4xpm8MfDfLRTZEhNWY hkZEWBwaI7davjEcMypfV+ymH9q/gfUAye6+VE6vV/QzhbI7NyveNBoVPyluNQAWEWMxLERTZDllM qcgE2W9hSOViyFaLviPi+DQKQzS/TBJe/g97czj7rDhi6A8sW9UyFzrVH3/hR5fH9albN0/u3/n5e 5kwuJzzpXcr2Ov+iKOPzqel3694y69hetzcEhk+o8uDnGp1+NnyVYJ4fvHR72DNaa1Gn3zE8V82U+ iKb6nYH2PFl/DnmFCitMPdriayvjSPRF7AERxLyo2CSJc17PAI0jE6QmRV+sv4mgdV3HdXyqTXUyf leKOma9Z6J8UOv4KEpLKds9rPzdNF8HRsHuXyXLL9hXe6dDe/osVH+uhvwm3tcrV8/8mRsBEWJuau jMZ6iwHZtQJlGv7DFM54zpnj; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oIxEU-0004CU-16; Tue, 02 Aug 2022 22:07:10 +0300 References: <20220801131159.20007-1-mail@muradm.net> <20220801134101.26024-1-mail@muradm.net> <2e5423f0-62b8-7a78-0f4c-bc12d81035d3@telenet.be> User-agent: mu4e 1.8.7; emacs 29.0.50 From: muradm Date: Tue, 02 Aug 2022 22:03:06 +0300 In-reply-to: <2e5423f0-62b8-7a78-0f4c-bc12d81035d3@telenet.be> Message-ID: <87o7x2mplu.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659467298; 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=DTaL/fL6W9KZ6fyIp+8t41uFAvqNcLsTyEs8+Sc84rI=; b=BsZMee/jDUzi5BfQcwcgim1pWHT+FnmqoAhTZr7gKG1FohZrUx8vNCXKW8kBl261CayP2Z fts2mqelgyxY+MkZ+/WLm/t/2GPWdfa6+ORQuOsE8vWqSrQFOlakGNFzqPPeSsJF3GMmDp TGekvpC9+sk6a9n/+n00Ehj3H632a4I1R0W5HcZF51V3s4QRvi99OETK6IDkHJLkwaAaOC +nm/mqu32cdvHi6EMPvu/gpY2kqEFJt70LlbcG0n6++6RjiNxAVVdTHWvcnosStg4X+GXH +in4V516ZkUyNh33ABdktDLNwrYeEkQhcX9uBq1Af/L91Vf4lIhpr0/YeTj7XA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659467298; a=rsa-sha256; cv=none; b=dtT50YIY940hbw/C9BGvrSmayJzsCzzW26CmMUlY/40fN9rNTiDlXyfB1qQUiIhRHe9S2H PiPzjSzTTtwR9/OGBUpNGcW2WbRivm4UYMSYMLA+F5WaRBLvrwFBO+J0bUxkfTnwqTe0Vf YOR43YU4Bqr5UJr/yaUaf6wvX0ErO4PXoE7KosFnJ32q91cOVNWrepmVz8KRpOgnp7h3L5 QEFkTe6c+1x/KelTOhL/KQJf4rGfMSTEOYruwZEr9tPV5rVBppczUnWtHKbzCC8ieFGpy/ f0IqVymP0gNMg7du2/uyzTqmzo+09kJfXzMyYmnKUkDh9+GwXE9rjE9GMI+lew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=uDc146Kj; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=uDc146Kj; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 50EAB3CA73 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ed1CqwuJd59U --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; format=flowed Hi, This patch worked for me in my host. I don't have any environment to see if working when actually cross-compiling. For the comment on coreutils, yeah missed update when removed. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-mu-Fix-cross-compiling.patch Content-Transfer-Encoding: quoted-printable From=20b688acbb5b9d6d65606edf2164cad09c9cf06225 Mon Sep 17 00:00:00 2001 From: muradm Date: Tue, 2 Aug 2022 21:57:57 +0300 Subject: [PATCH] gnu: mu: Fix cross-compiling. To: Maxime Devos , 56872@debbugs.gnu.org * gnu/packages/mail.scm (mu)[arguments]: Use search-input-file to find /bin/sh and /bin/rm from inputs. =2D-- gnu/packages/mail.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index ca4b3e819e..3776157c0b 100644 =2D-- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1189,15 +1189,15 @@ (define-public mu #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-bin-references =2D (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (substitute* '("guile/tests/test-mu-guile.cc" "mu/tests/test-mu-cmd.cc" "mu/tests/test-mu-cmd-cfind.cc" "mu/tests/test-mu-query.cc") =2D (("/bin/sh") (which "sh"))) + (("/bin/sh") (search-input-file inputs "/bin/sh"))) (substitute* '("lib/tests/bench-indexer.cc" "lib/utils/mu-utils.cc") =2D (("/bin/rm") (which "rm"))))) + (("/bin/rm") (search-input-file inputs "/bin/rm"))))) (add-after 'install 'install-emacs-autoloads (lambda* (#:key outputs #:allow-other-keys) (emacs-generate-autoloads =2D-=20 2.37.1 --=-=-= Content-Type: text/plain; format=flowed Maxime Devos writes: > [[PGP Signed Part:Undecided]] > > On 01-08-2022 15:41, muradm wrote: >> + (substitute* '("lib/utils/mu-utils.cc" >> + "lib/tests/bench-indexer.cc") >> + (("/bin/rm") (which "rm"))))) > > The lib/utils/mu-utils.cc + 'which' looks wrong when > cross-compiling > -- try using search-input-file on 'inputs' instead (which looks > in > native-inputs (which happens to be merged with inputs when > compiling > natively))). > > (If it does not end up in the binary, then 'which' should be > fine) > >> [inputs]: Removed guile added coreutils (for /bin/rm command). > I'm not seeing coreutils in there. > > Greetings, > Maxime > > [2. OpenPGP public key --- application/pgp-keys; > OpenPGP_0x49E3EE22191725EE.asc]... > > [[End of PGP Signed Part]] --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmLpdd0ACgkQ6M7O0mLO BeKnhA/8DBBJPLQuukpCwfNP0qqg9zVLf6PpLKsiSa/+sx/2l65Q7GvmAIzU5fE5 9kzJ2FU48q35V2pQm+88wVyxPxF+IPNFZe7aYG8Sl6tRY3bUYmElvUAy93sjHl4/ ejkcEPBdvMXIwMt926NwMzN3a4NPZSXpgGWbmL7Gkt+gRWJoM0IGvMRr3XgYiMjL BsdyL9jHABJB0h6RUUlc+jrvFMIQORfXIoN1Xy3WI4o6l943VjnxAx0ht3TT6AQd nNRPX7+HE2tIcJUZGuRtqxKPtTRMwI7L51YPBof6tWobgM5XqOPkN+lgDxAc8hyq F2M3O7t23hTJY/SzjtYq9Sp2zqE1fGTCODwYaVb1L0HMJlcmCQ0fwUMdUDFOEZxE 78ojdTiH+Hr0nBQV4hIFaNmPoS12KbqFwcKPHybzN+319ZYQHTBJyT8N604gzGGK OIRM7hnse29xwGoe/S3c3HJ7erB07PfZStkP6DYOCCn1shxmCpZGHz5jzv1Pkqjv WowmAGMhuyFmINGiApAAArBvrswh7b9QUPl8E+1ux+iQCMVurzdSx1/8vHOe71pk dvdZVNet53YmayNI24J+Z6KIHWQkkaoF4YNJcEZf9HvEvc/WMwKqJ8rYKf2wQvol BlwbRUEjDpAf8FZRa0RT59uuthcN7eXMPNDMzCx0jzuTPG8V+0s= =La7M -----END PGP SIGNATURE----- --==-=-=--