bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24742: 25.1; autoloads tries to parse shared object files when modul


From: Eli Zaretskii
Subject: bug#24742: 25.1; autoloads tries to parse shared object files when module support is enabled
Date: Thu, 20 Oct 2016 09:37:30 +0300

> From: Joris Vankerschaver <joris.vankerschaver@gmail.com>
> Date: Wed, 19 Oct 2016 19:35:04 +0100
> 
> This happens on an Emacs that has been compiled with module support.
> Installing a multi-file package (with M-x package-install-file) that contains 
> a
> shared library (e.g. an Emacs module) results in a traceback.
> 
> The traceback is included below. It is hard to reproduce this exactly, but 
> what
> happens is that update-directory-autoloads iterates over the files in the
> package, and checks the extension of each file against the list of executable
> suffixes (from get-load-suffixes). When module support is enabled, that list
> contains ".so" (or ".dll", depending on the platform), causing
> autoload-generate-file-autoloads to try and parse the shared object file.
> 
> A possible fix would be to have update-directory-autoloads exclude shared
> object files (indeed, this fixes the problem on my platform). A complication 
> is
> that the list of shared object file extensions is platform dependent. I don't
> know if there is a reliable way of getting this information.

Thanks, this has been solved already for the next release of Emacs.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]