Hi!
My name is Gustav Gonzalez, and I am the developer of the TupiTube project.
I want to contact the Debian maintainers of my project package. If you are one of them or could contact me with one of them, I really appreciate it.
Thanks!
From: "Petter Reinholdtsen" <pere@hungry.com>
Sent: 4/3/25 3:36 AM
To: Lucas Nussbaum <lucas@debian.org>, 1094073@bugs.debian.org
Subject: Bug#1094073: tupi: FTBFS: make[2]: *** No targets specified and no makefile found. Stop.
Control: tags -1 + patch
I asked on #debian-ruby, and was told that File.exists? was removed in
ruby 3.2, and that File.exist? should be used instead.
The following patch got the package building again:
--- tupi-0.2+git08.orig/configure.rb
+++ tupi-0.2+git08/configure.rb
@@ -180,7 +180,7 @@ _EOH_
config.addDefine('REVISION=\\\\\"git08\\\\\"')
config.addDefine('CONFIG_VERSION=\\\\\"2\\\\\"')
- if File.exists?('/etc/canaima_version')
+ if File.exist?('/etc/canaima_version')
config.addDefine("CANAIMA")
end
@@ -197,7 +197,7 @@ _EOH_
for item in array
name = item.split("\/")
file = item + "\/" + name[1]
- if FileTest.exists?(file)
+ if FileTest.exist?(file)
File.delete(file)
end
end
--- tupi-0.2+git08.orig/qonf/test.rb
+++ tupi-0.2+git08/qonf/test.rb
@@ -74,7 +74,7 @@ class Test
cwd = Dir.getwd
- if File.exists?(dir)
+ if File.exist?(dir)
if File.stat(dir).directory?
Dir.chdir(dir)
I guess the build dependencies need to be updated too to reflect the
need for a newer ruby version.
--
Happy hacking
Petter Reinholdtsen