{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2182","labels_url":"https://api.github.com/repos/magit/magit/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2182/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2182/events","html_url":"https://github.com/magit/magit/issues/2182","id":101534523,"number":2182,"title":"upgrading from 2.1.0 to 2.2.0 with the package manager in emacs-24.5 gives compilation error (and many warnings)","user":{"login":"robohack","id":328917,"avatar_url":"https://avatars.githubusercontent.com/u/328917?v=3","gravatar_id":"","url":"https://api.github.com/users/robohack","html_url":"https://github.com/robohack","followers_url":"https://api.github.com/users/robohack/followers","following_url":"https://api.github.com/users/robohack/following{/other_user}","gists_url":"https://api.github.com/users/robohack/gists{/gist_id}","starred_url":"https://api.github.com/users/robohack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robohack/subscriptions","organizations_url":"https://api.github.com/users/robohack/orgs","repos_url":"https://api.github.com/users/robohack/repos","events_url":"https://api.github.com/users/robohack/events{/privacy}","received_events_url":"https://api.github.com/users/robohack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T23:56:36Z","updated_at":"2015-08-18T00:02:03Z","closed_at":null,"body":"Upgrading today from 2.1.0 to 2.2.0 in emacs-24.5 (via the package manager) resulted in the following error during compilation:\r\n\r\n    magit-diff.el:1389:1:Error: (magit-section-diff-header section) is not a valid place expression\r\n\r\nThere are also many many many warnings about functions being called with the wrong number of arguments (both the \"called with N, but only accepts X\" and \"used to take N, now takes X\" forms), all referring to `magit-` functions.\r\n\r\nAlso this:\r\n\r\n    In end of data:\r\n    magit.el:2325:1:Warning: the following functions are not known to be defined: magit-changed-files,\r\n        magit-read-string-ns\r\n\r\nPerhaps these are all due to the fact magit modules were already loaded into the emacs instance doing the compilation?  If so then I suppose this is really about a bug with the package manager and the only current solution would be to install magit \"manually\" such that separate `emacs -q -no-site-file -batch` processes are used to compile it.\r\n"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/131998891","html_url":"https://github.com/magit/magit/issues/2182#issuecomment-131998891","issue_url":"https://api.github.com/repos/magit/magit/issues/2182","id":131998891,"user":{"login":"tarsius","id":25046,"avatar_url":"https://avatars.githubusercontent.com/u/25046?v=3","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T00:02:03Z","updated_at":"2015-08-18T00:02:03Z","body":"Actually, starting with v2.2.0 Magit depends on the `async` package to prevent exactly those kind of errors. See the top bullet point in the [release notes](https://raw.githubusercontent.com/magit/magit/master/Documentation/RelNotes/2.2.0.txt).\r\n\r\n* Did `async` get installed?\r\n* Is `async-bytecomp-package-mode` enabled?\r\n* Are you using Melpa-Stable or Marmalade?\r\n* Are you using Spacemacs?"}}