[DRE-maint] Bug#889023: ruby-gsl: FTBFS with ruby2.5: 'rb_cFixnum' undeclared

Antonio Terceiro terceiro at debian.org
Thu Feb 1 10:13:31 UTC 2018


Source: ruby-gsl
Severity: serious
Justification: Fails to build from source
User: debian-ruby at lists.debian.org
Usertags: ruby2.5

I am filing this at severity serious as I am about to enable building for
ruby2.5 in unstable.


[...]
gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -DGSL_VERSION=2.4 -DGSL_1_15_LATER -DGSL_1_15_LATER -DGSL_1_16_LATER -DGSL_2_0_LATER -DGSL_2_1_LATER -DHAVE_ROUND -DHAVE_GSL_EIGEN_FRANCIS -DHAVE_GNU_GRAPH -DHAVE_TAMU_ANOVA_TAMU_ANOVA_H -DHAVE_GSL_SF_MATHIEU_A_E -DHAVE_GSL_SF_MATHIEU_B_E -DHAVE_GSL_SF_MATHIEU_CE_E -DHAVE_GSL_SF_MATHIEU_SE_E -DHAVE_GSL_SF_MATHIEU_MC_E -DHAVE_GSL_SF_MATHIEU_MS_E -I/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0 -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.5-ed5dT1/ruby2.5-2.5.0=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -Iinclude -I/usr/include  -o error.o -c error.c
In file included from include/rb_gsl_poly.h:17:0,
                 from include/rb_gsl.h:18,
                 from error.c:11:
include/rb_gsl_complex.h:21:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_complex;
 ^~~~~~
In file included from include/rb_gsl_array.h:27:0,
                 from include/rb_gsl_poly.h:18,
                 from include/rb_gsl.h:18,
                 from error.c:11:
include/rb_gsl_common.h:29:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN ID rb_gsl_id_beg, rb_gsl_id_end, rb_gsl_id_excl, rb_gsl_id_to_a;
 ^~~~~~
In file included from include/rb_gsl_array.h:27:0,
                 from include/rb_gsl_poly.h:18,
                 from include/rb_gsl.h:18,
                 from error.c:11:
include/rb_gsl_common.h:352:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cGSL_Object;
 ^~~~~~
In file included from include/rb_gsl_poly.h:18:0,
                 from include/rb_gsl.h:18,
                 from error.c:11:
include/rb_gsl_array.h:39:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_block, cgsl_block_int;
 ^~~~~~
include/rb_gsl_array.h:40:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_block_uchar;
 ^~~~~~
include/rb_gsl_array.h:41:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_block_complex;
 ^~~~~~
include/rb_gsl_array.h:42:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector, cgsl_vector_complex;
 ^~~~~~
include/rb_gsl_array.h:43:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_col;
 ^~~~~~
include/rb_gsl_array.h:44:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_col_view;
 ^~~~~~
include/rb_gsl_array.h:45:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_complex_col;
 ^~~~~~
include/rb_gsl_array.h:46:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_complex_col_view;
 ^~~~~~
include/rb_gsl_array.h:47:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_view, cgsl_vector_complex_view;
 ^~~~~~
include/rb_gsl_array.h:48:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_view_ro, cgsl_vector_col_view_ro;
 ^~~~~~
include/rb_gsl_array.h:49:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_complex_view_ro;
 ^~~~~~
include/rb_gsl_array.h:51:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_int, cgsl_vector_int_col;
 ^~~~~~
include/rb_gsl_array.h:52:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_int_view, cgsl_vector_int_col_view;
 ^~~~~~
include/rb_gsl_array.h:53:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_vector_int_view_ro, cgsl_vector_int_col_view_ro;
 ^~~~~~
include/rb_gsl_array.h:55:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix, cgsl_matrix_complex;
 ^~~~~~
include/rb_gsl_array.h:56:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix_view_ro;
 ^~~~~~
include/rb_gsl_array.h:57:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix_complex_view_ro;
 ^~~~~~
include/rb_gsl_array.h:58:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix_view, cgsl_matrix_complex_view;
 ^~~~~~
include/rb_gsl_array.h:59:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix_int, cgsl_matrix_int_view;
 ^~~~~~
include/rb_gsl_array.h:60:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_matrix_int_view_ro;
 ^~~~~~
