Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: error ("omg-dyn.dylib:0:0: error: scan-error: (Containing expression ends prematurely 82277 82278)") #2

Closed
jiacai2050 opened this issue Apr 23, 2022 · 0 comments

Comments

@jiacai2050
Copy link
Owner

jiacai2050 commented Apr 23, 2022

There is a scan-error when generate autoloads, here is the detailed backtraces:

Error: error ("omg-dyn.dylib:0:0: error: scan-error: (Containing expression ends prematurely 82277 82278)")
  debug-early-backtrace()
  debug-early(error (error "omg-dyn.dylib:0:0: error: scan-error: (Containing expression ends prematurely 82277 82278)"))
  error("%s:0:0: error: %s: %s" "omg-dyn.dylib" scan-error ("Containing expression ends prematurely" 82277 82278))
  autoload-generate-file-autoloads("omg-dyn.dylib" nil "/Users/ray/.config/emacs/lib/oh-my-github/emacs/oh-my-github-autoloads.el")
  make-directory-autoloads(("/Users/ray/.config/emacs/lib/oh-my-github/emacs/") "/Users/ray/.config/emacs/lib/oh-my-github/emacs/oh-my-github-autoloads.el")
  borg-update-autoloads("oh-my-github" ("/Users/ray/.config/emacs/lib/oh-my-github/emacs/"))
  borg--build-noninteractive("oh-my-github")

This is one mail list about this issue, but with no solution.

After some debug, change suffix from dylib to so solve this issue.

so is also valid suffix for macOS according to https://www.gnu.org/software/emacs/manual/html_node/elisp/Dynamic-Modules.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant