unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Damien Merenne <dam@cosinux.org>
Cc: 50748@debbugs.gnu.org
Subject: bug#50748: 28.0.50; tramp-sh.el uses mknod file p which is not available on macos
Date: Thu, 23 Sep 2021 14:39:20 +0200	[thread overview]
Message-ID: <87ee9fbh53.fsf@gmx.de> (raw)
In-Reply-To: <87o88jrehq.fsf@workstation.lan> (Damien Merenne's message of "Thu, 23 Sep 2021 08:29:53 +0200")

Damien Merenne <dam@cosinux.org> writes:

Hi Damien,

> I'm trying to use eglot over tramp using `emacs -Q -f package-initialize
> -L /path/to/my/eglot -l eglot.el`. From what I understand, to
> capture the remote process stderr, tramp creates a fifo, in
> `tramp-sh-handle-make-process`, `tramp-sh.el:2889`. The MacOS mknod
> command does not support the "p" parameter, so the communication with
> the process does not work. Also no error is reported while the mknod
> command is failing.

Thanks for the bug report.

I've pushed a fix to the master branch, checking for a proper mknod or
mkfifo command on the remote side.

> I tried replacing `mknod %s p` with `mkfifo %s` or using gnu coreutils mknod. This
> fixes the fifo creation but the process communication is still
> broken after that.

I don't use macOS, so it's hard to test. Testing it locally, on a remote
Fedora machine, using mkfifo instead of mknod, works fine.

Could you please check whether my patch works for you? In case it
doesn't, please reproduce the problem with `tramp-verbose' set to
6. Show us the Tramp debug buffer then.

Btw, what would be the macOS equivalent to `mknod <file> p`?

Best regards, Michael.





  reply	other threads:[~2021-09-23 12:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23  6:29 bug#50748: 28.0.50; tramp-sh.el uses mknod file p which is not available on macos Damien Merenne
2021-09-23 12:39 ` Michael Albinus [this message]
     [not found] ` <handler.50748.B.163237864728905.ack@debbugs.gnu.org>
2021-09-23 13:50   ` bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos) Damien Merenne
2021-09-23 14:58     ` Michael Albinus
     [not found]       ` <CAAgrLvgMO680ujXuycY9tOP_xmrWN=P_C39skKdM94DQBkRstw@mail.gmail.com>
     [not found]         ` <CAAgrLvjq6y18kwvv9gepL1XtcRk5_tF+e7DCCnJitg4L6XuMjQ@mail.gmail.com>
     [not found]           ` <87mto29eah.fsf@gmx.de>
     [not found]             ` <CAAgrLvj-dvjH7ntv7h2ggWMOpACZFaq1W2-O7Q_Sqsn1YuaO3Q@mail.gmail.com>
2021-09-24 16:59               ` Michael Albinus
     [not found]                 ` <CAAgrLvgqEpUzuAm7nkXvfJRZgvjHZhNkmyLNM+ZBfioN_6g53g@mail.gmail.com>
2021-09-25 13:03                   ` Michael Albinus
2021-09-26  8:42                     ` Michael Albinus
2021-09-28  8:10                       ` Damien Merenne
2021-09-28  9:36                         ` Michael Albinus
2021-09-28 12:00                           ` Damien Merenne
2021-09-28 14:06                             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee9fbh53.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=50748@debbugs.gnu.org \
    --cc=dam@cosinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).