tag 1041415 + upstream thanks The error message:
>>Error occurred processing /usr/share/emacs/site-lisp/debian-startup.el: File >>error (("Doing chmod" "Operation not supported" >>"/usr/share/emacs/site-lisp/debian-startup.elcFx8oFi")) comes from the emacs byte compiler. Tracing through the byte compiler, we find that the error is reported by the call to `set-file-modes` in `byte-write-target-file`. set-file-modes is implemented in C, and ultimately results in a call to `fchmodat`. `byte-write-target-file` *always* sets the 'nofollow flag when calling `set-file-modes`, which results in `fchmodat` being called with the AT_SYMLINK_NOFOLLOW flag. Unfortunately, documentation for `fchmodat` on Linux indicates: > AT_SYMLINK_NOFOLLOW > If pathname is a symbolic link, do not dereference it: instead > operate on the link itself. This flag is not currently > implemented. ...and... > ENOTSUP > (fchmodat()) flags specified AT_SYMLINK_NOFOLLOW, which is not supported. ENOTSUP maps to "Operation not supported", which is the error returned back up the stack. So this looks like a bug in upstream emacs 28. Will take it there. -- She's got no name, but she is family.