Package Details: emacs-native-comp-git-enhanced 29.0.50.161920-2

Git Clone URL: https://aur.archlinux.org/emacs-native-comp-git-enhanced.git (read-only, click to copy)
Package Base: emacs-native-comp-git-enhanced
Description: GNU Emacs. Development master branch.
Upstream URL: http://www.gnu.org/software/emacs/
Licenses: GPL3
Conflicts: emacs
Provides: emacs
Replaces: emacs
Submitter: VitalyR
Maintainer: VitalyR
Last Packager: VitalyR
Votes: 8
Popularity: 0.002586
First Submitted: 2020-07-11 16:12 (UTC)
Last Updated: 2022-11-16 10:45 (UTC)

Required by (436)

Sources (1)

Pinned Comments

VitalyR commented on 2022-02-15 14:36 (UTC) (edited on 2022-02-15 15:02 (UTC) by VitalyR)

If you met the libgccjit requires gcc-libs=11.1.0 problem and you don't know how to handle this, here is a quick solution for you:

  • Uninstall libgccjit and emacs-git:
sudo pacman -R libgccjit emacs-native-comp-git-enhanced
  • Roll your arch linux, just
sudo pacman -Syyu

Hopefully Arch will enable jit in the gcc package then we don't need to install libgccjit any more. Someone is working on that: https://bugs.archlinux.org/task/70280.

VitalyR commented on 2021-12-18 18:56 (UTC)

Since feature/pgtk branch has been merged into the master branch, this package will track the master branch by default.

To speed up the compilation, this package will use clang to compile and mold to link. Make sure you have installed them if you use the default config.

Latest Comments

1 2 3 Next › Last »

VitalyR commented on 2022-11-16 10:47 (UTC)

@NelsonGoncalves The source is updated. Thanks!

NelsonGoncalves commented on 2022-11-16 10:04 (UTC)

Hi @VitalyR. It seems you need to update the PKGBUILD

diff --git i/PKGBUILD w/PKGBUILD
index f3b429a..34bb5e8 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -115,7 +115,7 @@ makedepends=('git' 'mold')
 provides=('emacs')
 conflicts=('emacs')
 replaces=('emacs')
-source=("emacs-git::git+https://git.savannah.gnu.org/emacs.git")
+source=("emacs-git::git+https://git.savannah.gnu.org/git/emacs.git")
 # If Savannah fails for reasons, use Github's mirror
 #source=("emacs-git::git+https://github.com/emacs-mirror/emacs.git")
 options=(!strip)

Otherwise, the installation/upgrade fails

fatal: repository 'https://git.savannah.gnu.org/emacs.git/' not found

VitalyR commented on 2022-11-15 03:08 (UTC)

@spacjoe Thanks for reporting! This problem should be resolved now. I recommend using my other emacs custom build: https://aur.archlinux.org/packages/emacs-pgtk-git, which has the same flavor with a more concise name.

spacjoe commented on 2022-11-14 21:26 (UTC) (edited on 2022-11-14 21:44 (UTC) by spacjoe)

Had error during compiling.

:: Unable to build emacs-native-comp-git-enhanced - makepkg exited with code: 12

pkgver() can't contain whitespaces. The error comes from this line in PKGBUILD

printf "%s.%s" \
 "$(grep AC_INIT configure.ac | \
  sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\?\).\+$/\1/')" \
 "$(git rev-list --count HEAD)"

This produces the following version number:

AC_INIT([GNU Emacs], [29.0.50], [bug-gnu-emacs@gnu.org], [],.161922

which has whitespaces.

Thaodan commented on 2022-10-16 00:40 (UTC)

Also native comp doesn't JIT it AOT compilation. Jit is the regular elc code.

Thaodan commented on 2022-10-16 00:37 (UTC)

Why do you try to override MAKEFLAGS and cc? If the user wants to override these settings he should do it there.

vgivanovic commented on 2022-10-12 17:36 (UTC) (edited on 2022-10-12 17:43 (UTC) by vgivanovic)

Another FYI:

Version 29.0.50.160238-1 had a strange problem, where both beginning-of-line and end-of-line went to the previous line if visual-line-mode was enabled, but only in an org-mode file. I say strange because I had used 29.0.50.160238-1 successfully since Sept 30 without encountering this visual-line-mode problem. I use emacs extensively as my operating system ;-), and the visual-line-mode problem only showed up a few days ago. Obviously something else changed, but since I upgrade my Arch packages frequently (daily?) and my AUR packages often but less frequently (weekly?), locating the particular change that caused the visual-line-mode problem would take more time that I have available.

BTW, this visual-line-mode problem occurred on both my laptop and my desktop.

The good news is that 29.0.50.160461-1 does not exhibit this problem, so the universe can resume its normal trajectory.

vgivanovic commented on 2022-10-12 17:07 (UTC) (edited on 2022-10-12 17:08 (UTC) by vgivanovic)

yay -S emacs-native-comp-git-enhanced --noconfirm [29.0.50.157951-1] does not end up using clang and mold. This is not a problem for me; just FYI.

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         
                                                              -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         
                                                              -fstack-clash-protection -fcf-protection -fuse-ld=gold

VitalyR commented on 2022-02-15 14:36 (UTC) (edited on 2022-02-15 15:02 (UTC) by VitalyR)

If you met the libgccjit requires gcc-libs=11.1.0 problem and you don't know how to handle this, here is a quick solution for you:

  • Uninstall libgccjit and emacs-git:
sudo pacman -R libgccjit emacs-native-comp-git-enhanced
  • Roll your arch linux, just
sudo pacman -Syyu

Hopefully Arch will enable jit in the gcc package then we don't need to install libgccjit any more. Someone is working on that: https://bugs.archlinux.org/task/70280.

VitalyR commented on 2021-12-20 02:16 (UTC)

@spacjoe Thanks for the suggestion! It's done!