升级后 Emacs 似乎无法启动了

升级到 Emacs 29.1 后无法启动,在命令行执行发现

[john@suse ~]$ Emacs
Loading loadup.el (source)...
Dump mode: nil
Using load-path (/usr/share/emacs/29.1/site-lisp /usr/share/emacs/site-lisp /usr/share/emacs/29.1/lisp /usr/share/emacs/29.1/lisp/emacs-lisp /usr/share/emacs/29.1/lisp/progmodes /usr/share/emacs/29.1/lisp/language /usr/share/emacs/29.1/lisp/international /usr/share/emacs/29.1/lisp/textmodes /usr/share/emacs/29.1/lisp/vc)
Loading emacs-lisp/debug-early...
Symbol's function definition is void: file-name-sans-extension

@frogman

https://bugzilla.opensuse.org/show_bug.cgi?id=1214008

直接运行 emacs-gtk 可以