* Package: app-editors/emacs-29.0.9999:29-vcs * Repository: gentoo * Maintainer: gnu-emacs@gentoo.org * USE: X abi_x86_64 acl alsa amd64 cairo dbus dynamic-loading elibc_glibc gfile gif gmp gpm gsettings gtk gui harfbuzz inotify jit jpeg json kernel_linux lcms png sound source ssl svg systemd threads tiff userland_GNU xft xpm zlib * FEATURES: compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... * Repository id: emacs.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_EMACS * EGIT_OVERRIDE_BRANCH_EMACS * EGIT_OVERRIDE_COMMIT_EMACS * EGIT_OVERRIDE_COMMIT_DATE_EMACS * * Fetching https://git.savannah.gnu.org/git/emacs.git ... git fetch https://git.savannah.gnu.org/git/emacs.git +refs/heads/master:refs/heads/master remote: Counting objects: 1994, done. remote: Compressing objects: 100% (707/707), done. remote: Total 1994 (delta 1637), reused 1594 (delta 1287) Receiving objects: 100% (1994/1994), 725.58 KiB | 1.93 MiB/s, done. Resolving deltas: 100% (1637/1637), completed with 118 local objects. From https://git.savannah.gnu.org/git/emacs f176a36f46..aeadba1418 master -> master Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. git symbolic-ref refs/git-r3/app-editors/emacs/29-vcs/__main__ refs/heads/master * Checking out https://git.savannah.gnu.org/git/emacs.git to /var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs ... git checkout --quiet master GIT update --> repository: https://git.savannah.gnu.org/git/emacs.git updating from commit: f176a36f4629b56c9fd9e3fc15aebd04a168c4f5 to commit: aeadba1418d8fc18f17b4ae415cde35e9e272e7a admin/notes/tree-sitter/build-module/README | 17 + admin/notes/tree-sitter/build-module/batch.sh | 20 + admin/notes/tree-sitter/build-module/build.sh | 62 +++ admin/notes/tree-sitter/html-manual/Accessing-Node.html | 206 +++++++++ admin/notes/tree-sitter/html-manual/Language-Definitions.html | 402 +++++++++++++++++ admin/notes/tree-sitter/html-manual/Multiple-Languages.html | 328 ++++++++++++++ admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html | 248 +++++++++++ admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html | 281 ++++++++++++ admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html | 126 ++++++ admin/notes/tree-sitter/html-manual/Pattern-Matching.html | 451 +++++++++++++++++++ admin/notes/tree-sitter/html-manual/Retrieving-Node.html | 421 ++++++++++++++++++ admin/notes/tree-sitter/html-manual/Tree_002dsitter-C-API.html | 212 +++++++++ admin/notes/tree-sitter/html-manual/Using-Parser.html | 231 ++++++++++ admin/notes/tree-sitter/html-manual/build-manual.sh | 23 + admin/notes/tree-sitter/html-manual/manual.css | 374 ++++++++++++++++ admin/notes/tree-sitter/starter-guide | 455 +++++++++++++++++++ configure.ac | 83 +++- doc/lispref/Makefile.in | 1 + doc/lispref/elisp.texi | 15 + doc/lispref/modes.texi | 459 +++++++++++++++++++- doc/lispref/parsing.texi | 1886 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/lispref/positions.texi | 16 + etc/NEWS | 39 ++ lisp/cus-theme.el | 16 +- lisp/emacs-lisp/cl-preloaded.el | 3 + lisp/emacs-lisp/lisp.el | 27 +- lisp/font-lock.el | 67 ++- lisp/progmodes/c-ts-mode.el | 553 ++++++++++++++++++++++++ lisp/progmodes/java-ts-mode.el | 321 ++++++++++++++ lisp/progmodes/js.el | 372 +++++++++++++++- lisp/progmodes/json-ts-mode.el | 167 +++++++ lisp/progmodes/python.el | 455 +++++++++++++++++-- lisp/progmodes/sh-script.el | 145 ++++++- lisp/progmodes/ts-mode.el | 316 ++++++++++++++ lisp/term/w32-win.el | 5 +- lisp/textmodes/css-mode.el | 177 +++++++- lisp/treesit.el | 2260 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ msdos/sed1v2.inp | 2 + src/Makefile.in | 9 +- src/alloc.c | 10 + src/buffer.c | 16 + src/buffer.h | 4 + src/casefiddle.c | 12 + src/data.c | 9 + src/emacs.c | 8 +- src/eval.c | 13 + src/insdel.c | 47 +- src/json.c | 16 - src/lisp.h | 29 +- src/lread.c | 8 + src/print.c | 43 ++ src/search.c | 20 +- src/treesit.c | 3076 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/treesit.h | 200 +++++++++ test/src/treesit-tests.el | 535 +++++++++++++++++++++++ 55 files changed, 15185 insertions(+), 112 deletions(-) >>> Source unpacked in /var/tmp/portage/app-editors/emacs-29.0.9999/work >>> Preparing source in /var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs ... * Emacs branch: master * Commit: aeadba1418d8fc18f17b4ae415cde35e9e272e7a * Emacs version number: 29.0.50 * Running eautoreconf in '/var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs' ... * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/app-editors/emacs-29.0.9999/temp/aclocal' ... [ ok ] * Running 'autoconf -I m4 --force' ... [ ok ] * Running 'autoheader -I m4' ... [ ok ] * Running elibtoolize in: emacs/ >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs ... * Configuring to build with GIMP Toolkit (GTK+) * Your version of GTK+ will have problems with closing open * displays. This is no problem if you just use one display, but * if you use more than one and close one of them Emacs may crash. * See and * . * If you intend to use more than one display, then it is strongly * recommended that you compile Emacs with the Athena/Lucid or the * Motif toolkit instead. * econf: updating emacs/config.guess with /usr/share/gnuconfig/config.guess * econf: updating emacs/build-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating emacs/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating emacs/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.9999 --htmldir=/usr/share/doc/emacs-29.0.9999/html --libdir=/usr/lib64 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --with-pdumper --enable-acl --with-dbus --with-modules --without-gameuser --with-libgmp --with-gpm --with-native-compilation=aot --with-json --without-kerberos --without-kerberos5 --with-lcms2 --without-xml2 --without-mailutils --without-selinux --without-sqlite3 --with-gnutls --with-libsystemd --with-threads --without-wide-int --with-sound=alsa --with-zlib --with-x --without-pgtk --without-ns --without-gconf --with-gsettings --without-toolkit-scroll-bars --with-xpm --with-xft --with-cairo --with-harfbuzz --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 --without-xwidgets --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --without-webp --without-imagemagick --with-dumping=pdumper configure: loading site script /usr/share/config.site checking for xcrun... no checking for GNU Make... make checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... (cached) -Werror=implicit-function-declaration checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for linux/fs.h... yes checking for malloc.h... yes checking for sys/systeminfo.h... no checking for sys/sysinfo.h... yes checking for coff.h... no checking for pty.h... yes checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for pwd.h... yes checking for utmp.h... yes checking for util.h... no checking for sanitizer/lsan_interface.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for pthread.h... yes checking for malloc/malloc.h... no checking for sys/un.h... yes checking for vfork.h... no checking for dirent.h... yes checking for execinfo.h... yes checking for stdio_ext.h... yes checking for sys/vfs.h... yes checking for sys/fs_types.h... no checking for getopt.h... yes checking for sys/cdefs.h... yes checking for sys/time.h... yes checking for ieee754.h... yes checking for limits.h... yes checking for sys/select.h... yes checking for stdalign.h... yes checking for stdbool.h... yes checking for sys/random.h... yes checking for stdckdint.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/sbin/grep checking for egrep... /usr/sbin/grep -E checking for Minix Amsterdam compiler... no checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether the compiler is clang... no checking whether C compiler handles -Werror -Wunknown-warning-option... no checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... no checking whether -Wuninitialized is supported... yes checking whether C compiler handles -fno-common... yes checking whether C compiler handles -Wall... yes checking whether C compiler handles -Warith-conversion... yes checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Wduplicated-cond... yes checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Wformat-signedness... yes checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Wnull-dereference... yes checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Wsuggest-attribute=noreturn... yes checking whether C compiler handles -Wsuggest-final-methods... yes checking whether C compiler handles -Wsuggest-final-types... yes checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Wunused-macros... yes checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Warray-bounds=2... yes checking whether C compiler handles -Wattribute-alias=2... yes checking whether C compiler handles -Wformat=2... yes checking whether C compiler handles -Wformat-truncation=2... yes checking whether C compiler handles -Wimplicit-fallthrough=5... yes checking whether C compiler handles -Wshift-overflow=2... yes checking whether C compiler handles -Wuse-after-free=3... yes checking whether C compiler handles -Wvla-larger-than=4031... yes checking whether C compiler handles -Wredundant-decls... yes checking whether C compiler handles -Wno-missing-field-initializers... yes checking whether C compiler handles -Wno-override-init... yes checking whether C compiler handles -Wno-sign-compare... yes checking whether C compiler handles -Wno-type-limits... yes checking whether C compiler handles -Wno-unused-parameter... yes checking whether C compiler handles -Wno-format-nonliteral... yes checking whether C compiler handles -Wno-bidi-chars... yes checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking command to symlink files in the same directory... ln -s checking for install-info... /usr/sbin/install-info checking for gzip... (cached) /usr/sbin/pigz checking for 'find' args to delete a file... -delete checking for brew... no checking for -znocombreloc... not needed checking whether addresses are sanitized... no checking for math library... -lm checking for x86_64-pc-linux-gnu-pkg-config... /usr/sbin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for machine/soundcard.h... no checking for sys/soundcard.h... yes checking for soundcard.h... no checking for mmsystem.h... no checking for alsa >= 1.0.0... yes checking for ADDR_NO_RANDOMIZE... yes checking if Linux sysinfo may be used... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for net/if.h... yes checking for ifaddrs.h... yes checking for net/if_dl.h... no checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_netmask... yes checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes checking for struct ifreq.ifr_addr.sa_len... no checking whether gcc understands -MMD -MF... yes checking for X... libraries , headers checking whether malloc is Doug Lea style... no checking for sbrk... yes checking for getpagesize... yes checking for __lsan_ignore_object... no checking for fork... yes checking for vfork... yes checking for fchmod... yes checking for canonicalize_file_name... yes checking for faccessat... yes checking for realpath... yes checking for lstat... yes checking for readlinkat... yes checking for explicit_bzero... yes checking for memset_s... no checking for fchmodat... yes checking for lchmod... yes checking for fcntl... yes checking for fdopendir... yes checking for fstatat... yes checking for fsync... yes checking for futimens... yes checking for getrandom... yes checking for gettimeofday... yes checking for mkostemp... yes checking for pipe2... yes checking for pselect... yes checking for pthread_sigmask... yes checking for readlink... yes checking for isblank... yes checking for iswctype... yes checking for strtoimax... yes checking for symlink... yes checking for localtime_r... yes checking for timegm... yes checking for utimensat... yes checking for getdtablesize... yes checking for futimes... yes checking for futimesat... yes checking for lutimes... yes checking for working mmap... yes checking for main in -lXbsd... no checking for pthread library... none needed checking for thread support... yes checking whether X on GNU/Linux needs -b to link... no checking for Xkb... yes checking for XkbRefreshKeyboardMapping... yes checking for XkbFreeNames... yes checking for XrmSetDatabase... yes checking for XScreenResourceString... yes checking for XScreenNumberOfScreen... yes checking for XDisplayCells... yes checking for XDestroySubwindows... yes checking X11 version 6... 6 or newer checking for XICCallback.callback... yes checking for librsvg-2.0 >= 2.14.0... yes checking for getaddrinfo_a in -lanl... yes checking for gtk+-3.0 >= 3.10 glib-2.0 >= 2.37.5... yes checking whether GTK compiles... yes configure: WARNING: Your version of Gtk+ will have problems with closing open displays. This is no problem if you just use one display, but if you use more than one and close one of them Emacs may crash. See https://gitlab.gnome.org/GNOME/gtk/issues/221 checking for malloc_trim... yes checking for dbus-1 >= 1.0... yes checking for dbus_watch_get_unix_fd... yes checking for dbus_type_is_valid... yes checking for dbus_validate_bus_name... yes checking for dbus_validate_path... yes checking for dbus_validate_interface... yes checking for dbus_validate_member... yes checking for gio-2.0 >= 2.26... yes checking whether GSettings is in gio... yes checking for gobject-2.0 >= 2.0... yes checking for gnutls >= 2.12.2... yes checking for libsystemd >= 222... yes checking for jansson >= 2.7... yes checking for tree-sitter >= 0.20.2... no checking for tree-sitter >= 0.6.3... yes checking for ts_set_allocator... yes ./configure: 16142: test: yes: unexpected operator configure: error: Tree-sitter library exists but its version is too old !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs/config.log * ERROR: app-editors/emacs-29.0.9999::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 122: Called src_configure * environment, line 2859: Called econf '--program-suffix=-emacs-29-vcs' '--includedir=/usr/include/emacs-29-vcs' '--infodir=/usr/share/info/emacs-29-vcs' '--localstatedir=/var' '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp' '--without-compress-install' '--without-hesiod' '--without-pop' '--with-file-notification=inotify' '--with-pdumper' '--enable-acl' '--with-dbus' '--with-modules' '--without-gameuser' '--with-libgmp' '--with-gpm' '--with-native-compilation=aot' '--with-json' '--without-kerberos' '--without-kerberos5' '--with-lcms2' '--without-xml2' '--without-mailutils' '--without-selinux' '--without-sqlite3' '--with-gnutls' '--with-libsystemd' '--with-threads' '--without-wide-int' '--with-sound=alsa' '--with-zlib' '--with-x' '--without-pgtk' '--without-ns' '--without-gconf' '--with-gsettings' '--without-toolkit-scroll-bars' '--with-xpm' '--with-xft' '--with-cairo' '--with-harfbuzz' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk3' '--without-xwidgets' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--without-webp' '--without-imagemagick' '--with-dumping=pdumper' * phase-helpers.sh, line 730: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=app-editors/emacs-29.0.9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-editors/emacs-29.0.9999::gentoo'`. * The complete build log is located at '/var/log/portage/build/app-editors/emacs-29.0.9999:20221121-215044.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-editors/emacs-29.0.9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-editors/emacs-29.0.9999/temp/environment'. * Working directory: '/var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs' * S: '/var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs'