On Tue, 2 Jun 2020 at 07:36, Patrick Dupre <pdupre@gmx.com> wrote:
Hello,

I am rebuilding the perl packages that I need.
perl-Math-GSL-0.40.tar.gz


rpmbuild -bb perl-Math-GSL.spec

gives an error:
Checking for GSL using gsl-config
Found GSL 2.6 (via gsl-config) installed in /usr
Checking if gcc supports "-Wall"...yes
Checking if gcc supports "-Wno-sometimes-uninitialized"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-value"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-variable"...yes
Checking if gcc supports "-Wno-gnu"...yes
Checking if gcc supports "-g"...yes
unsupported version: 2.6 at Build.PL line 77.
error: Bad exit status from /var/tmp/rpm-tmp.I4k1Cb (%build)

https://github.com/leto/math--gsl/issues/176 is a request for
GSL 2.6 support from last month.

 

Checking on the Build.PL file;
it seems to be due to

my $ver2func = Ver2Func->new( $gsl_conf->{gsl_version} );


The same version of perl-Math-GSL compiled fine with fc30.
(same version of cpanspec)
Now the gsl version is 2.6 (2.4 before)

Do I need to recompile gsl ?

Until upstream finishes making the necessary changes you are stuck using an old gsl.
You might consider helping (testing, documenting) with the changes.  I use Fedora
precisely so I can discover and work on issues like this for the software I use. 

--
George N. White III