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

Compiling magit 2.5.0 with Emacs 24.5 fails #2582

Closed
limist opened this issue Mar 9, 2016 · 3 comments
Closed

Compiling magit 2.5.0 with Emacs 24.5 fails #2582

limist opened this issue Mar 9, 2016 · 3 comments
Labels
duplicate This issue or pull request already exists invalid This doesn't seem right

Comments

@limist
Copy link

limist commented Mar 9, 2016

With a freshly-built Emacs 24.5, then loading melpa-stable packages: after marking magit 2.5.0 for installation, compiling it fails as follows:

Leaving directory `/home/foo/.emacs.d/elpa/magit-popup-2.5.0'

Compiling file /home/foo/.emacs.d/elpa/magit-popup-2.5.0/magit-popup-autoloads.el at Tue Mar  8 20:29:50 2016
Entering directory `/home/foo/.emacs.d/elpa/magit-popup-2.5.0/'

Compiling file /home/foo/.emacs.d/elpa/magit-popup-2.5.0/magit-popup-pkg.el at Tue Mar  8 20:29:50 2016

Compiling file /home/foo/.emacs.d/elpa/magit-popup-2.5.0/magit-popup.el at Tue Mar  8 20:29:50 2016

Compiling no file at Tue Mar  8 20:29:52 2016
Leaving directory `/home/foo/.emacs.d/elpa/magit-2.5.0'

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/git-rebase.el at Tue Mar  8 20:29:54 2016
Entering directory `/home/foo/.emacs.d/elpa/magit-2.5.0/'
git-rebase.el:70:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-apply.el at Tue Mar  8 20:29:56 2016
magit-apply.el:33:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-autoloads.el at Tue Mar  8 20:29:56 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-autorevert.el at Tue Mar  8 20:29:56 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-bisect.el at Tue Mar  8 20:29:56 2016
magit-bisect.el:30:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-blame.el at Tue Mar  8 20:29:56 2016
magit-blame.el:31:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-commit.el at Tue Mar  8 20:29:56 2016
magit-commit.el:32:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-core.el at Tue Mar  8 20:29:56 2016
magit-core.el:38:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-diff.el at Tue Mar  8 20:29:56 2016
magit-diff.el:32:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-ediff.el at Tue Mar  8 20:29:56 2016
magit-ediff.el:30:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-extras.el at Tue Mar  8 20:29:57 2016
magit-extras.el:27:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-git.el at Tue Mar  8 20:29:57 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-log.el at Tue Mar  8 20:29:58 2016
magit-log.el:32:1:Error: Symbol's function definition is void: --some

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-mode.el at Tue Mar  8 20:29:58 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-pkg.el at Tue Mar  8 20:29:58 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-process.el at Tue Mar  8 20:29:58 2016
magit-process.el:94:46:Warning: reference to free variable `it'

In end of data:
magit-process.el:831:1:Warning: the function `--some' is not known to be
    defined.

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-remote.el at Tue Mar  8 20:29:59 2016
magit-remote.el:32:1:Error: Symbol's value as variable is void: it

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-section.el at Tue Mar  8 20:29:59 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-sequence.el at Tue Mar  8 20:30:00 2016
magit-sequence.el:32:1:Error: Symbol's value as variable is void: it

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-stash.el at Tue Mar  8 20:30:00 2016
magit-stash.el:30:1:Error: Symbol's value as variable is void: it

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-submodule.el at Tue Mar  8 20:30:00 2016
magit-submodule.el:26:1:Error: Symbol's value as variable is void: it

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-utils.el at Tue Mar  8 20:30:00 2016

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit-wip.el at Tue Mar  8 20:30:00 2016
magit-wip.el:33:1:Error: Symbol's value as variable is void: it

Compiling file /home/foo/.emacs.d/elpa/magit-2.5.0/magit.el at Tue Mar  8 20:30:00 2016
magit.el:56:1:Error: Symbol's value as variable is void: it

Tried uninstalling and retrying, same result. Any suggestions please? Thanks!

@syohex
Copy link
Contributor

syohex commented Mar 9, 2016

You use too old dash.el. Please update dash.el and retry.

@npostavs
Copy link
Member

npostavs commented Mar 9, 2016

dup of #2420.

@npostavs npostavs closed this as completed Mar 9, 2016
@npostavs npostavs added duplicate This issue or pull request already exists invalid This doesn't seem right labels Mar 9, 2016
@limist
Copy link
Author

limist commented Mar 9, 2016

Sorry for the repeat issue; seems the confounding problem is that the Emacs package manager does not recognize dash should be upgraded, despite a new version existing. Manually installed dash, restarted Emacs, and it all works. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists invalid This doesn't seem right
Development

No branches or pull requests

3 participants