[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build failure: Re: tramp "too many open files"
From: |
Michael Albinus |
Subject: |
Re: Build failure: Re: tramp "too many open files" |
Date: |
Sun, 14 May 2023 13:24:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Madhu <enometh@meer.net> writes:
Hi,
> To produce the error I built emacs without a system bus (as mentioned
> upthread) I haven't looked too closely but I was able to work around it
> with.
>
> ```
> diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
> index e3b42acfed5..31d563f0b89 100644
> --- a/lisp/net/tramp-gvfs.el
> +++ b/lisp/net/tramp-gvfs.el
> @@ -2537,7 +2537,8 @@ tramp-gvfs-parse-device-names
> (let ((tramp-verbose 0)
> tramp-gvfs-dbus-event-vector fun)
> (when (and (autoload 'zeroconf-init "zeroconf")
> - (tramp-compat-funcall 'dbus-get-unique-name :system))
> + (ignore-errors
> + (tramp-compat-funcall 'dbus-get-unique-name :system)))
> ;; Add completion functions for services announced by DNS-SD.
> ;; See <http://www.dns-sd.org/ServiceTypes.html> for valid service
> types.
> (zeroconf-init tramp-gvfs-zeroconf-domain)
> ```
Thanks. I have pushed a fix to master, slightly different from your proposal.
Best regards, Michael.