From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X Date: Sun, 03 Apr 2016 08:52:26 +0200 Message-ID: <87zitbnpzp.fsf@gmx.de> References: <837fjioqba.fsf@gnu.org> <87io328q2r.fsf@gmx.de> <83si26mrd2.fsf@gnu.org> <877fjh95va.fsf@gmx.de> <87h9ilha44.fsf@gmx.de> <87bn6chp1b.fsf@gmx.de> <8760wen7sx.fsf@gmx.de> <87twjpi0nl.fsf@gmx.de> <87bn5widue.fsf@gmx.de> <874mbnj4hi.fsf@gmx.de> <87wpojhh8t.fsf@gmx.de> <878u0z6lty.fsf@gmx.de> <87vb41g1yn.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459666406 27379 80.91.229.3 (3 Apr 2016 06:53:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 06:53:26 +0000 (UTC) Cc: 22145-done@debbugs.gnu.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 03 08:53:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ambuM-0007To-0r for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 08:53:14 +0200 Original-Received: from localhost ([::1]:52265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ambuL-0000p2-BJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 02:53:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ambuD-0000np-C3 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 02:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ambuA-0004vU-3j for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 02:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ambuA-0004vK-0Q for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 02:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ambu9-00024M-S6 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 02:53:01 -0400 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Apr 2016 06:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22145 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 22145@debbugs.gnu.org, michael.albinus@gmx.de, andlind@gmail.com Original-Received: via spool by 22145-done@debbugs.gnu.org id=D22145.14596663557913 (code D ref 22145); Sun, 03 Apr 2016 06:53:01 +0000 Original-Received: (at 22145-done) by debbugs.gnu.org; 3 Apr 2016 06:52:35 +0000 Original-Received: from localhost ([127.0.0.1]:49372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ambtj-00023Y-K7 for submit@debbugs.gnu.org; Sun, 03 Apr 2016 02:52:35 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ambth-00023L-Up for 22145-done@debbugs.gnu.org; Sun, 03 Apr 2016 02:52:34 -0400 Original-Received: from detlef.gmx.de ([87.146.46.179]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M9JYE-1azDL30e2I-00CiGq; Sun, 03 Apr 2016 08:52:27 +0200 In-Reply-To: (John Wiegley's message of "Sat, 02 Apr 2016 14:38:55 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:N/1JHZSTx2oN+gg+Y5pXwft9UZ/J2dk+lyJAIO4hhXpCU3JUZOX +ikxRjDoGftYrgxsLGOw5Q5K9bAA8C0AkR/7bAEmu5U9Q2kzsKXgNH4xiqqQrJDqUZDj+XV l+D+bVm6KnBCugsqAHlp+VOLUkOXc2B8CFkfl+W2eSEl6yjwB7wGXlGUcFIqrfz66AeNL6C vqQ0D7OeQ7/Bc5TjyyPJQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:yMx4Xxx4YJQ=:LrQkCF4DPzFNyAKHqsYXaG emt9IdLuhL6BDGRAn6CJpnm3CSK+buISKC69TNHjfu7TJi7K7ZTjzxdjsn8WGvOGy5lB1bKp+ P4wlpGcroTO9AdbTmC4zNew1LzrGzW1vwUn2tSk8QjayFLSXj4RA4vbLDrLYC2eWCUMQxuizV ckxu+WwkL/Ddc+MVSF49O/OiHl/MXGq7MkyMv6e4AzR3VKAunqmivKdSZ58Hc4jXFUVW3AU6q dbw04jIk7yPfiOHDCuZz+1DvcJSSnktfA5gPqqJlZxqxkrlMKj8xlwg3hwyH3gG6NYANMp0mM YhilP7Cr5FfDd0JYGbC+SWKNhx1QlB/XgVQ43KkhYQ+5IIIO5heKMOVr17Aruvn5N7x2mcFSM NvZ7NlqQqMmGI2n3KYm0uRfDluvzRWV+SAP+68VVapvaWyaaK/xug9I0NGsmw5e1RQaUhqC+6 B1IzUrgEBd+bryA+18URYq5rIiDxml/YrqdtI0O7PpmtQ2n8p4lGVqijWzP0c7HtCUoaZAyE1 rrmNvt0EAEzpuPTfRL0zL+HNTtPdOBLdaaFpTCJgJZjcOOGQ4X5zM6L8hJFlub9294fDdcvGI uI341y++1nNe/mXGrRGosAp6TF8K7/785N9ILWKBegkbDA0TKZxBs4CxlaOfmqq4cUpFPZSBm 9DTsDQ0q7sBt8I40e6Om1ULHZZ379vWrj9JyZNReiP9K0rD2Rk6HmMDV7mDAkkNkc0zClwZn5 xmWuyWmaLGnScYQ31av8x2e9eDM2E1h3DBEaohN0HSUOvpwZgCgwysKNwgjPnAeWLIZfZxsK X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115911 Archived-At: John Wiegley writes: >>>>>> Michael Albinus writes: > >> Given, that the last problems related to OS X have been solved by commit >> df441b362c25c4ad59ea3d83137328d0d4098eaf, I believe we could close this bug. >> Do you agree? > > OK, if you think this is a Nix bug and not an Emacs bug, then I'll take > responsibility from here for the Nix fix and you can close this issue. Done. However, I haven't said it is a Nix *bug*. I believe it is rather a problem with the Nix *environment*. IIRC, the problem was something like this on hydra.nixos.org years ago: Tramp needs several programs in $PATH to run correctly. Usually, they are found on every machine. Nix does not offer them in general, because they are also tested in the Nix environment, as part of coreutils or so. Therefore, they could be found only by the user's local $PATH, which is set by Nix accordingly. In order to fix this, tramp-tests.el checks whether we are in a Nix environment (when (getenv "NIX_STORE"), and adds the local $PATH settings then. Maybe this test does not work on your machine, and $NIX_STORE isn't set? Then you need to test something else. You could also add the local $PATH to Tramp's setting mandatory. Just remove the check (getenv "NIX_STORE"). When it works, we know that this is your problem (the same I have had years ago), and we must find a better check for determining a Nix environment. I do *not* want to add local $PATH settings in general for the tests, because this would make the test indeterminable. > Thanks for helping me debug this! HTH. Best regards, Michael.