Duncan Greatwood writes: Hi Duncan, > Meanwhile, good luck with debugging these bug#45518 issues. Finally, I nailed it down. In the (remote) compilation process, there is a process filter, which calls `file-truename' if it detects an error. This works one or two times, but then the (remote) compilation process comes in conflict with the (remote) Tramp process responsible for `file-truename'. The following patch has fixed the issue for me on my FreeBSD machine. It is on top of Emacs' git master; but likely it works also for your Emacs 27 (not tested by me). Could you check, whether this helps you? > Thanks again! Best regards, Michael.