Your message dated Fri, 14 Feb 2025 09:52:54 +0000
with message-id <[email protected]>
and subject line Bug#1093819: fixed in vim-command-t 5.0.5-2
has caused the Debian Bug report #1093819,
regarding vim-command-t: FTBFS with ruby3.3
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.)


-- 
1093819: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093819
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: vim-command-t
Version: 5.0.5-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: ruby3.3

Dear Maintainer,

vim-command-t is FTBFSing with ruby3.3 which will become the default
ruby version for Trixie. The transition to make it the default will
start in unstable soon (ruby-defaults/1:3.3~0 is already in experimental
for testing). This is the build log:

https://ruby-builds.debian.net/ruby3.3/21/vim-command-t/vim-command-t_5.0.5-1+rebuild1737418345_amd64-2025-01-21T00:12:26Z.build

I have 2 patches that will make vim-command-t support ruby3.3, those are
attached.

Please, consider importing them and uploading a new version.

TIA!

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.9-amd64 (SMP w/8 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

--
Lucas Kanashiro
From aab4f362f14c1ded963840ee26eee40d7bc902f2 Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <[email protected]>
Date: Wed, 22 Jan 2025 18:31:15 -0300
Subject: [PATCH 1/2] d/p/0004-Replace-File.exists-with-File.exist.patch: fix
 FTBFS with ruby3.3

---
 ...-Replace-File.exists-with-File.exist.patch | 22 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 debian/patches/0004-Replace-File.exists-with-File.exist.patch

diff --git a/debian/patches/0004-Replace-File.exists-with-File.exist.patch b/debian/patches/0004-Replace-File.exists-with-File.exist.patch
new file mode 100644
index 0000000..1bbb37d
--- /dev/null
+++ b/debian/patches/0004-Replace-File.exists-with-File.exist.patch
@@ -0,0 +1,22 @@
+From: Lucas Kanashiro <[email protected]>
+Date: Wed, 22 Jan 2025 18:30:20 -0300
+Subject: Replace File.exists? with File.exist?
+
+Forward: no
+---
+ Rakefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Rakefile b/Rakefile
+index ad88d3f..b81b612 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -70,7 +70,7 @@ end
+ desc 'Clean compiled products'
+ task :clean do
+   Dir.chdir 'ruby/command-t/ext/command-t' do
+-    system 'make clean' if File.exists?('Makefile')
++    system 'make clean' if File.exist?('Makefile')
+     system 'rm -f Makefile'
+   end
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 15ea45a..80555f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 make-verbose.patch
 link-as-needed.patch
 relax-ruby-version-check
+0004-Replace-File.exists-with-File.exist.patch
-- 
2.45.2

From 2ba1c93996896ab54f49e4427109218ea84cdbad Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <[email protected]>
Date: Wed, 22 Jan 2025 18:42:31 -0300
Subject: [PATCH 2/2] d/p/0005-Use-Integer-instead-of-Fixnum.patch: fix some
 test failures

---
 .../0005-Use-Integer-instead-of-Fixnum.patch  | 24 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 debian/patches/0005-Use-Integer-instead-of-Fixnum.patch

diff --git a/debian/patches/0005-Use-Integer-instead-of-Fixnum.patch b/debian/patches/0005-Use-Integer-instead-of-Fixnum.patch
new file mode 100644
index 0000000..d3f0972
--- /dev/null
+++ b/debian/patches/0005-Use-Integer-instead-of-Fixnum.patch
@@ -0,0 +1,24 @@
+From: Lucas Kanashiro <[email protected]>
+Date: Wed, 22 Jan 2025 18:41:15 -0300
+Subject: Use Integer instead of Fixnum
+
+In latest ruby version Fixnum was merged into Integer.
+
+Forwarded: no
+---
+ spec/command-t/watchman/utils_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/command-t/watchman/utils_spec.rb b/spec/command-t/watchman/utils_spec.rb
+index 94fd3eb..1de7e82 100644
+--- a/spec/command-t/watchman/utils_spec.rb
++++ b/spec/command-t/watchman/utils_spec.rb
+@@ -14,7 +14,7 @@ describe CommandT::Watchman::Utils do
+ 
+   def little_endian?
+     byte = [0xff00].pack('s')[0]
+-    if byte.is_a?(Fixnum) # ie. Ruby 1.8
++    if byte.is_a?(Integer) # ie. Ruby 1.8
+       byte.zero?
+     elsif byte.is_a?(String) # ie. Ruby >= 1.9
+       byte == "\x00"
diff --git a/debian/patches/series b/debian/patches/series
index 80555f4..34c95f9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ make-verbose.patch
 link-as-needed.patch
 relax-ruby-version-check
 0004-Replace-File.exists-with-File.exist.patch
+0005-Use-Integer-instead-of-Fixnum.patch
-- 
2.45.2


--- End Message ---
--- Begin Message ---
Source: vim-command-t
Source-Version: 5.0.5-2
Done: Sam Morris <[email protected]>

We believe that the bug you reported is fixed in the latest version of
vim-command-t, 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.
Sam Morris <[email protected]> (supplier of updated vim-command-t 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: Thu, 13 Feb 2025 17:22:01 +0000
Source: vim-command-t
Architecture: source
Version: 5.0.5-2
Distribution: unstable
Urgency: medium
Maintainer: Sam Morris <[email protected]>
Changed-By: Sam Morris <[email protected]>
Closes: 1093819
Changes:
 vim-command-t (5.0.5-2) unstable; urgency=medium
 .
   * Use git to restore Gemfile.lock when cleaning the source tree
   * Import patches for ruby 3.3 compatibility.
     Thanks to <Lucas Kanashiro <[email protected]> (Closes: #1093819)
Checksums-Sha1:
 bb9847873f05d884cdffac6cbd0a7ef90b15a0d9 1932 vim-command-t_5.0.5-2.dsc
 843bcffbf63bfe465e3980ac9cb9e44843582689 8128 
vim-command-t_5.0.5-2.debian.tar.xz
 937af2f01d8d7e99773e5e968e676da37fd0c202 6991 
vim-command-t_5.0.5-2_amd64.buildinfo
Checksums-Sha256:
 951f83539f01650afbe4904b5d75414b3ffdc2e0095c24d6b690277db7300da7 1932 
vim-command-t_5.0.5-2.dsc
 ee26be3c46f1264596090e0bbb427bba48ce62860a228c476db57565e5790997 8128 
vim-command-t_5.0.5-2.debian.tar.xz
 7afe23d504456ace471f533a5665b91b8917a40a1ae088b1aced726ab9af76ad 6991 
vim-command-t_5.0.5-2_amd64.buildinfo
Files:
 c4ff0ded8a7866ba185c817dfb0d9f3f 1932 editors optional 
vim-command-t_5.0.5-2.dsc
 306419b588a7ed91d2d023fd6d6b5758 8128 editors optional 
vim-command-t_5.0.5-2.debian.tar.xz
 b0521192c0e60571ee37dd6fae4de9f2 6991 editors optional 
vim-command-t_5.0.5-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmevB40ACgkQAiFmwP88
hOOXAw//Zk6SVxPW9PP/oFQBc6UeddOigz8Hmzj6SV9YLOAMxX98yfwcORq5XixJ
hEvDr++vNuLFHe7eJeBQQj2+bV7DVfv3AceeIMTvliikmcs9Pg2F+ThempJfxDKJ
KREAXvqEPfygP/9FA/x0bZ/HjU7v6D3m5RqJlrB9sgLdYb8V+5vIDTychh30HOEh
zlwl7YuJpxRO2NWDcEJGrTKjEVZSnMbo0ufDc2UTFspOlz0+vsJh5TPyEsjdCd2Z
Lenihc1m0W42ppGIHsyjX6khH4qyz7c7mLJlRXHOVQ0u8zyui0F3DN3YiCsDOtP1
4eBZJHUMcoYjO5FVzWuyz4ttGYCNq8EZyL78j6z0xPL6Dz8t12l3tXQVBm9Xfq5S
l/DwaZ1GKu/O9fXb+bPOOsRLynOaEZQdsuuCHZlScGPTNm6Lv03Be/Fes7fnNeVD
AudfQmqniEv+GN7SqPm5CBlaLfUqEDTd4Wplair9XZOYLMgWHAMZWQtSpeVpLhx/
buvo9MstDJ3faa5EEhF05XgiJhohkmzngN/OCfYovWlWhs29tODWZqLSjOO0uBme
SaGMdJyAxMsug5Crtp2eHIEGH9lUAMGjcPKLzZwoeekv3jqN4zk7r3AkVYs+GFw4
AIhi43iGfd6W2IJVcz+MGBLx9cVm2zYfTFzKUALr4E+t7DLcxS4=
=i4H+
-----END PGP SIGNATURE-----

Attachment: pgpBJggk6pFhE.pgp
Description: PGP signature


--- End Message ---

Reply via email to