include/rb_gsl_array.h:61:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_permutation;
 ^~~~~~
include/rb_gsl_array.h:62:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_index;
 ^~~~~~
include/rb_gsl_array.h:63:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_function;
 ^~~~~~
include/rb_gsl_array.h:64:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE mgsl_narray;
 ^~~~~~
include/rb_gsl_array.h:66:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE mDirac;
 ^~~~~~
In file included from include/rb_gsl.h:18:0,
                 from error.c:11:
include/rb_gsl_poly.h:20:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_poly;
 ^~~~~~
include/rb_gsl_poly.h:21:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_poly_int;
 ^~~~~~
include/rb_gsl_poly.h:22:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_poly_dd;
 ^~~~~~
include/rb_gsl_poly.h:23:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_poly_taylor;
 ^~~~~~
include/rb_gsl_poly.h:24:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_poly_workspace;
 ^~~~~~
include/rb_gsl_poly.h:25:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_rational;
 ^~~~~~
In file included from include/rb_gsl.h:21:0,
                 from error.c:11:
include/rb_gsl_root.h:19:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fsolver;
 ^~~~~~
include/rb_gsl_root.h:20:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fdfsolver;
 ^~~~~~
In file included from include/rb_gsl.h:22:0,
                 from error.c:11:
include/rb_gsl_histogram.h:21:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_histogram;
 ^~~~~~
include/rb_gsl_histogram.h:22:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_histogram_range;
 ^~~~~~
include/rb_gsl_histogram.h:23:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_histogram_bin;
 ^~~~~~
include/rb_gsl_histogram.h:24:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_histogram2d;
 ^~~~~~
include/rb_gsl_histogram.h:25:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_histogram2d_view;
 ^~~~~~
In file included from include/rb_gsl.h:23:0,
                 from error.c:11:
include/rb_gsl_sf.h:19:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_sf_result, cgsl_sf_result_e10;
 ^~~~~~
In file included from include/rb_gsl.h:25:0,
                 from error.c:11:
include/rb_gsl_fft.h:42:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE mgsl_fft;
 ^~~~~~
include/rb_gsl_fft.h:43:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fft_wavetable;
 ^~~~~~
include/rb_gsl_fft.h:44:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fft_wavetable_factor;
 ^~~~~~
include/rb_gsl_fft.h:45:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fft_complex_wavetable, cgsl_fft_complex_workspace;
 ^~~~~~
include/rb_gsl_fft.h:46:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fft_real_wavetable, cgsl_fft_halfcomplex_wavetable;
 ^~~~~~
include/rb_gsl_fft.h:47:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_fft_real_workspace;
 ^~~~~~
In file included from include/rb_gsl.h:27:0,
                 from error.c:11:
include/rb_gsl_rng.h:18:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_rng;
 ^~~~~~
In file included from include/rb_gsl_cheb.h:16:0,
                 from include/rb_gsl.h:31,
                 from error.c:11:
include/rb_gsl_function.h:18:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_function;
 ^~~~~~
include/rb_gsl_function.h:19:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cgsl_function_fdf;
 ^~~~~~
In file included from include/rb_gsl.h:32:0,
                 from error.c:11:
include/rb_gsl_fit.h:21:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE mgsl_multifit;
 ^~~~~~
In file included from include/rb_gsl.h:33:0,
                 from error.c:11:
include/rb_gsl_const.h:21:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE mgsl_const_mks, mgsl_const_cgs;
 ^~~~~~
In file included from error.c:11:0:
include/rb_gsl.h:106:1: note: #pragma message: EXTERN is deprecated, use RUBY_EXTERN instead
 EXTERN VALUE cGSL_Object;
 ^~~~~~
error.c: In function 'rb_gsl_define_exceptions':
error.c:83:66: error: 'rb_cFixnum' undeclared (first use in this function); did you mean 'rb_isalnum'?
   pgsl_error[-2] = rb_define_class_under(mgsl_error, "CONTINUE", rb_cFixnum);
                                                                  ^~~~~~~~~~
                                                                  rb_isalnum
error.c:83:66: note: each undeclared identifier is reported only once for each function it appears in
Makefile:242: recipe for target 'error.o' failed



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180201/33e24ea5/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list