GNU bug report logs -
#33781
tramp trouble when PATH is very long
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Mon, 17 Dec 2018 19:17:02 UTC
Severity: minor
Tags: fixed
Found in version 27.0.50
Fixed in version 27.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #9 received at 33781 <at> debbugs.gnu.org (full text, mbox):
I installed nix locally and reproduced the issue.
AFAICS it is due to
(setq attr (directory-files-and-attributes tmp-name2))
throwing an error with
tmp-name2 =
#("/mock:AAAA.BBBBBBBB.CCC:/AAAA_data1/scratch/UUUUUUU/software64/nix/tmp/tramp-testqSsjHd/bla" 6 23 (tramp-default t))
AFAICS from the tramp debug buffer, the problem is a failure to find
"sed" on the remote system. It should be using
/nix/store/ny5p32137wfyzdm485xfdck21w1gyl3g-gnused-4.5/bin/sed, in much
the same way as it using
/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/ls .
;; Emacs: 27.0.50 Tramp: 2.4.1-pre -*- mode: outline; -*-
16:53:21.240431 tramp-send-command (6) # test -d /AAAA_data1/scratch/UUUUUUU/software64/nix/tmp/tramp-testRd0FTK/bla 2>/dev/null; echo tramp_exit_status $?
16:53:21.241805 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///4edae1a3102909a43b8d4c6e6e62ec10#$
16:53:21.248310 tramp-do-directory-files-and-attributes-with-stat (5) # directory-files-and-attributes with stat: /AAAA_data1/scratch/UUUUUUU/software64/nix/tmp/tramp-testRd0FTK/bla
16:53:21.249681 tramp-send-command (6) # cd /AAAA_data1/scratch/UUUUUUU/software64/nix/tmp/tramp-testRd0FTK/bla && echo "("; (/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/ls --color=never --quoting-style=literal --show-control-chars -a | xargs env QUOTING_STYLE=locale /nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/stat -c '(/////%n///// (/////%N/////) %h %u %g %X %Y %Z %s /////%A///// t %i -1)' -- 2>/dev/null | sed -e 's/"/\\"/g' -e 's/\/\/\/\/\//"/g'); echo ")" 2>/dev/null; echo tramp_exit_status $?
16:53:21.257525 tramp-wait-for-regexp (6) #
(
sh: sed: command not found
)
tramp_exit_status 0
///4edae1a3102909a43b8d4c6e6e62ec10#$
16:53:21.279389 tramp-send-command (6) # cd / && rm -rf /AAAA_data1/scratch/UUUUUUU/software64/nix/tmp/tramp-testRd0FTK 2>/dev/null; echo tramp_exit_status $?
16:53:21.286694 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///4edae1a3102909a43b8d4c6e6e62ec10#$
This bug report was last modified 6 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.