kelleyk / ppa-emacs

Packaging repository for my Emacs PPA
https://launchpad.net/~kelleyk/+archive/ubuntu/emacs
97 stars 4 forks source link

Native Compilation Not Enabled on Focal #26

Closed Immortalin closed 2 years ago

Immortalin commented 2 years ago
Package: emacs28
Version: 28.1~1.git5a223c7f2e-kk2+20.04

lsb_release -a

Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

Evaluating the following gives Native complation is *not* available

(if (and (fboundp 'native-comp-available-p)
       (native-comp-available-p))
  (message "Native compilation is available")
(message "Native complation is *not* available"))

emacs -nw -q --batch --eval '(message system-configuration-options)'

--build=x86_64-linux-gnu --prefix=/usr ’--includedir=${prefix}/include’ ’--mandir=${prefix}/share/man’ ’--infodir=${prefix}/share/info’ --sysconfdir=/etc --localstatedir=/var --disable-silent-rules ’--libdir=${prefix}/lib/x86_64-linux-gnu’ ’--libexecdir=${prefix}/lib/x86_64-linux-gnu’ --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.1/site-lisp:/usr/share/emacs/site-lisp --program-suffix=28 --with-modules --with-file-notification=inotify --with-mailutils --with-harfbuzz --with-json --with-x=yes --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes --with-tiff=yes --with-xwidgets ’CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs28-QewFgN/emacs28-28.1~1.git5a223c7f2e=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie’ ’CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2’ ’LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie’
kelleyk commented 2 years ago

Thanks for reporting this! --with-native-compilation has been temporarily disabled until #23 can be resolved; there are details in that issue.

I've also added a note about this to the release notes, which are perhaps what made you expect that --native-compilation would be enabled.

Sorry for the trouble!