@NelsonGoncalves The source is updated. Thanks!
Search Criteria
Package Details: emacs-native-comp-git-enhanced 29.0.50.161920-2
Package Actions
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) |
Dependencies (15)
- alsa-lib (alsa-lib-x205ta)
- giflib (giflib-git)
- gnutls (gnutls-git)
- gpm (gpm-vm, gpm-git)
- gtk3 (gtk3-git, gtk3-ubuntu, gtk3-no_deadkeys_underline, gtk3-patched-filechooser-icon-view, gtk3-classic, gtk3-classic-xfce)
- harfbuzz (harfbuzz-git)
- jansson (jansson-git)
- libgccjit (libgccjit-git)
- libjpeg-turbo (mozjpeg-git, libjpeg-turbo-git, mozjpeg)
- libxml2 (libxml2-git, libxml2-2.9)
- webkit2gtk (webkit2gtk-hvml, webkit2gtk-imgpaste)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- libxi (libxi-git) (make)
- mold (mold-git) (make)
- xorgproto (xorgproto-git) (make)
Required by (436)
- anthy-unicode (requires emacs) (make)
- anthy-unicode-git (requires emacs) (make)
- astroid-git (requires emacs) (optional)
- auctex (requires emacs)
- auctex-git (requires emacs)
- auto-complete-clang-async (requires emacs)
- auto-complete-nxml-git (requires emacs)
- auto-complete-nxml-git (requires emacs) (make)
- bbdb (requires emacs)
- bigloo-devel (requires emacs) (make)
- bigloo-devel (requires emacs) (optional)
- bluespec-docs (requires emacs) (optional)
- bluespec-tools (requires emacs) (optional)
- carp (requires emacs) (make)
- cask (requires emacs)
- cask-git (requires emacs)
- cmake-git (requires emacs) (make)
- dictionary (requires emacs)
- distel (requires emacs)
- dmscripts-git (requires emacs) (optional)
- Show 416 more...
Sources (1)
VitalyR commented on 2022-11-16 10:47 (UTC)
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
- Install libgccjit via this pkgbuild: https://gist.github.com/VitalyAnkh/cfaaa103b5046c69c7b62eb313a6f4d4. Save it as a PKGBUILD and run
makepkg -si
in the same directory. - Install emacs-native-comp-git-enhanced from AUR.
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!
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:
makepkg -si
in the same directory.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 themaster
branch, this package will track themaster
branch by default.To speed up the compilation, this package will use
clang
to compile andmold
to link. Make sure you have installed them if you use the default config.