From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30106@debbugs.gnu.org
Subject: bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test'
Date: Mon, 15 Jan 2018 21:09:38 +0300 [thread overview]
Message-ID: <20180115180938.GK30277@protected.rcdrun.com> (raw)
In-Reply-To: <833737z2jy.fsf@gnu.org>
Dear Eli,
See below:
On Mon, Jan 15, 2018 at 03:14:57PM +0200, Eli Zaretskii wrote:
> > Output of grep MODULES src/config.h:
> >
> > #define EMACS_CONFIG_FEATURES "XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES LCMS2"
> > #define HAVE_MODULES 1
> > #define MODULES_SUFFIX ".so"
> >
> > > And does src/Makefile have this line:
> > >
> > > MODULES_OBJ = dynlib.o emacs-module.o
> >
> > Output of grep MODULES Makefile:
> >
> > LIBMODULES = -ldl
> > MODULES_OBJ = dynlib.o emacs-module.o
> > eval.o floatfns.o fns.o font.o print.o lread.o $(MODULES_OBJ) \
> > $(NOTIFY_LIBS) $(LIB_MATH) $(LIBZ) $(LIBMODULES) $(LIBSYSTEMD_LIBS) \
>
> This means your build does have support for modules.
>
> Returning to the original error:
>
> ELC src/emacs-module-tests.elc
On my side that file is located in:
/sources/emacs/test/src
> In toplevel form:
> 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)
That is same so here.
> 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?
There exist no directory:
test/data/emacs-module/mod-test/
There is directory:
test/data/emacs-module/
inside of which are following files:
total 76
-rw-r--r-- 1 root root 9915 Jan 3 08:19 mod-test.c
-rwxr-xr-x 1 root root 62008 Jan 14 20:56 mod-test.so
Let me know if I can help anything more.
Jean
next prev parent reply other threads:[~2018-01-15 18:09 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-14 6:36 bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test' Jean Louis
2018-01-14 16:08 ` Eli Zaretskii
2018-01-14 17:47 ` Jean Louis
2018-01-14 19:44 ` Eli Zaretskii
2018-01-14 22:12 ` Jean Louis
2018-01-15 13:14 ` Eli Zaretskii
2018-01-15 17:56 ` Glenn Morris
2018-01-18 19:35 ` Philipp Stephani
2018-01-18 23:00 ` Glenn Morris
2018-01-15 18:09 ` Jean Louis [this message]
2018-01-15 18:55 ` Jean Louis
2018-01-15 20:15 ` Eli Zaretskii
2018-01-16 5:17 ` Jean Louis
2018-01-16 18:06 ` Glenn Morris
2018-01-16 19:17 ` Jean Louis
2018-01-16 18:10 ` Eli Zaretskii
2018-01-16 19:18 ` Jean Louis
2018-01-17 15:36 ` Eli Zaretskii
2018-01-17 17:03 ` Jean Louis
2018-01-17 18:25 ` Eli Zaretskii
2018-01-17 18:51 ` Glenn Morris
2018-01-17 18:58 ` Glenn Morris
2018-01-17 19:37 ` Jean Louis
2018-01-18 23:01 ` Glenn Morris
2018-01-17 20:05 ` Eli Zaretskii
2018-01-17 20:29 ` Glenn Morris
2018-01-17 22:16 ` Philipp Stephani
2018-01-17 22:18 ` Philipp Stephani
2018-01-17 22:28 ` bug#30106: [PATCH 1/2] Use recommended long options syntax in man page Philipp Stephani
2018-01-17 22:28 ` bug#30106: [PATCH 2/2] Fix module support if threads are disabled (Bug#30106) Philipp Stephani
2018-01-18 14:04 ` Eli Zaretskii
2018-01-18 14:23 ` Philipp Stephani
2018-01-18 15:23 ` Eli Zaretskii
2018-01-18 17:41 ` Glenn Morris
2018-01-18 18:53 ` Eli Zaretskii
2018-01-18 22:55 ` Glenn Morris
2018-01-19 7:58 ` Eli Zaretskii
2018-01-20 18:07 ` Glenn Morris
2018-01-20 19:01 ` Eli Zaretskii
2018-01-18 19:25 ` Philipp Stephani
2018-01-17 22:35 ` bug#30106: [PATCH 1/2] Use recommended long options syntax in man page Philipp Stephani
2018-01-18 13:59 ` bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test' Eli Zaretskii
2018-01-18 17:40 ` Glenn Morris
2018-01-17 19:20 ` Jean Louis
2018-01-17 18:32 ` Andy Moreton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180115180938.GK30277@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=30106@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.