Open A6GibKm opened 4 years ago
It works if you symlink /usr/share/emacs/28.0.50/lisp
to /lisp
. I don't know why it looks for that hardcoded relative path. Is it from when emacs is dumped with the portable dumper during the build?
The issue seems to be due to the file /usr/libexec/emacs/28.0.50/x86_64-redhat-linux-gnu/emacs.pdmp
in emacs-common
. If I remove that everything works without any symlinking. Should the pdmp file not be included in the rpm or can it be dumped with the final installed paths to *.eln
-files?
Could you share the spec?
I have not created a spec. I did not have time to debug it now but I got some other weird issues that seemed to go away when I reverted for the original symlink setup. Someone that knows more about building emacs than me probably needs to look into this. :/
This pretest copr build does some trickery with pdmp
files. Maybe that is something to look at?
I tried to remove the pdmp file in my spec without success, will try yours.
Adding
%files
%{_bindir}/emacs-%{version}
%attr(0755,-,-) %ghost %{_bindir}/emacs
+%{_datadir}/applications/emacsclient.desktop
%{_datadir}/applications/emacs.desktop
plus the latest commit fixes the issue.
I get
when trying to run the binary.