Your message dated Mon, 15 Jun 2026 08:33:43 +0000
with message-id <[email protected]>
and subject line Bug#1140038: fixed in turtlefmt 0.1.2-10
has caused the Debian Bug report #1140038,
regarding turtlefmt: FTBFS against tree-sitter 0.26
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1140038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140038
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: turtlefmt
Version: 0.1.2-9
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
With tree-sitter 0.26 uploaded to unstable, turtlefmt fails to build.
generate_parser_in_directory() had its signature changed in 0.26, so
2002_tree-sitter.patch needs to be updated.
Attached patch got the package to build, but I haven't tested anything
further than that.
-- 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.12+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
diffstat for turtlefmt-0.1.2 turtlefmt-0.1.2
changelog | 7 +++++++
control | 4 ++--
patches/2002_tree-sitter.patch | 15 ++++++++++++---
3 files changed, 21 insertions(+), 5 deletions(-)
diff -Nru turtlefmt-0.1.2/debian/changelog turtlefmt-0.1.2/debian/changelog
--- turtlefmt-0.1.2/debian/changelog 2025-10-14 08:15:13.000000000 -0400
+++ turtlefmt-0.1.2/debian/changelog 2026-06-14 20:17:59.000000000 -0400
@@ -1,3 +1,10 @@
+turtlefmt (0.1.2-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ *
+
+ -- James McCoy <[email protected]> Sun, 14 Jun 2026 20:17:59 -0400
+
turtlefmt (0.1.2-9) unstable; urgency=medium
* rewrite patch 2002_tree-sitter to use newer minor version
diff -Nru turtlefmt-0.1.2/debian/control turtlefmt-0.1.2/debian/control
--- turtlefmt-0.1.2/debian/control 2025-10-14 08:13:31.000000000 -0400
+++ turtlefmt-0.1.2/debian/control 2026-06-14 20:17:42.000000000 -0400
@@ -14,8 +14,8 @@
librust-oxrdf-0.3+default-dev,
librust-oxttl-0.2+default-dev,
librust-reqwest-0.12+blocking-dev,
- librust-tree-sitter-0.25+default-dev,
- librust-tree-sitter-generate-0.25+default-dev,
+ librust-tree-sitter-0.26+default-dev,
+ librust-tree-sitter-generate-0.26+default-dev,
libstd-rust-dev,
nodejs,
rustc (>= 1.87),
diff -Nru turtlefmt-0.1.2/debian/patches/2002_tree-sitter.patch
turtlefmt-0.1.2/debian/patches/2002_tree-sitter.patch
--- turtlefmt-0.1.2/debian/patches/2002_tree-sitter.patch 2025-10-14
08:12:32.000000000 -0400
+++ turtlefmt-0.1.2/debian/patches/2002_tree-sitter.patch 2026-06-14
20:17:59.000000000 -0400
@@ -11,7 +11,7 @@
anyhow = "1.0.86"
clap = { version = "4.5.16", features = ["derive"] }
-tree-sitter = "0.24.6"
-+tree-sitter = ">= 0.24.6, <= 0.25"
++tree-sitter = "0.26"
[dev-dependencies]
oxrdf = ">= 0.2.0, <= 0.3"
@@ -20,15 +20,24 @@
[build-dependencies]
cc = "1.1.15"
-tree-sitter-generate = "0.24.6"
-+tree-sitter-generate = ">= 0.24.6, <= 0.25"
++tree-sitter-generate = { version = "0.26", features = ["load"] }
--- a/build.rs
+++ b/build.rs
+@@ -13,7 +13,7 @@
+ limitations under the License.
+ */
+
+-use std::path::Path;
++use std::path::{Path,PathBuf};
+ use std::{env, fs};
+
+ fn main() {
@@ -32,7 +32,7 @@
.unwrap();
// We convert the TreeSitter grammar to C
- tree_sitter_generate::generate_parser_in_directory(&build_path, None, 14,
None, None).unwrap();
-+ tree_sitter_generate::generate_parser_in_directory(&build_path, None,
None, 14, None, None).unwrap();
++ tree_sitter_generate::generate_parser_in_directory(&build_path,
None::<PathBuf>, None::<PathBuf>, 14, None, None, true,
tree_sitter_generate::OptLevel::default()).unwrap();
// We build the C code
let src_path = build_path.join("src");
--- End Message ---
--- Begin Message ---
Source: turtlefmt
Source-Version: 0.1.2-10
Done: Jonas Smedegaard <[email protected]>
We believe that the bug you reported is fixed in the latest version of
turtlefmt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated turtlefmt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 15 Jun 2026 09:58:13 +0200
Source: turtlefmt
Architecture: source
Version: 0.1.2-10
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1140038
Changes:
turtlefmt (0.1.2-10) unstable; urgency=medium
.
* relax (build-, autopkgtest-)dependencies for all crates
* add patch 1001_reqwest
to accept newer minor version of crate reqwest
* update patch 2002_diffy to use diffy-imara
(not just skip emitting a unified diff);
build-depend on package for crate diffy-imara
* update patch 2002_tree-sitter
to use newer minor versions of involved crates;
closes: bug#1140038, thanks to James McCoy
* reorganize patch naming and numbering
* update copyright info:
+ avoid any .git* files when repackaging upstream source
+ license patches same as main upstream license
+ update coverage
* update git-buildpackage config:
+ stop superfluously filter out .git* files
* add watch file, setting Repack-Suffix: +ds
* stop superfluously set fields Rules-Requires-Root Priority
* declare compliance with Debian Policy 4.7.4
* use debhelper compatibility level 14 (not 13)
Checksums-Sha1:
7b1357799998982609bf41cdd5a2a854ac0dc21e 2125 turtlefmt_0.1.2-10.dsc
58fb7f1750f96a673cfc10aa06b75442965e557b 5324 turtlefmt_0.1.2-10.debian.tar.xz
99e9ea4188f0688b0603ac3364718a55c5ae1005 26816
turtlefmt_0.1.2-10_amd64.buildinfo
Checksums-Sha256:
a7d749277a4440ff04b6ebf14d5403efb50da7689db8707fde9bf87c78e89cba 2125
turtlefmt_0.1.2-10.dsc
4b751b0b840bb1d09dc98494ddb8916870b047dd5da7c1a1a40a9a221961b745 5324
turtlefmt_0.1.2-10.debian.tar.xz
03473476f89fb315b9913a3554d44f92edbe9b5b463c07c889f8924a59ecfd51 26816
turtlefmt_0.1.2-10_amd64.buildinfo
Files:
fe1677e454f6ad5f5e05c04d8ee03066 2125 rust optional turtlefmt_0.1.2-10.dsc
6baceaeb9c03b230909b96f792701074 5324 rust optional
turtlefmt_0.1.2-10.debian.tar.xz
a51835055f7ddf0715eecaed8f3c1fef 26816 rust optional
turtlefmt_0.1.2-10_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmovsYwMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEh8XcP/39o4yaFuxQ1Ak3tY8ecIdf8u9uoWum5oc501EVE
NVLAmWEOe1SlrOIcGXnwjBm5ERfPuhdCEmCCekz2Iif9pXPKxUg6K84D4R+9Fmum
F0W4hP6M8Na33lkfRP1MqeXyu005AfbgPwHT3v7zNTeAtPa9uevkeBtww4uGXJFo
2g/Ej9MtbSqaGfG/4ZymLxXexP4gVMEtpogJmkDLwmXKACRTK/WLTwj7IpRoYDQ8
+MCeSkws075+syg/r31vf5OLIBx4Z5/jDNLanDuMAroTjhg/AUL88ztQb4/BgDew
PnnFJU3sXwjLIv013VLoaVNnDQX6Iy608EjXGugayhYN2rF4r+Z9ZNbJUiTlhOlK
/0SIi6WEJdrsakZmh4gWL9+pXP4TOcXPe74N34cZP8ztNXre95wD1Izt0dUZFoP3
9GKz8ohjS8Kp+yKSthr4P/1edhkwDngHFJ6ptZt4bxc/Gvcxa8Qjy9wYmg8CIIBZ
ASrsKWRvmWFFQ0sYqPz43oERMek1yZrkX4VH9DkSiLSbYfwXl6bEto/vDuidVQyY
sR6cZtzjsEjZ+WyW02aXsD8lCdlYtyxN3l9JWP3jxrQLiWKhzYv+SanS7kaKjB0V
sgERYh9SJxJbhYaFcD1r3pUQrFf5uWBtdGjf8GnZN8H4EpO2k4EXJjOQj+H+mVjg
iyRg
=VkMD
-----END PGP SIGNATURE-----
pgpp2NaZ1noHm.pgp
Description: PGP signature
--- End Message ---