[DRE-maint] Bug#1115695: ruby-gsl: FTBFS: array.c:591:3: error: too many arguments to function ‘Init_gsl_vector_int’; expected 0, have 1
Lucas Nussbaum
lucas at debian.org
Fri Sep 19 08:09:26 BST 2025
Source: ruby-gsl
Version: 2.1.0.3+dfsg1-6
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250918 ftbfs-forky
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
The full build log is available from:
http://qa-logs.debian.net/2025/09/18/ruby-gsl_2.1.0.3+dfsg1-6_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250918;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250918&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--
Relevant part of the build log (hopefully):
> gcc -fdebug-prefix-map=/build/reproducible-path/ruby-gsl-2.1.0.3+dfsg1=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -DGSL_VERSION=2.8 -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_NARRAY_H -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/3.3.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -Iinclude -I/usr/include -o array.o -c array.c
> In file included from include/rb_gsl_common.h:28,
> from array.c:12:
> ./gsl_config.h:6:9: warning: ‘GSL_VERSION’ redefined
> 6 | #define GSL_VERSION 2.8
> | ^~~~~~~~~~~
> In file included from include/rb_gsl_common.h:20:
> /usr/include/gsl/gsl_version.h:18:9: note: this is the location of the previous definition
> 18 | #define GSL_VERSION "2.8"
> | ^~~~~~~~~~~
> array.c: In function ‘Init_gsl_array’:
> array.c:591:3: error: too many arguments to function ‘Init_gsl_vector_int’; expected 0, have 1
> 591 | Init_gsl_vector_int(module);
> | ^~~~~~~~~~~~~~~~~~~ ~~~~~~
> In file included from array.c:13:
> include/rb_gsl_array.h:149:6: note: declared here
> 149 | void Init_gsl_vector_int();
> | ^~~~~~~~~~~~~~~~~~~
> make[1]: *** [Makefile:248: array.o] Error 1
More information about the Pkg-ruby-extras-maintainers
mailing list