Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Failed to require the module #1
I followed the user guide and when try to (require 'greeting), the following message showed
ad-Advice-require: Loading file /home/hekinami/.emacs.d/elpa/helm-20180222.2124/helm-command.elc failed to provide feature ‘greeting’
And failed to require.
I tried to (load "greeting"), it returned t, but I cannot use the feature written in the modlue.
It should work on 26. CI is set up to test both 25 and 26.
One possible issue may be
;; Full path, including the extension (module-load "/full/path/to/greeting.so")
Can you provide more details on your Emacs 26 setup? OS version, build configuration...
Hi, @ubolonton I have just tested in the new released 26.1. Unfortunately, there is still the same issue, when I try to (require 'greeting), we got:
and what we got if (require 'greeting) after use 'emacs -Q'
And, by the way, this is the output of 'ls /home/hekinami/sandbox/greeting/target/debug'
output of 'rustc --version'
This seems to be an unresolved bug with Emacs 26 on Linux: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30106.
I'll check later Emacs versions.
I can reproduce the error with Emacs 26.1 (with both threads and modules), but only on Ubuntu 16.04 (Xenial). On Ubuntu 14.04 (Trusty) and macOS it works fine.
It works on Emacs git snapshot (27.0.50).
Regarding the linked bug, the fix