Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943386 - app-xemacs/tramp-1.58 is broken
Summary: app-xemacs/tramp-1.58 is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-13 15:08 UTC by Glynn Clements
Modified: 2024-11-29 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glynn Clements 2024-11-13 15:08:41 UTC
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.
Comment 1 Mats Lidell gentoo-dev 2024-11-13 19:46:31 UTC
Thanks for the detailed report. 

The XEmacs packages are binary packages. I will notify upstream to fix the packaging of tramp.
Comment 2 Larry the Git Cow gentoo-dev 2024-11-29 15:01:06 UTC
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(+)