GNU bug report logs - #47601
28.0.50; tramp-sh-handle-file-newer-than-file-p works on MacOS but not on Linux

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Mon, 5 Apr 2021 13:48:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47601 in the body.
You can then email your comments to 47601 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47601; Package emacs. (Mon, 05 Apr 2021 13:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sds <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Apr 2021 13:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; tramp-sh-handle-file-newer-than-file-p works on MacOS but
 not on Linux
Date: Mon, 05 Apr 2021 09:47:41 -0400
I get this error on Linux but not on MacOS:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (file-error "Files /home/sds/.emacs.d/notes and /scp:fence:/home/s/sds/.emacs.d/notes must have same method, user, host")
  signal(file-error ("Files /home/sds/.emacs.d/notes and /scp:fence:/hom..."))
  tramp-sh-handle-file-newer-than-file-p("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
  apply(tramp-sh-handle-file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
  tramp-sh-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
  apply(tramp-sh-file-name-handler file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
  tramp-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
  file-newer-than-file-p("~/.emacs.d/notes" "/scp:fence:~/.emacs.d/notes")
--8<---------------cut here---------------end--------------->8---



In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2021-04-02 built on sdsGazPro
Repository revision: a9645338e4109570ec64c902526d028c75e4369f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
System Description: Ubuntu 20.10

Configured using:
 'configure --with-x-toolkit=gtk3'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: C
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  bug-reference-prog-mode: t
  pyvenv-mode: t
  shell-dirtrack-mode: t
  global-edit-server-edit-mode: t
  winner-mode: t
  which-function-mode: t
  url-handler-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

Load-path shadows:
None found.

Features:
(shadow sort bbdb-message mailalias cookie1 flyspell ispell mail-extr
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr
kinsoku svg dom browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range
gnus-win emacsbug message rmc puny rfc822 mml mml-sec epa derived epg
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils
mailheader sendmail bug-reference tramp-cmds cal-move cal-x view
mule-util cal-china cal-bahai cal-islam holidays hol-loaddefs bbdb-anniv
cal-iso cal-hebrew lunar cal-julian solar cal-dst appt diary-lib
diary-loaddefs cal-menu calendar cal-loaddefs dabbrev skeleton tabify
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-template company-cmake company-bbdb yasnippet-snippets yasnippet
flymake-proc flymake warnings thingatpt company-capf company pcase elpy
edmacro kmacro elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile
elpy-django s elpy-refactor ido grep compile etags fileloop generator
xref project cus-edit pp python vc-mtn vc-hg vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs vc-dir ewoc vc tramp-cache tramp-sh tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete comint ansi-color parse-time iso8601 ls-lisp format-spec
help-fns radix-tree cl-print debug backtrace find-func misearch
multi-isearch add-log remember cl-extra help-mode vc-git diff-mode
easy-mmode vc-dispatcher dired-aux dired dired-loaddefs midnight gnus
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search time-date mail-utils mm-util mail-prsvr wid-edit
bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone edit-server
advice server winner ring which-func imenu url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map seq byte-opt gv bytecomp byte-compile
cconv url-vars paren help-at-pt desktop frameset cl-loaddefs cl-lib
cus-start cus-load info iso-transl tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 370977 17635)
 (symbols 48 25260 4)
 (strings 32 199589 7925)
 (string-bytes 1 5181015)
 (vectors 16 76129)
 (vector-slots 8 1724569 26443)
 (floats 8 786 634)
 (intervals 56 5557 0)
 (buffers 992 30))

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 20.10 (groovy) X 11.0.12009000
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://honestreporting.com https://mideasttruth.com
Stupidity, like virtue, is its own reward.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47601; Package emacs. (Tue, 06 Apr 2021 08:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 47601 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: 47601 <at> debbugs.gnu.org
Subject: Re: bug#47601: 28.0.50; tramp-sh-handle-file-newer-than-file-p
 works on MacOS but not on Linux
Date: Tue, 06 Apr 2021 09:59:20 +0200
Sam Steingold <sds <at> gnu.org> writes:

Hi Sam,

> I get this error on Linux but not on MacOS:
>
> Debugger entered--Lisp error: (file-error "Files /home/sds/.emacs.d/notes and /scp:fence:/home/s/sds/.emacs.d/notes must have same method, user, host")
>   signal(file-error ("Files /home/sds/.emacs.d/notes and /scp:fence:/hom..."))
>   tramp-sh-handle-file-newer-than-file-p("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   apply(tramp-sh-handle-file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
>   tramp-sh-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   apply(tramp-sh-file-name-handler file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
>   tramp-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   file-newer-than-file-p("~/.emacs.d/notes" "/scp:fence:~/.emacs.d/notes")

One of the both files returns tramp-time-dont-know in
file-attributes. However, there's no reason to fire an error in
Tramp. I've fixed this in master, could you, pls, check?

Best regards, Michael.




Added tag(s) fixed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 14 Apr 2021 15:12:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47601; Package emacs. (Thu, 06 May 2021 10:32:01 GMT) Full text and rfc822 format available.

Message #13 received at 47601 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 47601 <at> debbugs.gnu.org, Sam Steingold <sds <at> gnu.org>
Subject: Re: bug#47601: 28.0.50; tramp-sh-handle-file-newer-than-file-p
 works on MacOS but not on Linux
Date: Thu, 06 May 2021 12:31:34 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> One of the both files returns tramp-time-dont-know in
> file-attributes. However, there's no reason to fire an error in
> Tramp. I've fixed this in master, could you, pls, check?

This was four weeks ago, so I'm going to go ahead and assume that the
change fixed the reported bug, and I'm closing this bug report.  If this
is still an issue, please respond to the debbugs address and we'll
reopen the report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 47601 <at> debbugs.gnu.org and sds <at> gnu.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 06 May 2021 10:32:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Jun 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.