From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id APykMfZYWGfa1wAA62LTzQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 15:06:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id APykMfZYWGfa1wAA62LTzQ (envelope-from ) for ; Tue, 10 Dec 2024 16:06:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IcKyWrQQ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733843190; 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: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=hfng2teUi149Ds375y6qCW3XaLv22gjyI3K8WJGZlSA=; b=fy9fnRWlawrVVZuK5q+DyCKKxEcfL0YJ0sEUiL53H5O64mrINbkyPoI+EKRlX3IKSomHqp 2Gu8Wvn5nwlG9o/IdgJk4NsNP4l973LPRpcuvy/0tc45TQ5yZAVoR0Eno9WXlJXIUQPN1f tc2ZZBVt/wDXdrpF1tHoMQbJ7x2qxPe3UMGUjsfNjLFZV1b3NVGd6O4p2FAaWulQo4b6md lXkjflBt7lGJFUts/j9rLPlD/gGTgphWiMPySQktJYe3FEDgBfkHc9JsavW+6CsY2b6tZA YcGBPSLyOiKJBfA81Zea4GtVj4VxnqHv1xm8pRh6RXjNdn4ln/jEKQMq+nTY4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IcKyWrQQ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733843190; a=rsa-sha256; cv=none; b=ei1CPln2qv9ByQi1GnWerZh+Lf5NzDFRWscMpIgHsp3NEs3OpMBN/Gifg/xAttLOl9fWk0 3e2T8/0Zem8l4B5/4tqJ5plp5SOM+3GibAayA2b9Q306dP/arE4waYnx7RwQMJ5zjfM6D/ o1Kutr+UnKFmR14ffqItAxpBReCgWsGxT4lh5hoGRJ9YCITcsYNZXzviSD0fRwh8Tc9Yw5 9UpP01B64H4A9zncLFwIdBDQzfVy7NayA041rmjn3chuwYrdX+O6R1j3MEOmm2tIns/4Tb k3ZJDSJd6nK+bgF3XbHVX9hMoCrTQelAiSSvrI8A+7Lk+ezlqKWkGKYNbRcsBQ== 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 683858B018 for ; Tue, 10 Dec 2024 16:06:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL1oK-00005G-0G; Tue, 10 Dec 2024 10:06:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL1oI-000054-OL for bug-guix@gnu.org; Tue, 10 Dec 2024 10:06:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL1oI-00069D-GA for bug-guix@gnu.org; Tue, 10 Dec 2024 10:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=hfng2teUi149Ds375y6qCW3XaLv22gjyI3K8WJGZlSA=; b=IcKyWrQQKF+VTCvQ5qqBWIGnMSeQGT7xgHmqRMhtzYE/5l6SW1TmA/SWspXmOWUqmgSiip315MMNBjeBzkcq/rkSOLwyfgqx6CqlcfDU3MxAC99I/Ffk2uSc7hZGUB9MeOityZm6Q0l7lKJDi9V0MFK5MWAiPmGzmOboR1BGeHvvsBsneXy4uNz5IfMCgufTa4Bn4ZIeCoURQOb+RwTENf8TpyT4TeP4ERx2ke8Rcln13FHtS0iQQxmnZnZcm/gDcpov47WvBuVzZMrgXuz+2sydDCIEn5WKgj6OboUX0/wEwB2uuzVQWPigFf6k87zEe5x/zX523mhPZ8jVPSs7jg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL1oH-0004xY-VV for bug-guix@gnu.org; Tue, 10 Dec 2024 10:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68850: emacs: rgrep does not work over tramp Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Dec 2024 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68850 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tomas Volf <~@wolfsden.cz> Cc: 68850@debbugs.gnu.org Received: via spool by 68850-submit@debbugs.gnu.org id=B68850.173384314219035 (code B ref 68850); Tue, 10 Dec 2024 15:06:01 +0000 Received: (at 68850) by debbugs.gnu.org; 10 Dec 2024 15:05:42 +0000 Received: from localhost ([127.0.0.1]:59084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL1ny-0004wx-0c for submit@debbugs.gnu.org; Tue, 10 Dec 2024 10:05:42 -0500 Received: from smtprelay07.ispgateway.de ([134.119.228.103]:41191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL1nu-0004wj-Hu for 68850@debbugs.gnu.org; Tue, 10 Dec 2024 10:05:39 -0500 Received: from [80.153.58.194] (helo=milk) by smtprelay07.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tL1nt-000000006GJ-0TgP; Tue, 10 Dec 2024 16:05:38 +0100 From: Simon Streit In-Reply-To: (Tomas Volf's message of "Wed, 31 Jan 2024 14:08:17 +0100") References: Gcc: nnfolder+archive:sent.2024-12 Date: Tue, 10 Dec 2024 16:05:31 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.28 X-Spam-Score: -2.28 X-Migadu-Queue-Id: 683858B018 X-TUID: 7bSuz+xKW640 Hello Tomas, Tomas Volf <~@wolfsden.cz> writes: > when I try to execute rgrep over a tramp connection, I get the following error: > > /bin/sh: /gnu/store/sk8rxsrj3drr4arypicnhy899vgn3prr-findutils-4.9.0/bin/find: not found > > That is somewhat expected, since the remote machine is not a Guix one, > but even if it were, it would require to have the find in exact same > store path. I am running into the same issue as well. This is on a foreign system using Emacs and Tramp trying to call find on remote hosts that are not Guix. > I understand the advantages of baking in the path to find into the > configuration, but I wonder whether the trade-off is worth if for this > particular case. Setting it to just `find' seems to work fine, both > locally and remotely (at the cost of a minuscule hit to > reproducibility). Is there maybe an easy way around this? I tried: --8<---------------cut here---------------start------------->8--- (connection-local-set-profile-variables 'remote-system '((tramp-remote-path . ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin")))) (connection-local-set-profiles '(:application tramp :machine "host.example.com") 'remote-system) --8<---------------cut here---------------end--------------->8--- The connection will set the remote-path. But rgrep will still invoke find from a path in /gnu/store. Cheers -- Simon