Package Details: emacs-magit 3.0.0-1

Git Clone URL: https://aur.archlinux.org/emacs-magit.git (read-only, click to copy)
Package Base: emacs-magit
Description: It's Magit! A Emacs mode for Git.
Upstream URL: http://github.com/magit/magit
Licenses: GPL3
Conflicts: emacs-magit-git
Provides: emacs-magit
Submitter: esben
Maintainer: None
Last Packager: hamki
Votes: 5
Popularity: 0.000000
First Submitted: 2017-12-15 09:04 (UTC)
Last Updated: 2021-06-18 17:28 (UTC)

Latest Comments

« First ‹ Previous 1 2

smp commented on 2019-01-14 21:23 (UTC)

esben: Thanks for the quick fix, it solved the mentioned issue. Dependency emacs-treepy-git (also a dependency of emacs-ghub) seems to cause a similar problem. One more change to the PKGBUILD is required to build emacs-magit successfully on my system:

diff --git a/PKGBUILD b/PKGBUILD
index 5b94678..3fecf84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,8 +19,8 @@ md5sums=('SKIP')

 build() {
   cd "$srcdir/${_github_repo}"
-  make LOAD_PATH="-L /usr/share/emacs/site-lisp -L /usr/share/emacs/site-lisp/dash -L /usr/share/emacs/site-lisp/graphql -L ${srcdir}/magit/lisp" \
-       lisp docs
+  make LOAD_PATH="-L /usr/share/emacs/site-lisp -L /usr/share/emacs/site-lisp/dash -L /usr/share/emacs/site-lisp/graphql \
+       -L /usr/share/emacs/site-lisp/treepy -L ${srcdir}/magit/lisp" lisp docs
 }

 package() {

esben commented on 2019-01-14 20:58 (UTC)

C5OK5Y: I have made a change which hopefully will resolve it for you. Please try again.

smp commented on 2019-01-14 19:30 (UTC)

Despite repeated attempts, I can't seem to be able to build package versions 2.13.1-{1,2}. The problem seems to be related to the emacs-graphql dependency of emacs-ghub:

==> Starting build()...
make[1]: Entering directory '/home/.../emacs-magit/src/magit/lisp'
Compiling git-commit.el
Compiling magit-utils.el
Compiling magit-section.el
Compiling magit-git.el
Compiling magit-mode.el
Compiling magit-margin.el
Compiling magit-process.el
Compiling magit-autorevert.el
Compiling magit-core.el
Compiling magit-diff.el
Compiling magit-log.el
Compiling magit-wip.el
Compiling magit-apply.el
Compiling magit-repos.el
Compiling magit.el
Compiling magit-status.el

In toplevel form:
magit-status.el:30:1:Error: Cannot open load file: No such file or directory, graphql
make[1]: *** [Makefile:65: magit-status.elc] Error 1
make[1]: Leaving directory '/home/.../emacs-magit/src/magit/lisp'
make: *** [Makefile:72: lisp] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I've satisfied the emacs-graphql dependency with emacs-graphql-git. Am I the only one who has encountered such an error?

esben commented on 2019-01-14 08:17 (UTC)

Workaround for emacs-nox problem and addition of git to makedepends pushed.

yar commented on 2019-01-12 19:08 (UTC)

Please remove the version from the emacs dep, it doesn't work with packages that provide emacs (like emacs-nox). See: https://bugs.archlinux.org/task/60763

Also, please add makedepends=(git)