https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Bug ID: 2109358 Summary: emacs fails to start: Cannot open load file: No such file or directory, comp Product: Fedora Version: 36 Status: NEW Component: emacs-common-ddskk Assignee: dueno@redhat.com Reporter: nicku@nicku.org QA Contact: extras-qa@fedoraproject.org CC: dueno@redhat.com, i18n-bugs@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Description of problem: emacs fails to start if emacs-ddsdk is installed
Version-Release number of selected component (if applicable): 16.2-12.fc36
How reproducible: Always
Steps to Reproduce: 1.Install emacs, it runs 2.install emacs-ddsdk 3. Emacs refuses to start, with message, "Cannot open load file: No such file or directory, comp"
Actual results: Emacs refuses to start, with message, "Cannot open load file: No such file or directory, comp"
Expected results: emacs runs.
Additional info: strace shows emacs looking iin so many places other than the right one.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Jon Dufresne jon.dufresne@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value CC| |jon.dufresne@gmail.com
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #1 from Jon Dufresne jon.dufresne@gmail.com --- I had to also remove emacs-common-ddsdk in addition to emacs-ddsdk to workaround this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Masatake YAMATO yamato@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yamato@redhat.com
--- Comment #2 from Masatake YAMATO yamato@redhat.com --- I found a slightly better workaround.
# mv /usr/share/emacs/site-lisp/ddskk/skk-setup.elc /usr/share/emacs/site-lisp/ddskk/skk-setup.elc_
Emacs can start without -Q (and -q), and ddskk from the package still works.
I inspected the issue more.
/usr/share/emacs/site-lisp/ddskk/skk-setup.elc includes 4 S expressions.
;A (byte-code ... ;B (defalias 'skk-isearch-setup-maybe ... ;C (defalias 'skk-isearch-cleanup-maybe ... ;D (byte-code ...
When I deleted all expressions, emacs -q didn't report the message. Wenn I deleted all expressions other than A, emacs -q didn't report the message. When I deleted all expressions other than A and B, emacs -q reported the error.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |przemek@nist.gov
--- Comment #3 from Jens Petersen petersen@redhat.com --- *** Bug 2131129 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #4 from Jens Petersen petersen@redhat.com --- Thanks Yamato-san
So I think the right thing to do here is just not to compile ddskk-setup.el, ya?
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #5 from Jens Petersen petersen@redhat.com --- (We should also really update to newer https://github.com/skk-dev/ddskk/releases)
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #6 from Jens Petersen petersen@redhat.com --- (Sorry I meant skk-setup.el of course)
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #7 from Jens Petersen petersen@redhat.com --- https://src.fedoraproject.org/rpms/emacs-common-ddskk/pull-request/3
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #8 from Jens Petersen petersen@redhat.com --- If people can help to test this, I don't mind to build updates
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #9 from Masatake YAMATO yamato@redhat.com --- I'm not sure that removing the elc is the right thing, but it works :-).
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #10 from Jens Petersen petersen@redhat.com --- (In reply to Masatake YAMATO from comment #9)
I'm not sure that removing the elc is the right thing, but it works :-).
Why not? It was Fedora specific
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #11 from Masatake YAMATO yamato@redhat.com ---
Why not? It was Fedora specific
As far as reading skk-setup.el, 'comp' is not required. I don't understand why emacs reported 'Cannot open load file: No such file or directory, comp'. I wonder why other elc files don't cause the report.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #12 from Masatake YAMATO yamato@redhat.com --- I installed emacs-ddskk-17.1-1.fc37.noarch. It reproduced the issue well. After installing I removed /usr/share/emacs/site-lisp/ddskk/skk-setup.elc, the issue was gone; emacs started well.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
--- Comment #13 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2109358
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |emacs-common-ddskk-17.1-1 Status|POST |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2023-05-15 08:41:58
i18n-bugs@lists.fedoraproject.org