Your message dated Sun, 31 Oct 2021 21:49:22 +0000
with message-id <e1mhihe-00016s...@fasolo.debian.org>
and subject line Bug#996233: fixed in ruby-gd 0.8.0-8
has caused the Debian Bug report #996233,
regarding ruby-gd: FTBFS with ruby3.0: error: assignment of read-only member 
‘klass’
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.)


-- 
996233: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996233
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-gd
Version: 0.8.0-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-gd was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Build native extensions for ruby3.0                                         
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> /usr/bin/ruby3.0 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb 
> /<<PKGBUILDDIR>> debian/ruby-gd
> "make clean"
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> "make clean"
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> current directory: /<<PKGBUILDDIR>>
> ["/usr/bin/ruby3.0", "-I", "/usr/lib/ruby/vendor_ruby", "-r", 
> "./siteconf20211004-3132885-1cqqoz.rb", "extconf.rb"]
> checking for ruby/io.h... yes
> checking for rb_io_t in ruby.h,rubyio.h... no
> checking for -ljpeg... yes
> checking for -lttf... no
> checking for -lX11... yes
> checking for -lXpm... yes
> checking for -lfreetype... yes
> checking for -lz... yes
> checking for -lpng... yes
> checking for gdImagePng() in -lgd... yes
> checking for -lm... yes
> checking for gdImageStringTTF()... yes
> checking for gdImageColorResolve()... yes
> checking for gdImageCreateFromXpm()... yes
> checking for gdImageCreateFromJpeg()... yes
> checking for gdImageStringFT()... yes
> checking for gdImageAlphaBlending()... yes
> creating Makefile
> current directory: /<<PKGBUILDDIR>>
> ["make", "V=1", "CC=gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "CXX=g++ 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "DESTDIR=", "clean"]
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f 
> rm -f GD.so  *.o  *.bak mkmf.log .*.time
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> current directory: /<<PKGBUILDDIR>>
> ["make", "V=1", "CC=gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "CXX=g++ 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "DESTDIR="]
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I. 
> -I/usr/include/x86_64-linux-gnu/ruby-3.0.0 
> -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. 
> -DHAVE_RUBY_IO_H -DHAVE_GDIMAGESTRINGTTF -DHAVE_GDIMAGECOLORRESOLVE 
> -DHAVE_GDIMAGECREATEFROMXPM -DHAVE_GDIMAGECREATEFROMJPEG 
> -DHAVE_GDIMAGESTRINGFT -DHAVE_GDIMAGEALPHABLENDING -I/usr/X11R6/include 
> -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 
> -ffile-prefix-map=/build/ruby3.0-2KsnwC/ruby3.0-3.0.2=. 
> -fstack-protector-strong -Wformat -Werror=format-security -fPIC 
> -DENABLE_GD_2_0  -o GD.o -c GD.c
> GD.c: In function ‘img_polygon’:
> GD.c:1021:22: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1021 |     len = RARRAY_LEN(ply)/2;
>       |                      ^~~
>       |                      |
>       |                      struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1024:32: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1024 |  pnt[i].x = NUM2INT(RARRAY_PTR(ply)[i*2]);
>       |                                ^~~
>       |                                |
>       |                                struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1025:32: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1025 |  pnt[i].y = NUM2INT(RARRAY_PTR(ply)[i*2+1]);
>       |                                ^~~
>       |                                |
>       |                                struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘img_filled_polygon’:
> GD.c:1046:22: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1046 |     len = RARRAY_LEN(ply)/2;
>       |                      ^~~
>       |                      |
>       |                      struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1049:32: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1049 |  pnt[i].x = NUM2INT(RARRAY_PTR(ply)[i*2]);
>       |                                ^~~
>       |                                |
>       |                                struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1050:32: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1050 |  pnt[i].y = NUM2INT(RARRAY_PTR(ply)[i*2+1]);
>       |                                ^~~
>       |                                |
>       |                                struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘ply_new’:
> GD.c:1725:25: error: assignment of read-only member ‘klass’
>  1725 |     RBASIC(self)->klass = klass;
>       |                         ^
> GD.c: In function ‘ply_vertices’:
> GD.c:1817:40: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1817 |     VALUE ary = rb_ary_new2(RARRAY_LEN(ply)/2);
>       |                                        ^~~
>       |                                        |
>       |                                        struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1819:30: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1819 |     for (i = 0; i<RARRAY_LEN(ply); i+=2) {
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1820:43: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1820 |  rb_ary_push(ary, rb_assoc_new(RARRAY_PTR(ply)[i], 
> RARRAY_PTR(ply)[i+1]));
>       |                                           ^~~
>       |                                           |
>       |                                           struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1820:63: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1820 |  rb_ary_push(ary, rb_assoc_new(RARRAY_PTR(ply)[i], 
> RARRAY_PTR(ply)[i+1]));
>       |                                                               ^~~
>       |                                                               |
>       |                                                               struct 
> RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘ply_bounds’:
> GD.c:1832:20: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1832 |     if (RARRAY_LEN(ply) == 0) {
>       |                    ^~~
>       |                    |
>       |                    struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1836:29: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1836 |  l = r = NUM2INT(RARRAY_PTR(ply)[0]);
>       |                             ^~~
>       |                             |
>       |                             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1837:29: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1837 |  t = b = NUM2INT(RARRAY_PTR(ply)[1]);
>       |                             ^~~
>       |                             |
>       |                             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1839:30: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1839 |     for (i = 2; i<RARRAY_LEN(ply); i+=2) {
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1840:26: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1840 |  nx = NUM2INT(RARRAY_PTR(ply)[i]);
>       |                          ^~~
>       |                          |
>       |                          struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1843:26: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1843 |  ny = NUM2INT(RARRAY_PTR(ply)[i+1]);
>       |                          ^~~
>       |                          |
>       |                          struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘ply_offset’:
> GD.c:1860:30: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1860 |     for (i = 0; i<RARRAY_LEN(ply); i+=2) {
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1861:25: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1861 |  c = NUM2INT(RARRAY_PTR(ply)[i]) + x;
>       |                         ^~~
>       |                         |
>       |                         struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1862:13: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1862 |  RARRAY_PTR(ply)[i] = INT2FIX(c);
>       |             ^~~
>       |             |
>       |             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1863:25: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1863 |  c = NUM2INT(RARRAY_PTR(ply)[i+1]) + y;
>       |                         ^~~
>       |                         |
>       |                         struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1864:13: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1864 |  RARRAY_PTR(ply)[i+1] = INT2FIX(c);
>       |             ^~~
>       |             |
>       |             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘ply_map’:
> GD.c:1887:17: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1887 |  if (RARRAY_LEN(ply) == 0) {
>       |                 ^~~
>       |                 |
>       |                 struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1891:33: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1891 |      l = r = NUM2INT(RARRAY_PTR(ply)[0]);
>       |                                 ^~~
>       |                                 |
>       |                                 struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1892:33: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1892 |      t = b = NUM2INT(RARRAY_PTR(ply)[1]);
>       |                                 ^~~
>       |                                 |
>       |                                 struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1894:27: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1894 |  for (i = 2; i<RARRAY_LEN(ply); i+=2) {
>       |                           ^~~
>       |                           |
>       |                           struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1895:30: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1895 |      nx = NUM2INT(RARRAY_PTR(ply)[i]);
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1898:30: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1898 |      ny = NUM2INT(RARRAY_PTR(ply)[i+1]);
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1923:30: warning: passing argument 1 of ‘rb_array_len’ makes integer 
> from pointer without a cast [-Wint-conversion]
>  1923 |     for (i = 0; i<RARRAY_LEN(ply); i+=2) {
>       |                              ^~~
>       |                              |
>       |                              struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:131:20: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   131 | rb_array_len(VALUE a)
>       |              ~~~~~~^
> GD.c:1924:25: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1924 |  c = NUM2INT(RARRAY_PTR(ply)[i]);
>       |                         ^~~
>       |                         |
>       |                         struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1926:13: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1926 |  RARRAY_PTR(ply)[i] = INT2FIX(c);
>       |             ^~~
>       |             |
>       |             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1928:25: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1928 |  c = NUM2INT(RARRAY_PTR(ply)[i+1]);
>       |                         ^~~
>       |                         |
>       |                         struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c:1930:13: warning: passing argument 1 of ‘RARRAY_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1930 |  RARRAY_PTR(ply)[i+1] = INT2FIX(c);
>       |             ^~~
>       |             |
>       |             struct RArray *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/core.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rarray.h:244:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RArray *’
>   244 | RARRAY_PTR(VALUE ary)
>       |            ~~~~~~^~~
> GD.c: In function ‘fnt_s_new’:
> GD.c:1996:16: warning: passing argument 1 of ‘Check_Type’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1996 |     Check_Type(name, T_STRING);
>       |                ^~~~
>       |                |
>       |                struct RString *
> In file included from /usr/include/ruby-3.0.0/ruby/internal/fl_type.h:35,
>                  from /usr/include/ruby-3.0.0/ruby/internal/core/rstring.h:30,
>                  from 
> /usr/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
>                  from /usr/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:25,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/value_type.h:329:18: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RString *’
>   329 | Check_Type(VALUE v, enum ruby_value_type t)
>       |            ~~~~~~^
> GD.c:1997:32: warning: passing argument 1 of ‘RSTRING_PTR’ makes integer from 
> pointer without a cast [-Wint-conversion]
>  1997 |     return fnt_new(RSTRING_PTR(name));
>       |                                ^~~~
>       |                                |
>       |                                struct RString *
> In file included from 
> /usr/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
>                  from /usr/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
>                  from /usr/include/ruby-3.0.0/ruby/ruby.h:25,
>                  from /usr/include/ruby-3.0.0/ruby.h:38,
>                  from GD.c:12:
> /usr/include/ruby-3.0.0/ruby/internal/core/rstring.h:151:19: note: expected 
> ‘VALUE’ {aka ‘long unsigned int’} but argument is of type ‘struct RString *’
>   151 | RSTRING_PTR(VALUE str)
>       |             ~~~~~~^~~
> make[1]: *** [Makefile:245: GD.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-gd/ruby-gd_0.8.0-7+rebuild1633380660_amd64.build.txt

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-gd
Source-Version: 0.8.0-8
Done: Daniel Leidert <dleid...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-gd, 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 996...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Leidert <dleid...@debian.org> (supplier of updated ruby-gd 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: Sun, 31 Oct 2021 22:26:22 +0100
Source: ruby-gd
Architecture: source
Version: 0.8.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Daniel Leidert <dleid...@debian.org>
Closes: 996233
Changes:
 ruby-gd (0.8.0-8) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Cédric Boutillier ]
   * Remove version in the gem2deb build-dependency
   * Use https:// in Vcs-* fields
   * Run wrap-and-sort on packaging files
 .
   [ Utkarsh Gupta ]
   * Add salsa-ci.yml
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Use secure copyright file specification URI.
   * Set debhelper-compat version in Build-Depends.
   * Update Vcs-* headers from URL redirect.
   * Use canonical URL in Vcs-Git.
   * Replace spaces in short license names with dashes.
   * Update watch file format version to 4.
   * Bump debhelper from old 9 to 13.
 .
   [ Daniel Leidert ]
   * d/control (Standards-Version): Bump to 4.6.0.
     (Homepage): Use rubygems. Original homepage does not exist anymore.
     (Depends): Remove interpreters and use ${ruby:Depends}.
   * d/copyright: Add Rules-Requires-Root.
     (Source): Use rubygems.
     (Copyright): Add team copyright.
   * d/watch: Use more up-to-date gemwatch and HTTPS.
   * d/patches/port-to-ruby2.1.patch: Update patch.
     - Fix FTBFS with Ruby 3.0 (closes: #996233).
   * d/patches/*: Update and refresh.
   * d/source/lintian-overrides: Remove unused override file.
Checksums-Sha1:
 2f0a149218c6daac73e2976189f2fbc930180b02 2010 ruby-gd_0.8.0-8.dsc
 8ae25f251f0cb316b391644d2f09feefd9455826 11740 ruby-gd_0.8.0-8.debian.tar.xz
 63751a9fb9a2b55176d3175995bd490cc6ee0943 10860 ruby-gd_0.8.0-8_amd64.buildinfo
Checksums-Sha256:
 61dc10015031410d7f01fea199728163e27e30bc6a606cac80cd11d772bfeac4 2010 
ruby-gd_0.8.0-8.dsc
 cba2e156eec7ddd2e04fdc6c10243aada1225fffb8f4165ab2c34cf01ef5feba 11740 
ruby-gd_0.8.0-8.debian.tar.xz
 f837baf37b535f0ad96cf2ccc4c1368b316e389cf31d7584ae5b0a71a0cc3d3a 10860 
ruby-gd_0.8.0-8_amd64.buildinfo
Files:
 64559de12b768c66ab399146273dbfaa 2010 ruby optional ruby-gd_0.8.0-8.dsc
 08c45ca58530e43af5f4982a87e3043a 11740 ruby optional 
ruby-gd_0.8.0-8.debian.tar.xz
 f37923584476c634b20391a9cc4e1887 10860 ruby optional 
ruby-gd_0.8.0-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmF/CrYACgkQS80FZ8KW
0F28aRAA063FFNXZQJsN29axfZGfTMe0UrVSKt6XmGGqXnfSw2U+PbTsYeZrvCqO
voKtMk+hsa7yu1THWyuqXkOmocB4AeirlqC1vu+//g+YqDVzR2/AG1AYsRQwAkML
Qm7vdtlfUpoZ2W8t30p97YMcuXuA0DgxQmodhe0Hv/67LN0gKT5uSyl2+zDk9XQj
yhby3WS6fO7UdsalOd37SntkK2HcQX6FV0872Wd4w0fulW/9Z+pylUUqc6SPNTuv
mXQebqihOLBBa1l9Un7z77FXu+2BciR0PbFCbfpX7nR55/4I6MpqaqEGZihK1H2q
dbqBDeFbXl0GiPdOeuEmo4Lo6h1DB+vODKI0HjwBD7oC5JLR0gHWTluk6r71gCCw
tztirwgEczD0nJAZxmggNW0VtwBSX0CxWji4+MvZhDggTwBeMI9y71RQGOjPG208
C/ixbk9DGS6L5KmiSQvCXWSutMXhK8GacYs+UWmnH9F1mODsUJT84B5pSB7Plwl5
nT5Ix4UVIgEr0aSsFY0qrXvdxN5UOZfI+wOAYjqwNPunl1U+on9C4Sby80+MKuNj
obLdlveYFLkjxA5ZfijlSWfC6DRHxHR2m3iQNeAscfQ++yDvVdMUd0uOiAXBKVUx
iY9mZ4VnKMmZXrBc7TlJIBQMhGbEoxd6U65XAZJk3iBSlfG8pFk=
=rWM5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to