Source: emacs
Version: 1:30.2+1-3
Severity: normal
Tags: ftbfs upstream

A tree-sitter 0.26 transition is staged in experimental. Emacs currently
fails to build against that version.

/build/package/package/debian/build-src/src/treesit.c: In function 
‘treesit_load_language’:
/build/package/package/debian/build-src/src/treesit.c:749:42: error: implicit 
declaration of function ‘ts_language_version’; did you mean 
‘ts_language_abi_version’? [-Wimplicit-function-declaration]
  749 |                             make_fixnum (ts_language_version (lang)));
      |                                          ^~~~~~~~~~~~~~~~~~~
      |                                          ts_language_abi_version

Upstream has a patch[0] to address the build failure, but it doesn't
apply cleanly against the current Debian package.

[0]: 
https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/src/treesit.c?id=d587ce8c65a0e22ab0a63ef2873a3dfcfbeba166

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to