unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Peking Duck <pekingducklabs@gmail.com>
Cc: 28345@debbugs.gnu.org
Subject: bug#28345: 25.2.1: package-install-file and dynamic modules
Date: Sun, 04 Jul 2021 16:44:57 +0200	[thread overview]
Message-ID: <87k0m616l2.fsf@gnus.org> (raw)
In-Reply-To: <CAN+BrVpg5sA0UvcO54sLzNhec7igsqzFJ0V6raenoVLfbahG=A@mail.gmail.com> (Peking Duck's message of "Mon, 4 Sep 2017 20:26:43 +0800")

Peking Duck <pekingducklabs@gmail.com> writes:

> I wrote a dynamic module and am trying to use package.el to install it. I followed
> the instructions in the Emacs Lisp Manual and created a tar archive. This tar
> archive contains:
>
> sqlite3-api-0.1/
> sqlite3-api-0.1/sqlite3-api-pkg.el
> sqlite3-api-0.1/sqlite3-api.so
>
> I then evaluated
>
> (package-install-file "~/src/emacs-sqlite3-api/sqlite3-api-0.1.tar")
>
> and it gave me an error:
>
> (error "sqlite3-api.so:0:0: error: scan-error: (Containing expression ends
> prematurely 47501 47502)\
> ")
>
> From the backtrace, it's  autoload-generate-file-autoloads in autoload.el that
> caused it. Seems to me Emacs was trying to parse the .so looking for autoloads? 

(I'm going through old bug reports that unfortunately got no response at
the time.)

I'm not quite sure what the status of including .so files in Emacs
packages is now -- anybody know?  (.so files are architecture specific,
so I guess it's not something we do generally, but I guess people would
want to do it, anyway...) 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-07-04 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04 12:26 bug#28345: 25.2.1: package-install-file and dynamic modules Peking Duck
2017-09-24 11:08 ` Philipp Stephani
2017-09-24 23:12   ` John Wiegley
2021-07-04 14:44 ` Lars Ingebrigtsen [this message]
2021-07-04 16:27   ` Eli Zaretskii
2021-07-05 13:05     ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0m616l2.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=28345@debbugs.gnu.org \
    --cc=pekingducklabs@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).