unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: John Wiegley <jwiegley@gmail.com>
Cc: 22145-done@debbugs.gnu.org
Subject: bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X
Date: Sun, 03 Apr 2016 08:52:26 +0200	[thread overview]
Message-ID: <87zitbnpzp.fsf@gmx.de> (raw)
In-Reply-To: <m2twjjzo5s.fsf@newartisans.com> (John Wiegley's message of "Sat,  02 Apr 2016 14:38:55 -0700")

John Wiegley <jwiegley@gmail.com> writes:

>>>>>> Michael Albinus <michael.albinus@gmx.de> 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.





  reply	other threads:[~2016-04-03  6:52 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  6:46 bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X Anders Lindgren
2015-12-12  9:31 ` Michael Albinus
2015-12-12 18:35   ` Anders Lindgren
2015-12-12 19:21     ` Michael Albinus
2015-12-12 21:05       ` Anders Lindgren
2015-12-13  9:02         ` Michael Albinus
2015-12-13 15:36           ` Eli Zaretskii
2015-12-13 21:44           ` Anders Lindgren
2015-12-15 11:33             ` Michael Albinus
2015-12-15 19:56               ` Anders Lindgren
2015-12-15 22:57                 ` Michael Albinus
2015-12-16  6:26                   ` Anders Lindgren
2015-12-16 22:39                     ` Michael Albinus
2015-12-17 19:38                       ` Anders Lindgren
2015-12-18  8:12                         ` Michael Albinus
2015-12-18 19:55                           ` Anders Lindgren
2015-12-19 19:24                             ` Michael Albinus
2015-12-19 22:43                               ` Anders Lindgren
2015-12-20 12:30                                 ` Michael Albinus
2015-12-20 15:38                                   ` Anders Lindgren
2015-12-20 15:42                                     ` Michael Albinus
2015-12-20 17:31                                       ` Anders Lindgren
2015-12-20 17:55                                         ` Michael Albinus
2015-12-21 22:35                                           ` Anders Lindgren
2015-12-22 11:03                                             ` Michael Albinus
     [not found]                                               ` <CABr8ebaB1SqyrOSTXkQNSsf+bAd-JqBAYDR8_BiTsBikG-Eykw@mail.gmail.com>
2015-12-25  9:56                                                 ` Michael Albinus
2015-12-26  5:01                                                   ` Anders Lindgren
2015-12-26 19:56                                                     ` Michael Albinus
2015-12-26 21:41                                                       ` Anders Lindgren
2016-01-05 21:33                                               ` John Wiegley
2016-01-05 21:36                                                 ` Michael Albinus
2016-01-06  0:07                                                   ` John Wiegley
2016-01-06  4:53                                                     ` Michael Albinus
2016-01-06 18:39                                                       ` John Wiegley
2016-01-06 18:48                                                         ` Eli Zaretskii
2016-01-06 19:04                                                           ` John Wiegley
2016-01-07 20:03                                                             ` Michael Albinus
2016-01-07 20:31                                                               ` Anders Lindgren
2016-01-08  3:17                                                                 ` Random832
2016-01-08  6:03                                                                 ` Richard Stallman
2016-01-07 23:34                                                               ` John Wiegley
2016-01-08  9:13                                                                 ` Michael Albinus
2016-01-08  3:11                                                               ` Random832
2016-01-08  9:01                                                                 ` Michael Albinus
2016-01-08 13:39                                                                   ` Random832
2016-01-08 14:17                                                                     ` Michael Albinus
2016-01-08 17:40                                                                       ` Random832
2016-01-08 18:47                                                                         ` Michael Albinus
2016-01-08 20:14                                                                           ` Random832
2016-01-09 13:00                                                                             ` Michael Albinus
2016-01-09 13:06                                                                               ` Eli Zaretskii
2016-01-09 19:15                                                                                 ` Michael Albinus
2016-01-09 19:24                                                                                 ` Random832
2016-01-09 20:18                                                                                 ` Michael Albinus
2016-01-09 20:26                                                                                   ` Eli Zaretskii
2016-01-10  8:49                                                                                     ` Michael Albinus
2016-01-10 12:50                                                                                       ` Michael Albinus
     [not found]                                                                                         ` <m2fuvq2p62.fsf@newartisans.com>
2016-03-17 19:39                                                                                           ` Michael Albinus
2016-03-21 21:08                                                                                             ` John Wiegley
2016-03-22 10:09                                                                                               ` Michael Albinus
     [not found]                                                                                                 ` <87twjpi0nl.fsf@gmx.de>
     [not found]                                                                                                   ` <m2zithoz98.fsf@newartisans.com>
     [not found]                                                                                                     ` <87bn5widue.fsf@gmx.de>
     [not found]                                                                                                       ` <m260w3ex7p.fsf@newartisans.com>
     [not found]                                                                                                         ` <874mbnj4hi.fsf@gmx.de>
     [not found]                                                                                                           ` <m2wpojahsp.fsf@newartisans.com>
     [not found]                                                                                                             ` <87wpojhh8t.fsf@gmx.de>
     [not found]                                                                                                               ` <m2k2kjadov.fsf@newartisans.com>
     [not found]                                                                                                                 ` <878u0z6lty.fsf@gmx.de>
2016-04-01  8:36                                                                                                                   ` Michael Albinus
2016-04-02 21:38                                                                                                                     ` John Wiegley
2016-04-03  6:52                                                                                                                       ` Michael Albinus [this message]
2016-01-12 16:24                                                                               ` John Wiegley
2016-01-12 17:04                                                                               ` John Wiegley
2016-01-12 19:05                                                                                 ` 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=87zitbnpzp.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=22145-done@debbugs.gnu.org \
    --cc=jwiegley@gmail.com \
    /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).