checking for inotify_init1... yes checking for library containing inflateEnd... -lz checking for gcc_jit_context_acquire in -lgccjit... yes checking for libgccjit.h... no configure: error: ELisp native compiler was requested, but libgccjit header files were not found. Please try installing libgccjit-dev or a similar package. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20221003-104152 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit d3c6af033927955cf7a9983fabc04e44d029f85b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 3 13:17:04 2022 +0000 2022-10-03 13:17:03 UTC emerge -qpvO app-editors/emacs [ebuild N ] app-editors/emacs-28.2 USE="acl gmp inotify jit png ssl threads xpm zlib -Xaw3d -alsa (-aqua) -athena -cairo -dbus -dynamic-loading -games -gfile -gif -gpm -gsettings -gtk -gui -gzip-el -harfbuzz -imagemagick -jpeg -json -kerberos -lcms -libxml2 -livecd -m17n-lib -mailutils -motif (-selinux) -sound -source -svg -systemd -tiff -toolkit-scroll-bars -wide-int -xft -xwidgets"
Created attachment 817738 [details] emerge-info.txt
Created attachment 817741 [details] app-editors:emacs-28.2:20221003-134344.log
Created attachment 817744 [details] emerge-history.txt
Created attachment 817747 [details] environment
Created attachment 817750 [details] etc.portage.tar.bz2
Created attachment 817753 [details] logs.tar.bz2
Created attachment 817756 [details] temp.tar.bz2
still reproducible with latest versions
> checking for x86_64-pc-linux-gnu-gcc... clang looks like it's a problem with clang, build success w/ gcc.
had been discussed at https://forums.gentoo.org/viewtopic-p-8738735.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ec58022ff2e8134a72e33b3f0644c20dc19ceb commit 46ec58022ff2e8134a72e33b3f0644c20dc19ceb Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2024-12-14 12:13:40 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-12-27 18:09:37 +0000 app-editors/emacs: must be built with gcc[jit] if USE=jit Clang does not provide an analogue of libgccjit, see discussions at https://forums.gentoo.org/viewtopic-p-8738735.html Closes: https://bugs.gentoo.org/874657 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/emacs-28.2-r15.ebuild | 6 ++++++ app-editors/emacs/emacs-29.4-r1.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.91.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.92.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.93.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.9999-r1.ebuild | 6 ++++++ app-editors/emacs/emacs-31.0.9999.ebuild | 6 ++++++ 7 files changed, 42 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df63f3196c3a873fcc8bd42016a55a630cf1a45 commit 1df63f3196c3a873fcc8bd42016a55a630cf1a45 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-12-28 18:35:52 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-12-28 19:45:35 +0000 app-editors/emacs: Force gcc for jit native compilation Bug: https://bugs.gentoo.org/874657 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/emacs-28.2-r15.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-29.4-r1.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-30.0.91.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-30.0.92.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-30.0.93.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-30.0.9999-r1.ebuild | 20 ++++++++++++-------- app-editors/emacs/emacs-31.0.9999.ebuild | 20 ++++++++++++-------- 7 files changed, 84 insertions(+), 56 deletions(-)