|
From: | Glenn Morris |
Subject: | bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test' |
Date: | Mon, 15 Jan 2018 12:56:17 -0500 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Eli Zaretskii wrote: > src/emacs-module-tests.el:32:1:Error: Loading file > /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test' > > line 32 of emacs-module-test.el is this: > > (require 'mod-test mod-test-file) > > So one problem could be that mod-test-file is somehow not calculated > correctly: > > (eval-and-compile > (defconst mod-test-file > (substitute-in-file-name > "$EMACS_TEST_DIRECTORY/data/emacs-module/mod-test") > "File name of the module test file.")) > > So maybe EMACS_TEST_DIRECTORY is incorrect, you your Emacs tree > doesn't have the test/data/emacs-module/mod-test directory, or there's > no mod-test.so file in that directory? But that would give a different error message. It seems that Fmodule_load does not update load-history. This is causing Frequire to report the wrong file names in its error message, which is making it hard to diagnose the real problem.
[Prev in Thread] | Current Thread | [Next in Thread] |