Your message dated Tue, 24 Mar 2020 16:11:07 +0000
with message-id <e1jgm8x-000der...@fasolo.debian.org>
and subject line Bug#954785: fixed in libprelude 5.1.1-5
has caused the Debian Bug report #954785,
regarding libprelude FTBFS against ruby 2.7
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 ow...@bugs.debian.org
immediately.)
--
954785: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954785
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libprelude
Version: 5.1.1-4
Severity: serious
User pkg-ruby-extras-maintain...@lists.alioth.debian.org
Usertags: ruby2.7-transition
Dear Maintainer,
We are removing ruby 2.5 support and src:libprelude FTBFS against ruby 2.7,
check this build log:
https://buildd.debian.org/status/fetch.php?pkg=libprelude&arch=amd64&ver=5.1.1-4%2Bb2&stamp=1584634713&raw=0
The attached debdiff adds ruby 2.7 support, fixing the FTBFS.
Thanks for considering the patch!
--
Lucas Kanashiro
diff -Nru libprelude-5.1.1/debian/changelog
libprelude-5.1.1.new/debian/changelog
--- libprelude-5.1.1/debian/changelog 2019-11-17 07:07:24.000000000 -0300
+++ libprelude-5.1.1.new/debian/changelog 2020-03-23 10:27:52.863826694
-0300
@@ -1,3 +1,11 @@
+libprelude (5.1.1-5) unstable; urgency=medium
+
+ * Add support to Ruby 2.7.
+ + d/p/020-ruby27_support.patch: add patch to avoid ambiguity in
+ rb_define_virtual_variable call.
+
+ -- Lucas Kanashiro <lucas.kanash...@canonical.com> Mon, 23 Mar 2020 10:26:52
-0300
+
libprelude (5.1.1-4) unstable; urgency=medium
* d/rules
diff -Nru libprelude-5.1.1/debian/patches/020-ruby27_support.patch
libprelude-5.1.1.new/debian/patches/020-ruby27_support.patch
--- libprelude-5.1.1/debian/patches/020-ruby27_support.patch 1969-12-31
21:00:00.000000000 -0300
+++ libprelude-5.1.1.new/debian/patches/020-ruby27_support.patch
2020-03-23 10:29:08.063904212 -0300
@@ -0,0 +1,28 @@
+Description: Add support to Ruby 2.7
+ Type cast the parameters of rb_define_virtual_variable call to avoid
ambiguity:
+ .
+ /usr/include/ruby-2.7.0/ruby/backward/cxxanyargs.hpp:59:1: note: candidate:
‘void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE
(*)(...), void (*)(...))’
+ 59 | rb_define_virtual_variable(const char *q, type *w, void_type *e)
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~
+/usr/include/ruby-2.7.0/ruby/backward/cxxanyargs.hpp:90:1: note: candidate:
‘void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE
(*)(...), void (*)(VALUE, ID, VALUE*))’
+ 90 | rb_define_virtual_variable(const char *q, type *w, rb_gvar_setter_t *e)
+Author: Lucas Kanashiro <lucas.kanash...@canonical.com>
+Forwarded: No
+X-Not-Forwarded-Reason: Waiting for upstream approval to create my account in
their BTS
+Last-Updated: 2020-03-03
+
+--- a/bindings/ruby/Prelude.cxx
++++ b/bindings/ruby/Prelude.cxx
+@@ -1260,7 +1260,12 @@
+ swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
+ }
+
++#if RUBY_VERSION_MAJOR == 2 && RUBY_VERSION_MINOR < 7
+ rb_define_virtual_variable("SWIG_TRACKINGS_COUNT",
swig_ruby_trackings_count, NULL);
++#else
++ rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", (rb_gvar_getter_t
*)swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
++#endif
++
+ }
+
+ /* Add a Tracking from a C/C++ struct to a Ruby object */
diff -Nru libprelude-5.1.1/debian/patches/series
libprelude-5.1.1.new/debian/patches/series
--- libprelude-5.1.1/debian/patches/series 2019-11-15 18:30:15.000000000
-0300
+++ libprelude-5.1.1.new/debian/patches/series 2020-03-23 10:26:39.971750566
-0300
@@ -10,3 +10,4 @@
017-enable_detection_new_python3.patch
018-fix_gtkdoc_1.32.patch
019-fix_path_max_on_hurd.patch
+020-ruby27_support.patch
--- End Message ---
--- Begin Message ---
Source: libprelude
Source-Version: 5.1.1-5
Done: Thomas Andrejak <thomas.andre...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
libprelude, 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 954...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Andrejak <thomas.andre...@gmail.com> (supplier of updated libprelude
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 23 Mar 2020 12:07:24 +0200
Source: libprelude
Architecture: source
Version: 5.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Thomas Andrejak <thomas.andre...@gmail.com>
Closes: 954550 954785
Changes:
libprelude (5.1.1-5) unstable; urgency=medium
.
* d/patches
- Add 020-ruby27.patch (Closes: #954785, #954550)
Avoid ambiguity in rb_define_virtual_variable call.
* d/control
- Bump to Standards-Version 4.5.0
Checksums-Sha1:
a83005c5f7ac992fe142e383b55043063b87995b 3066 libprelude_5.1.1-5.dsc
36ad99620c71f4485a97504fcb94600d04b411fa 24904 libprelude_5.1.1-5.debian.tar.xz
360b8868f33ffa282c9edd6c0aedcde672daed04 15119
libprelude_5.1.1-5_amd64.buildinfo
Checksums-Sha256:
9e86eef9bcfa63129fae1df3bda3be97bced814fadc06ba516a0a0bb772b0fe9 3066
libprelude_5.1.1-5.dsc
6a00dbed4f2d1a0d3d2b0b2124f76e9042c9efdb434ae20f5878ee2b0dbff061 24904
libprelude_5.1.1-5.debian.tar.xz
520d58a4b7b9b7705c3dfb104769fd890d993becb9f1adecfa87693f2f75835a 15119
libprelude_5.1.1-5_amd64.buildinfo
Files:
1acb42301563fb69a25369991feaa3b0 3066 libs optional libprelude_5.1.1-5.dsc
1d68f12c4b0f5b904e88754d2ee8b507 24904 libs optional
libprelude_5.1.1-5.debian.tar.xz
886ed2367cfd5bc091734f925f6b62fe 15119 libs optional
libprelude_5.1.1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAl56KjsACgkQCBa54Yx2
K61KYQ//UbbKIfGOpGvZfOuUuwIMymUz+td7p5u5zEEX3l/RKZ47gRYuYPKuZbM/
uaEfGW+LIZTGV7rPvcfah75tTGeAU6S2aObYbHjKp0tC8lAhZ2Uz2cfga2eHqp04
HZFcgIAqqlvbjvEmgCSD7PF7Q4/SEu7/RDHQYUcVcI5uCXH1++DMrgsfkX8pIeAa
rA0rCbGjB9MuH5okCuIqHk2DnzBFohuLVWTkw4ISyCxRV0N6TLhspdFAeNDsCoo1
1wu0G156heIUVMmXMNxX3Jdy/vUN2I7OKdSrcLOMOCMIxpnXVOXO5d7mOpzQssea
MT9UNkpUEZqsUDeh8GXI67go6x2PRjhEmIL45BvvmcIMPqJi0HdlV62cAhRhbYt0
8N0jtoxmsEH38tEMVQMJwOu0OibEUY7NlWZyXDbjptxKSWiA5NPExaWhcmTalja0
3GO9HZnxqnu2nw/BHJCqEoPg1EJ09u8ItqQIe9fhURVAKNykTWmG9gFaAH5vWfrB
d1IWW9BaciSGzLMPW08LlqnrAKIGModdqalKBeRJAD/3sD5q453uOQjeTU60RQv3
b1jqDHieUB5pFkzjJQQle56vZZ2Si0LvgPgGibNPxcGYu6a9mIvQFkI7pa1E/KtO
qNpKRE5mLX+FYvvGwWnXiuifO1phUDsTG6olmt638iOkAssXy/Q=
=VqRZ
-----END PGP SIGNATURE-----
--- End Message ---