-
Notifications
You must be signed in to change notification settings - Fork 38
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
emacs26 - install errors #1217
Comments
So as a shot, I tried to manually install debhelper. It appears that this is not a popular package or someone else would have noticed that it is missing dependencies?
This package does not appear in any version of fink distributions. |
Those look like warnings that reference outdated functions rather than failures from removed functions. Someone who knows lisp should patch them. This seems to be the documentation for it: https://www.gnu.org/software/emacs/manual/html_node/elisp/Current-Buffer.html#index-set_002dbuffer Upstream emacsen-common is now at 3.0.5, but not quite ancient 2.0.8 is still available: https://archive.ubuntu.com/ubuntu/pool/main/e/emacsen-common/ While our version of 00fink-vars.el looks like this: (defun fink-file->string (name &optional func)
"Convert a file into a string"
(interactive "fFile name : ")
(let ((filename (expand-file-name name)))
(if (not (file-readable-p filename))
nil
(let ((buf (create-file-buffer filename))
ret)
(save-excursion
(set-buffer buf)
(insert-file-contents filename)
(if func (funcall func))
(setq ret (buffer-string)))
(kill-buffer buf)
ret))))
(defun fink-clean-mailname ()
(while (search-forward "\n" nil t)
(replace-match "" nil t))) In 2.0.8::00debian-vars, it looks like this: (defun debian-file->string (name &optional func)
"Convert a file into a string"
(interactive "fFile name : ")
(let ((filename (expand-file-name name)))
(if (not (file-readable-p filename))
nil
(with-temp-buffer
;; Do not run any user `find-file-hooks'
(insert-file-contents-literally filename)
(if func
(funcall func))
(buffer-string)))))
(defun debian-clean-mailname ()
(while (search-forward "\n" nil t)
(replace-match "" nil t)))
And that's all gone in 3.0.5. I don't know if emacsen-common-3.0.5 is compatible with our older emacs23-25. For the mapcar warning in Updating emacsen-common would probably take care of the warnings, but care needs to be taken to not break emacs23-25. However, the only things that use emacs23-25 are edb and ess, both of which have alternative depends all the way up to emacs26. |
This may be similar to closed issue #1068. But I think it is different. After building the deb package and during the install there are two errors and a lot of suggestions.
Error 1: the file 00fink-vars.el needs to be updated to handle the version 26 changes in syntax. I don't think I saw this when installing emacs25.
Error 2: Suggestion for updating the fink-startup.el file for changes in syntax.
Not sure if these are fatal flaws nor am I an elisp hacker to try to fix those.
The other issue is a bit curious The message is:
Now debhelper is a fink package but not required for the build process but required for the install process? There is no "InstallDeps" tag AFAIK in the fink universe. Debhelper is current version 12.7.1.
The text was updated successfully, but these errors were encountered: