[Bug 294145] editors/emacs fails to build after update of tree-sitter to 0.26.7

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Mar 2026 17:06:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294145

            Bug ID: 294145
           Summary: editors/emacs fails to build after update of
                    tree-sitter to 0.26.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: emacs@FreeBSD.org
          Reporter: rkoberman@gmail.com
             Flags: maintainer-feedback?(emacs@FreeBSD.org)
          Assignee: emacs@FreeBSD.org

After the update of devel/tree-sitter to 0.26.7, emacs requires re-linking, but
the attempt to rebuild fails with:
rm -f ../etc/DOC
../lib-src/make-docfile -d . \
  dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o
image.o fontset.o dbusbind.o cygw32.o nsterm.o nsfns.o nsmenu.o nsselect.o
nsimage.o nsfont.o macfont.o nsxwidget.o w32.o w32console.o w32cygwinx.o
w32fns.o w32heap.o w32inevt.o w32notify.o w32menu.o w32proc.o w32reg.o
w32select.o w32term.o w32xfns.o w16select.o widget.o xfont.o ftfont.o xftfont.o
gtkutil.o xsettings.o xgselect.o termcap.o hbfont.o haikuterm.o haikufns.o
haikumenu.o haikufont.o androidterm.o androidfns.o androidfont.o
androidselect.c androidvfs.c sfntfont-android.c sfntfont.c dispnew.o frame.o
scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o
character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o
xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o  dbusbind.o emacs.o keyboard.o
macros.o keymap.o sysdep.o bignum.o buffer.o filelock.o insdel.o marker.o
minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o
regex-emacs.o undo.o alloc.o pdumper.o data.o doc.o editfns.o callint.o eval.o
floatfns.o fns.o sort.o font.o print.o lread.o emacs-module.o syntax.o 
bytecode.o comp.o dynlib.o process.o gnutls.o callproc.o region-cache.o sound.o
timefns.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o lcms.o
kqueue.o  profiler.o decompress.o thread.o systhread.o sqlite.o  treesit.o
itree.o json.o      xfont.o ftfont.o xftfont.o hbfont.o  fontset.o fringe.o
image.o textconv.o xgselect.o     > ../etc/DOC
ld: error: undefined symbol: ts_language_version
>>> referenced by treesit.c
>>>               treesit.o:(treesit_load_language)
>>> referenced by treesit.c
>>>               treesit.o:(Ftreesit_language_abi_version)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:745: temacs] Error 1
gmake[2]: Leaving directory '/usr/ports/editors/emacs/work-full/emacs-30.2/src'
gmake[1]: *** [Makefile:554: src] Error 2
gmake[1]: Leaving directory '/usr/ports/editors/emacs/work-full/emacs-30.2'
gmake[1]: Entering directory '/usr/ports/editors/emacs/work-full/emacs-30.2'
***

Looks like emacs needs tio be updated for the new version.

-- 
You are receiving this mail because:
You are the assignee for the bug.