Your message dated Sat, 13 Jan 2024 16:34:07 +0000
with message-id <[email protected]>
and subject line Bug#1006547: fixed in diaspora-installer 0.7.18.2+debian
has caused the Debian Bug report #1006547,
regarding diaspora-installer: incompatible with ruby3.0
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.)
--
1006547: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006547
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: diaspora-installer
Version: 0.7.15.0+debian1
Severity: serious
Tags: upstream
Justification: makes the package unsuitable
After ruby-defaults switched to ruby3.0 as default, diaspora-installer
started failing its autopkgtest. The failure looks like this:
----------------8<----------------8<----------------8<-----------------
Installing gems with rubygems ...
[DEPRECATED] The `--frozen` flag is deprecated because it relies on being
remembered across bundler invocations, which bundler will no longer do in
future versions. Instead please use `bundle config set --local frozen 'true'`,
and stop using this flag
[DEPRECATED] The `--path` flag is deprecated because it relies on being
remembered across bundler invocations, which bundler will no longer do in
future versions. Instead please use `bundle config set --local path
'vendor/bundle'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being
remembered across bundler invocations, which bundler will no longer do in
future versions. Instead please use `bundle config set --local without
'development test'`, and stop using this flag
[DEPRECATED] The `--with` flag is deprecated because it relies on being
remembered across bundler invocations, which bundler will no longer do in
future versions. Instead please use `bundle config set --local with
'postgresql'`, and stop using this flag
[DEPRECATED] Your lockfile contains a single rubygems source section with
multiple remotes, which is insecure. Make sure you run `bundle install` in non
frozen mode and commit the result to make your lockfile secure.
Fetching gem metadata from https://gems.diasporafoundation.org/..
Fetching gem metadata from https://rubygems.org/.......
Your bundle is locked to diaspora_federation-rails (0.2.6) from rubygems
repository https://gems.diasporafoundation.org/, https://rubygems.org/ or
installed locally, but that version can no longer be found in that source. That
means the author of diaspora_federation-rails (0.2.6) has removed it. You'll
need to update your bundle to a version other than diaspora_federation-rails
(0.2.6) that hasn't been removed in order to install.
dpkg: error processing package diaspora-installer (--configure):
installed diaspora-installer package post-installation script subprocess
returned error exit status 7
dpkg: dependency problems prevent configuration of autopkgtest-satdep:
autopkgtest-satdep depends on diaspora-installer; however:
Package diaspora-installer is not configured yet.
----------------8<----------------8<----------------8<-----------------
I went to investigate inside a testbed, by copy the diaspora source that
was downloaded into /tmp, and running `bundle` by hand from there. Then
I get this:
----------------8<----------------8<----------------8<-----------------
diaspora@autopkgtest-lxc-kiettk:/$ cp -r
/var/cache/diaspora-installer/diaspora-0.7.15.0 /tmp/d
diaspora@autopkgtest-lxc-kiettk:/$ cd /tmp/d
diaspora@autopkgtest-lxc-kiettk:/tmp/d$ bundle
Bundler 2.3.5 is running, but your lockfile was generated with 1.17.3.
Installing Bundler 1.17.3 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 1.17.3
Installing bundler 1.17.3
/tmp/d/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:29:
warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
[ this warning repeated *a lot* of times ]
Fetching gem metadata from https://gems.diasporafoundation.org/..
Fetching gem metadata from
https://rubygems.org/./tmp/d/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118:
warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/tmp/d/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118:
warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
[ this warning repeated *a lot* of times ]
Fetching gem metadata from https://gems.diasporafoundation.org/..
diaspora_federation-0.2.6 requires ruby version ~> 2.1, which is incompatible
with the current version,
ruby 3.0.2p107
----------------8<----------------8<----------------8<-----------------
I went looking into github, and saw that there were a new release of diaspora,
0.7.16.0, that pulled diaspora_federation 0.2.7. I though that could resolve
the issue, and tried to update like this:
----------------8<----------------8<----------------8<-----------------
commit 051a42d95d25087e32f225e0ed4c264ccd4d4923
Author: Antonio Terceiro <[email protected]>
Date: Sun Feb 27 09:20:04 2022 -0300
Update diaspora to 0.7.16.0 for compatibility with ruby3.0+
diff --git a/debian/changelog b/debian/changelog
index 06a7254..f652f44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+diaspora-installer (0.7.16.0+debian1) experimental; urgency=medium
+
+ * Team upload.
+ * Update diaspora to 0.7.16.0 for compatibility with ruby3.0+
+
+ -- Antonio Terceiro <[email protected]> Sun, 27 Feb 2022 09:19:49 -0300
+
diaspora-installer (0.7.15.0+debian6) experimental; urgency=medium
* Add set -e for better error handling and check for BUNDLE_WITH instead of
diff --git a/diaspora-common.conf b/diaspora-common.conf
index 2c2696e..667c958 100644
--- a/diaspora-common.conf
+++ b/diaspora-common.conf
@@ -1,5 +1,5 @@
# If diaspora_version is changed, update sha256sums as well
-export diaspora_version=0.7.15.0
+export diaspora_version=0.7.16.0
# possible values branch, tag
export diaspora_release_type=tag
export github_archive_url=https://github.com/diaspora/diaspora/archive
diff --git a/sha256sums b/sha256sums
index e6a9a1e..269f464 100644
--- a/sha256sums
+++ b/sha256sums
@@ -1 +1 @@
-2f3a1c2e8ebcceced0bfdbdb03a05557d7c37cdceb844327f968c5afc11c756a
/var/cache/diaspora-installer/diaspora-0.7.15.0.tar.gz
+1df6b271c6488c7cf5ac78197af6f7e87d5eda1c4f80be0199db0dba5f91b211
/var/cache/diaspora-installer/diaspora-0.7.16.0.tar.gz
----------------8<----------------8<----------------8<-----------------
But it then fails in the same way.
I reported an issue on diaspora_federation:
https://github.com/diaspora/diaspora_federation/issues/123
Given this is the very last blocker to finish the transition to ruby3.0,
I will ask the RT to remove diaspora-installer from testing so that the
transition can complete.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (500,
'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8),
LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: diaspora-installer
Source-Version: 0.7.18.2+debian
Done: Ananthu C V <[email protected]>
We believe that the bug you reported is fixed in the latest version of
diaspora-installer, 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.
Ananthu C V <[email protected]> (supplier of updated diaspora-installer
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: Sat, 13 Jan 2024 15:30:34 +0530
Source: diaspora-installer
Architecture: source
Version: 0.7.18.2+debian
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers
<[email protected]>
Changed-By: Ananthu C V <[email protected]>
Closes: 1006547
Changes:
diaspora-installer (0.7.18.2+debian) experimental; urgency=medium
.
* specify 0.7.18.2 as version and add its sha256sum
* add patch to use ruby 3 (Closes: #1006547)
* stop fixing permission issues as diaspora user
* mv diaspora.{yml,toml} to match upstream
* enable cetificate authority
* config bundler settings instead of passing flags to it
* add patch to fix i18n translation issues
* Bump Standards-Version to 4.6.2 (no changes needed)
* remove adpoted extended fields
* update d/copyright and add myself to uploaders
* remove ruby-interpreter depends and use ${ruby:Depends}
* apply wrap-and-sort
* add d/salsa-ci.yml
Checksums-Sha1:
1273614afc770b085ab0958f4091033a18f0dbeb 2047
diaspora-installer_0.7.18.2+debian.dsc
7f4df69e74dfb2002d9ad86d6d37f2ab930a35e2 61316
diaspora-installer_0.7.18.2+debian.tar.xz
fbfd7a74007768f3e8fa01c62625641de77d3f85 9991
diaspora-installer_0.7.18.2+debian_amd64.buildinfo
Checksums-Sha256:
8842c57d5ae5e98b5bc8c679e40fc04748f83da9b453798d54037ca0b66a2ef2 2047
diaspora-installer_0.7.18.2+debian.dsc
3d21508665232a8331ce8f0bf8867c95034163dba04bf46da33a5ab5597a84ef 61316
diaspora-installer_0.7.18.2+debian.tar.xz
733898839be3b81e52450e4586ca8c302515955c62f2171aaa2e9f7017d9eb0f 9991
diaspora-installer_0.7.18.2+debian_amd64.buildinfo
Files:
dc00a5b53d94357e25fa9df0a64d7076 2047 net optional
diaspora-installer_0.7.18.2+debian.dsc
bd8fe5d1ea0a6c41556cb34ffff03bc0 61316 net optional
diaspora-installer_0.7.18.2+debian.tar.xz
1b6b3dd48be29e276e53e00094eede2a 9991 net optional
diaspora-installer_0.7.18.2+debian_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAmWitwMACgkQj1PgGTsp
S3V3QA/+OgZ0uNFmqdWWUqhRcMIh4XlVim/OIovqZn9DVIY0iH9h3CEoJ0nEWDR2
UFGtO8DbbgJk80sgA/MO2PBKF9mhCB0JfuVC0W6xmNWxmrrvp5K6qNegQyolX8Ue
xwmJ4BgU9yqzDCRqYLSV4JQxN2oWF9XpmYY3cyJgYFI9oWHtCdHPKHwJwft9LMen
YSMmT7UUTmbgJ13Rn4ynUsbfoDZVAG/wONft/a3R/atHlHDe0QfF67ez/8hhC4LK
uLB5+5AZMaJakf7kOmJhieGZKXdnCM0l9j2Ki8nJudESnd5OeZB8hoEqbxakrfHV
UAm1P4GtV4qWzI11v0gQx0yxUKZRxMmpUuqYswJ5rj/SR/On5jwZNK1dBQqSOhip
SLmaN+lxezpBHYykyBxKwDWZYSJqA4j2HJKq0wvLZeQLWlJRFAP7RpCTG3+8B4nF
m2fq8Pcmrg7sk774g+yVyP+JpxgguD0x/Bi8mYeqpzutrCFL6aHOHN3V7DztwLwq
jvXkTXwYKbtDHN6wl21DgBH+tHioYkyUiFl9w4Rhnu8ynXsFASUjfgss8vooUFu1
2I+iM4UGpa8QRqVTEu/N6NBVPRtYfJTsYWyeg4rr5SE7REMLRyn1GZvP5USdRaSl
h0YlF4/xQFvU+mWTaI3i7FN7AGzriyS7vmol40iVmSBkZmyybk4=
=bb/P
-----END PGP SIGNATURE-----
--- End Message ---