{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5917","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5917/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5917/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5917/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/5917","id":151566929,"number":5917,"title":"Serious compilation errors when Spacemacs installs package realgud","user":{"login":"bmag","id":4334375,"avatar_url":"https://avatars.githubusercontent.com/u/4334375?v=3","gravatar_id":"","url":"https://api.github.com/users/bmag","html_url":"https://github.com/bmag","followers_url":"https://api.github.com/users/bmag/followers","following_url":"https://api.github.com/users/bmag/following{/other_user}","gists_url":"https://api.github.com/users/bmag/gists{/gist_id}","starred_url":"https://api.github.com/users/bmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmag/subscriptions","organizations_url":"https://api.github.com/users/bmag/orgs","repos_url":"https://api.github.com/users/bmag/repos","events_url":"https://api.github.com/users/bmag/events{/privacy}","received_events_url":"https://api.github.com/users/bmag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Bug%20tracker%20-","name":"- Bug tracker -","color":"fef2c0"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Install","name":"Install","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Reported%20upstream","name":"Reported upstream","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-28T07:20:40Z","updated_at":"2016-04-29T11:33:17Z","closed_at":null,"body":"#### Description\r\nTrying to install `realgud` via `dotspacemacs-additional-packages` results in many compilation errors. The errors indicate that Emacs tries to load files from wrong paths: `~/relative/path` instead of `~/.emacs.d/elpa/relative/path`. Manually installing via `SPC a k` (`spacemacs/paradox-list-packages`) works without errors, only has regular compile warnings.\r\n\r\nI've checked if the order of installing the dependencies matter, but it doesn't seem to be the problem. Stock Emacs and Spacemacs install the dependencies in a different order, but manually installing the dependecies in stock Emacs in the same order as Spacemacs uses resulted in a successful compilation.\r\n\r\ncc @jluttine \r\n\r\n#### Temporary workaround\r\n- install `realgud` via `SPC a k` (compiles successfully)\r\n- add `realgud` to `dotspacemacs-additional-packages` (prevents Spacemacs from deleting it as orphan)\r\n\r\n#### Reproduction guide\r\n- add `realgud` to `dotspacemacs-additional-packages`\r\n- make sure that `list-utils`, `load-relative`, `loc-changes`, `test-simple` and `realgud` aren't installed in `.emacs.d/elpa`\r\n- restart spacemacs (`SPC q R`)\r\n\r\n*Observed behaviour:*\r\nMany `Cannot open load file` errors during compilation. Errors indicate that Emacs tries to load files from base path `~/`, instead of base path `~/.emacs.d/elpa/`. Probably related to `load-relative`, which is a dependency of `realgud`. See first attached file for compile log.\r\n\r\n*Expected behaviour:*\r\nRealgud is installed and compiled without errors (warning are ok, but not errors). See second attached file for compile log.\r\n\r\n#### System Info\r\n- OS: gnu/linux\r\n- Emacs: 24.5.1\r\n- Spacemacs: 0.105.19\r\n- Spacemacs branch: develop (rev. 5ee970f)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: hybrid\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(spacemacs-helm\r\n (auto-completion :variables auto-completion-complete-with-key-sequence \"jk\" auto-completion-complete-with-key-sequence-delay 0.5 auto-completion-enable-snippets-in-popup nil auto-completion-enable-help-tooltip t company-tooltip-align-annotations t)\r\n emacs-lisp git markdown org\r\n (shell :variables shell-default-height 30 shell-default-position 'bottom)\r\n syntax-checking version-control\r\n (latex :variables latex-enable-auto-fill t latex-enable-folding t)\r\n pdf-tools evil-cleverparens python command-log smex themes-megapack c-c   ruby common-lisp ibuffer octave realgud window-purpose nameless)\r\n```\r\n\r\n\r\n#### Compile Log when using `spacemacs-addition-packages`\r\n[28-100050.txt](https://github.com/syl20bnr/spacemacs/files/239963/28-100050.txt)\r\n\r\n#### Compile Log when using `SPC a k`\r\n[28-100246.txt](https://github.com/syl20bnr/spacemacs/files/239964/28-100246.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/215689205","html_url":"https://github.com/syl20bnr/spacemacs/issues/5917#issuecomment-215689205","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5917","id":215689205,"user":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T11:33:17Z","updated_at":"2016-04-29T11:33:17Z","body":"That's interesting that you are reproducing it only by explicitly loading the file and not in `init.el`, maybe a side effect of a fix.\r\nIf you have a possible solution we can test it before you commit it."}}