• Bug#1094073: tupi: FTBFS: make[2]: *** No targets specified and no make

    From Petter Reinholdtsen@21:1/5 to All on Thu Apr 3 10:10:01 2025
    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

    --- Soup
  • From Gustav Gonzalez@21:1/5 to All on Sun Apr 13 02:40:01 2025
    This is a multipart message in MIME format.

    --2ca02052ba2847eb8b16498fe976cbdc
    Content-Type: text/plain;
    charset="utf-8"
    Content-Transfer-Encoding: quoted-printable

    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!

    --
    Gustav Gonzalez
    Chief Executive Officer
    info@maefloresta.com
    +57 316 326 4783

    Maefloresta Co.
    http://www.maefloresta.com
    ---
    Follow us on:
    twitter.com/tupitube
    facebook.com/tupitube
    instagram.com/tupitube
    youtube.com/tupitube

    ----------------------------------------
    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]
    -