Closed ferdy closed 2 years ago
Thanks for the report.
I tried to reproduce by doing the following:
emacs -Q
M-x macports
But I was unable to get your result.
Can you provide some sort of minimum configuration that reproduces the issue?
ciao,
my thanks for the prompt reply.
I tried this:
emacs -Q
copy&paste in the *Scratch* buffer these emacs-lisp lines:
(emacs-version)
(setq debug-on-error t)
(setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
;; ("marmelade" . "https://marmalade-repo.org/packages/")
("org" . "https://orgmode.org/elpa/")
("elpy" . "http://jorgenschaefer.github.io/packages/")
))
(package-initialize)
(locate-library "macports")
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
"GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6.5 (Build 20G527))
of 2022-05-06"
t
(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("melpa-stable" . "https://stable.melpa.org/packages/") ("org" . "https://orgmode.org/elpa/") ("elpy" . "http://jorgenschaefer.github.io/packages/"))
Package cl is deprecated
"/Users/ferdy/.emacs.d/elpa/macports-20220509.1326/macports.elc"
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "macports-reclaim")
command-execute(macports record)
execute-extended-command(nil "macports" "macports")
funcall-interactively(execute-extended-command nil "macports" "macports")
command-execute(execute-extended-command)
I would also add that I tried the same steps obtaining the same results with other versions of Emacs:
BTW, I am not an emacs-lisp wizard at all, but surely there is no "macports-reclaim" file in the installed package:
ferdy@wabi:~/.emacs.d/elpa/macports-20220509.1326$ pwd
/Users/ferdy/.emacs.d/elpa/macports-20220509.1326
ferdy@wabi:~/.emacs.d/elpa/macports-20220509.1326$ ls -al
total 104
drwxr-xr-x 16 ferdy staff 512 May 11 11:50 ./
drwxr-xr-x 187 ferdy staff 5984 May 11 11:50 ../
-rw-r--r-- 1 ferdy staff 1923 May 11 11:50 macports-autoloads.el
-rw-r--r-- 1 ferdy staff 6736 May 11 11:50 macports-core.el
-rw-r--r-- 1 ferdy staff 10145 May 11 11:50 macports-core.elc
-rw-r--r-- 1 ferdy staff 2160 May 11 11:50 macports-describe.el
-rw-r--r-- 1 ferdy staff 1796 May 11 11:50 macports-describe.elc
-rw-r--r-- 1 ferdy staff 13874 May 11 11:50 macports-installed.el
-rw-r--r-- 1 ferdy staff 12988 May 11 11:50 macports-installed.elc
-rw-r--r-- 1 ferdy staff 6259 May 11 11:50 macports-outdated.el
-rw-r--r-- 1 ferdy staff 7128 May 11 11:50 macports-outdated.elc
-rw-r--r-- 1 ferdy staff 368 May 11 11:50 macports-pkg.el
-rw-r--r-- 1 ferdy staff 3457 May 11 11:50 macports-select.el
-rw-r--r-- 1 ferdy staff 4780 May 11 11:50 macports-select.elc
-rw-r--r-- 1 ferdy staff 1167 May 11 11:50 macports.el
-rw-r--r-- 1 ferdy staff 258 May 11 11:50 macports.elc
ferdy@wabi:~/.emacs.d/elpa/macports-20220509.1326$
hope this helps and please let me know if you want me to do some more experiments/tests. cheers, -- ferdy
Actually I think I figured it out. I misunderstood one of the arguments to autoload
:
https://github.com/amake/macports.el/commit/81e3ca64b754a83aca9e9841874844b4f715518e
You can patch it locally or wait for MELPA to pick it up.
ciao, i have just upgraded from melpa to version 20220512.9 and I am not getting the error any longer. i will commence playing with the package and will let you know should any other issue will arise meanwhile I close this issue as resolved. thank you very much for your support! cheers, -- ferdy
I got the error in the subject as soon as I type "M-x macports"
I use to manage packages via paradox:
debug-on-error log follows:
I build emacs from git source on MacOS 11.6.5:
thank you very much in advance (and thank you for the package itself too :-) -- ferdy