Package Details: emacs-git 30.0.50.169253-1

Git Clone URL: https://aur.archlinux.org/emacs-git.git (read-only, click to copy)
Package Base: emacs-git
Description: GNU Emacs. Development master branch.
Upstream URL: http://www.gnu.org/software/emacs/
Keywords: development editor IDE text
Licenses: GPL3
Conflicts: emacs
Provides: emacs
Submitter: toropisco
Maintainer: toropisco
Last Packager: toropisco
Votes: 108
Popularity: 0.006571
First Submitted: 2014-01-05 02:05 (UTC)
Last Updated: 2023-10-14 18:36 (UTC)

Required by (318)

Sources (2)

Pinned Comments

toropisco commented on 2017-06-30 19:14 (UTC) (edited on 2022-05-15 13:26 (UTC) by toropisco)

This PKGBUILD is a work in progress. If you find PACKAGING bugs, please let me know ASAP.

Upstream bugs are to be reported upstream. Check out the emacs-devel archives to confirm if this is an already known bug. In fact... Why are you not subscribed to emacs-devel?. Also check the emacs-bug-tracker archives.

Reporting bugs: Write to the Emacs Bug Tracker and report it there. Or, better yet, use the debbugs client included with the text editor. You will find instructions at https://debbugs.gnu.org/. Good luck!

If you confirm it is a packaging bug, you are welcome to report it here.

Yaourt and other automated tools users BEWARE! This PKGBUILD is written with hand updating in mind and I won't fix bugs arising from such use. Besides, cloning the same repository time and time again from a non-profit such as the GNU Project/FSF gives out a very low image of you.

Latest Comments

1 2 3 4 5 6 .. 39 Next › Last »

jponin commented on 2025-11-10 23:20 (UTC) (edited on 2025-11-11 11:17 (UTC) by jponin)

@nowayman I had that ~same bug since 5 Nov 2025 (latest successful local build). i'm building it under a bare archlinux install, so the reasoning in the mailing-list (the windows C:... path being lowercased) seems weird.. but I'll try messing with loaddefs and startup.el to see if i can debug it on my side

ps: I kinda hacked the loaddefs source this way, see here: https://pastebin.com/ZQ2qa1uT

This is simply patching the path strings to insert the missing "emacs-git/" folder), it was enough to build a functionning emacs.

 (directory-files (string-replace "src/lisp" "src/emacs-git/lisp" (expand-file-name d)) t files-re))

Could run in graphical mode, test eww and magit, with no weird errors so far).

WARNING: I needed to patch loaddefs-gen.el while makepkg -Csf was running.. really a crude hack. don't expect much more :)

nowayman commented on 2025-11-08 12:26 (UTC) (edited on 2025-11-08 12:36 (UTC) by nowayman)

FYI seeing build failure during loaddefs gnerations with unaltered PKGBUILD which may be related to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79694

debug-early-backtrace...done
Loading macroexp.elc...
Opening directory: No such file or directory, /home/n/.cache/paru/clone/emacs-git/src/lisp
make[3]: *** [Makefile:203: autoloads] Error 255

Upstream claims to have fixed the bug here: https://github.com/emacs-mirror/emacs/commit/f356dca70b4d6a884c82ad6a29d2de7a91c54a7a

hadronized commented on 2025-02-02 18:25 (UTC)

There is a weird error while cloning the sources:

==> Making package: emacs-git 30.0.50.169253-1 (Sun 02 Feb 2025 07:22:46 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning emacs-git git repo...
Cloning into bare repository '/home/hadronized/aur/emacs-git/emacs-git'...
fatal: unable to access 'https://git.savannah.gnu.org/git/emacs.git/': The requested URL returned error: 502

toropisco commented on 2024-09-16 19:19 (UTC) (edited on 2024-09-16 19:19 (UTC) by toropisco)

@port19 sorry for the late reply, due to a problem with my mail filters. The main problem with Emacs' git repository is that, for some reason unknown to me, the maintainers have not implemented regular garbage collection.

You can reduce the size of your repository by running git gc --aggressive once you create your local copy and once in a full moon afterwards.

<deleted-account> commented on 2024-09-09 15:46 (UTC)

@FabioLolix I see, how unfortunate. Here are some links to official sources:

https://wiki.archlinux.org/title/User:Apg#makepkg:_shallow_git_clones https://bbs.archlinux.org/viewtopic.php?pid=2190614

FabioLolix commented on 2024-09-09 15:05 (UTC)

@port19 that is not welcome on the AUR (it has been discussed multiple times but don't remember where)

<deleted-account> commented on 2024-09-09 10:46 (UTC)

With the repo being as huge as it is, would it be appropiate to clone with --depth 1 to drastically speed up install time?

esrh commented on 2024-08-08 09:46 (UTC)

It seems that tree-sitter integration is broken on the latest version (enabling rust-ts-mode crashed emacs with a stack smashing error). The version I rolled back to with success was 22.2-1. Rebuilding the latest emacs-git with the latest tree-sitter version (22.6) did not fix my problem.

(https://github.com/tree-sitter/tree-sitter/issues/3296)

toropisco commented on 2024-07-02 22:36 (UTC)

@lyra. You forgot to install the metapackage base-devel.

lyra commented on 2024-07-02 21:28 (UTC)

I've encountered an error:

configure: error: You do not seem to have makeinfo >= 4.13, and your
source tree does not seem to have pre-built manuals in the 'info' directory.

And it resolved with installing core/texinfo package. Maybe it needs to be added into Dependencies?