Your message dated Fri, 15 Oct 2021 12:04:50 +0000
with message-id <[email protected]>
and subject line Bug#996219: fixed in ruby-enumerable-statistics 2.0.7+dfsg-1
has caused the Debian Bug report #996219,
regarding ruby-enumerable-statistics: FTBFS with ruby3.0: statistics.c:67:32: 
error: ‘RComplex’ undeclared (first use in this function)
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.)


-- 
996219: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996219
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-enumerable-statistics
Version: 2.0.1+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-enumerable-statistics 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):
> 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_RB_RATIONAL_NEW -DHAVE_RB_RATIONAL_NUM -DHAVE_RB_RATIONAL_DEN 
> -DHAVE_RB_COMPLEX_RAW -DHAVE_RB_COMPLEX_REAL -DHAVE_RB_COMPLEX_IMAG 
> -DHAVE_RB_COMPLEX_PLUS -DHAVE_RB_COMPLEX_DIV -DHAVE_RB_DBL_COMPLEX_NEW 
> -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  -o 
> statistics.o -c statistics.c
> statistics.c: In function ‘complex_add’:
> statistics.c:67:25: warning: implicit declaration of function ‘R_CAST’ 
> [-Wimplicit-function-declaration]
>    67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
>       |                         ^~~~~~
> statistics.c:152:18: note: in expansion of macro ‘RCOMPLEX’
>   152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
>       |                  ^~~~~~~~
> statistics.c:67:32: error: ‘RComplex’ undeclared (first use in this function)
>    67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
>       |                                ^~~~~~~~
> statistics.c:152:18: note: in expansion of macro ‘RCOMPLEX’
>   152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
>       |                  ^~~~~~~~
> statistics.c:67:32: note: each undeclared identifier is reported only once 
> for each function it appears in
>    67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
>       |                                ^~~~~~~~
> statistics.c:152:18: note: in expansion of macro ‘RCOMPLEX’
>   152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
>       |                  ^~~~~~~~
> statistics.c: In function ‘f_zero_p’:
> statistics.c:47:33: error: ‘RRational’ undeclared (first use in this function)
>    47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj))
>       |                                 ^~~~~~~~~
> statistics.c:400:17: note: in expansion of macro ‘RRATIONAL’
>   400 |     VALUE num = RRATIONAL(x)->num;
>       |                 ^~~~~~~~~
> statistics.c: In function ‘rb_rational_plus’:
> statistics.c:47:33: error: ‘RRational’ undeclared (first use in this function)
>    47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj))
>       |                                 ^~~~~~~~~
> statistics.c:613:17: note: in expansion of macro ‘RRATIONAL’
>   613 |     VALUE num = RRATIONAL(self)->num;
>       |                 ^~~~~~~~~
> statistics.c: In function ‘calculate_and_set_mean’:
> statistics.c:67:32: error: ‘RComplex’ undeclared (first use in this function)
>    67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
>       |                                ^~~~~~~~
> statistics.c:751:24: note: in expansion of macro ‘RCOMPLEX’
>   751 |     VALUE const real = RCOMPLEX(sum)->real;
>       |                        ^~~~~~~~
> make[1]: *** [Makefile:245: statistics.o] Error 1


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-enumerable-statistics/ruby-enumerable-statistics_2.0.1+dfsg-3+rebuild1633378917_amd64.build.txt

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-enumerable-statistics
Source-Version: 2.0.7+dfsg-1
Done: Antonio Terceiro <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ruby-enumerable-statistics, 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.
Antonio Terceiro <[email protected]> (supplier of updated 
ruby-enumerable-statistics 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: SHA256

Format: 1.8
Date: Fri, 15 Oct 2021 08:14:17 -0300
Source: ruby-enumerable-statistics
Architecture: source
Version: 2.0.7+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 996219
Changes:
 ruby-enumerable-statistics (2.0.7+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Set field Upstream-Contact in debian/copyright.
   * Remove obsolete fields Contact, Name from debian/upstream/metadata (already
     present in machine-readable debian/copyright).
 .
   [ Antonio Terceiro ]
   * debian/watch: download from github to get tests etc
   * New upstream version 2.0.7+dfsg
     - Builds fine against ruby3.0 (Closes: #996219)
   * debian/ruby-tests.rake: run tests with rspec
   * debian/rules: remove bogus bin/rspec that gets installed
   * Bump Standards-Version to 4.6.0; no changes needed
Checksums-Sha1:
 730d781982be65c2d2c4afc39fe93ed5711c4873 2248 
ruby-enumerable-statistics_2.0.7+dfsg-1.dsc
 17248cf71b8a34ffdafa0c7a054b0e53ca385937 315244 
ruby-enumerable-statistics_2.0.7+dfsg.orig.tar.xz
 71283d850192e2c67a84783698d565b31b2ab754 3308 
ruby-enumerable-statistics_2.0.7+dfsg-1.debian.tar.xz
 c6fd3f9b56ab02d6ddaa0234aa070e1b54ad22d1 9984 
ruby-enumerable-statistics_2.0.7+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 c251a6584d4cc629b7cb826840e4efe7e5edb454bf3c5666373c1165f983ab67 2248 
ruby-enumerable-statistics_2.0.7+dfsg-1.dsc
 20984714c4a249561a8a174d86f38b66a39a954bf867c04a483465af877a06de 315244 
ruby-enumerable-statistics_2.0.7+dfsg.orig.tar.xz
 9893f37468efe9e4fd7c5872105a74f5da21ffb655da09b29c409597e53a7c58 3308 
ruby-enumerable-statistics_2.0.7+dfsg-1.debian.tar.xz
 bfa45fe67fe0951d8862e3752b0c6741fc803f48d65c4b050d0fe42da55bbe1e 9984 
ruby-enumerable-statistics_2.0.7+dfsg-1_amd64.buildinfo
Files:
 29e2d105d9ed76539291dd92ea08441c 2248 ruby optional 
ruby-enumerable-statistics_2.0.7+dfsg-1.dsc
 f269c984091071b99bbe6c714eac9462 315244 ruby optional 
ruby-enumerable-statistics_2.0.7+dfsg.orig.tar.xz
 c3a6082e4ea7f263354cf1cebbbcf574 3308 ruby optional 
ruby-enumerable-statistics_2.0.7+dfsg-1.debian.tar.xz
 f1f393ec9f8528ac687bb720bd59aa89 9984 ruby optional 
ruby-enumerable-statistics_2.0.7+dfsg-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmFpapEACgkQ/A2xu81G
C96Ylw//WABOtAG3CB3fkSBgG7AAYAFTO/ES4HzElvv7qoPMHwSxEz+/zUt2qlsc
sJfV8zqirLT6Sx5THKmFahStGu35ffa9dosQ2ah1xLROORPBzwipc1ZskP+5lBea
x4Alr6LIGDgc/MgBxYfj9EKAL0+unHp0yroF7BbSXIpiHpwFbFgDA3IPUr8a9M9d
wGKagWXk9p/4YJ9YAbWTjHRAcQ5Lscjaa2a+6ECPjrDnlYk0Lg0JEiWoXgzPKgOp
Hi+fEQdtBSF53b3s7K0hPEoZ18v33lyPNSWWSAMLXDXTKRv87LOBcUXPgnN2zLiQ
N/v9GEAJJfUNFYdIqORXPkXI0zJMF2oX034fGutuPbTZ9pc1x+uFcVdcttygMn99
54C8b3qyneWI1NNELq7s4/OH9zKYkvGSqqiUx4sasrvS5tm2Zyx5nfsb9ucVzHkx
q2sAbeyWNmkl+jL3933JJVEqaHYZI8PlcbeNtA7YK2ONN27JstAtMgnfaNoGAEDC
y8E6c2zsR1bRJl9z6Pu83cv2N1AEYxWzQY5pVj4PVlTLiHNkTJ9kj4Ckhb34thZ8
HuikWL81OTXZib6dFEsHfgQ3Cj92ly3VrUnnTb9HABHvQLtswh6JVpQWGTOcN6ch
OT9RVKG1PDr2ugHbzYwVlQ30mT9asO8a4WtM20SWDeU5nS0uT+o=
=8KJp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to