lisp/tramp/tramp-loaddefs.el contains the wrong feature name: (if (featurep 'lisp-autoloads) (error "Already loaded")) ... (provide 'lisp-autoloads) The feature name should be tramp-loaddefs, to match the filename. This causes any attempt to load tramp to fail. If tramp is installed, an error is raised whenever Tab-completion is used on a filename in the minibuffer. The only practical options are to either manually edit the installed tramp-loaddefs.el file (and delete the corresponding .elc file) or to unmerge the package. tramp-loaddefs is an auto-generated file; looking at (an old version of) the xemacs-packages source, xemacs-packages/tramp/lisp/Makefile has the following as part of the build commands for tramp-loaddefs.el: # XEmacs uses hard coded feature `lisp-autoloads'. @sed -e s/lisp-autoloads/tramp-loaddefs/g $@ >$@.$$$$ && \ mv -f $@.$$$$ $@ So it looks like this (or its current incarnation) is failing during the build process used to generate distfiles/tramp-1.58-pkg.tar.gz.
Thanks for the detailed report. The XEmacs packages are binary packages. I will notify upstream to fix the packaging of tramp.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2704a25ba5a7e255a41ed2062bc4f13cac595450 commit 2704a25ba5a7e255a41ed2062bc4f13cac595450 Author: Mats Lidell <matsl@gentoo.org> AuthorDate: 2024-11-29 14:51:35 +0000 Commit: Mats Lidell <matsl@gentoo.org> CommitDate: 2024-11-29 15:00:44 +0000 app-xemacs/tramp: add 1.58-r1 Repackaged 1.58 while waiting for upstream to fix the issue in a future, 1.59, release. Closes: https://bugs.gentoo.org/943386 Signed-off-by: Mats Lidell <matsl@gentoo.org> app-xemacs/tramp/Manifest | 1 + app-xemacs/tramp/tramp-1.58-r1.ebuild | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+)