Public bug reported:

diaspora-installer/0.7.18.2+debian4 do not support ruby 3.2. Initially
we have an issue with the configurate gem native extension build, which
can be seen in the autopkgtest log:

https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
noble/noble/amd64/d/diaspora-installer/20240225_030752_2176a@/log.gz

After talking to the Debian maintainer, we noticed that we could patch
the upstream Gemfile to use the newer version of configurate. The patch
below fixed that issue:

diff --git a/debian/ruby3.patch b/debian/ruby3.patch
index 469be89..f469d33 100644
--- a/debian/ruby3.patch
+++ b/debian/ruby3.patch
@@ -121,7 +121,8 @@
 @@ -142,7 +193,7 @@
      coderay (1.1.3)
      concurrent-ruby (1.1.10)
-     configurate (0.5.0)
+-    configurate (0.5.0)
++    configurate (0.6.0)
 -    connection_pool (2.2.5)
 +    connection_pool (2.4.1)
      crack (0.4.5)

However, another issue popped up after that, now because railties
6.1.6.1 does not support ruby 3.2, autopkgtest log pasted here:

https://paste.ubuntu.com/p/2Szv3sGJv8/

railties is a key gem for rails, rails et al version 7 seems to support
ruby 3.2 but the version used but diaspora not. I checked diaspora
develop upstream branch and they are still using rails 6:

https://github.com/diaspora/diaspora/blob/develop/Gemfile#L5

So upstream does not support the newer rails version which fixed the
issue presented above.

Due to that, I request the removal of the source and binary packages of
diaspora-installer from Noble. As expected, it has not reverse
dependency:

$ reverse-depends -r noble src:diaspora-installer
No reverse dependencies found
$ reverse-depends -r noble src:diaspora-installer -a source
No reverse dependencies found

** Affects: diaspora-installer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055217

Title:
  Do not support ruby 3.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/diaspora-installer/+bug/2055217/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to