Skip Menu |

This queue is for tickets about the Math-GSL CPAN distribution.

Report information
The Basics
Id: 123306
Status: open
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.39
Fixed in: (no value)



Subject: Undefined symbols (freebsd 11)
The test suite fails on my freebsd 11 smoker. freebsd 10 and earlier is fine. ... # Failed test 'use Math::GSL::Linalg;' # at t/00-load.t line 11. # Tried to use 'Math::GSL::Linalg'. # Error: Can't load '/home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so' for module Math::GSL::Linalg: /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so: Undefined symbol "gsl_linalg_hessenberg" at /usr/perl5.27.4p/lib/5.27.4/amd64-freebsd/DynaLoader.pm line 193. # # Compilation failed in require at t/00-load.t line 11. # BEGIN failed--compilation aborted at t/00-load.t line 11. ... # Failed test 'use Math::GSL::SF;' # at t/00-load.t line 11. # Tried to use 'Math::GSL::SF'. # Error: Can't load '/home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/SF/SF.so' for module Math::GSL::SF: /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/SF/SF.so: Undefined symbol "gsl_sf_coupling_6j_INCORRECT_e" at /usr/perl5.27.4p/lib/5.27.4/amd64-freebsd/DynaLoader.pm line 193. # # Compilation failed in require at t/00-load.t line 11. # BEGIN failed--compilation aborted at t/00-load.t line 11. ... Can't load '/home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so' for module Math::GSL::Linalg: /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so: Undefined symbol "gsl_linalg_hessenberg" at /usr/perl5.27.4p/lib/5.27.4/amd64-freebsd/DynaLoader.pm line 193. Compilation failed in require at /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/lib/Math/GSL/Matrix.pm line 1202. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39-0/blib/lib/Math/GSL/Matrix.pm line 1207. Compilation failed in require at t/BLAS.t line 8. BEGIN failed--compilation aborted at t/BLAS.t line 8. ...
On Tue Oct 17 02:27:49 2017, SREZIC wrote: Show quoted text
> The test suite fails on my freebsd 11 smoker. freebsd 10 and earlier > is fine. > > ... > # Failed test 'use Math::GSL::Linalg;' > # at t/00-load.t line 11. > # Tried to use 'Math::GSL::Linalg'. > # Error: Can't load '/home/cpansand/.cpan/build/2017101712/Math- > GSL-0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so' for module > Math::GSL::Linalg: /home/cpansand/.cpan/build/2017101712/Math-GSL- > 0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so: Undefined symbol > "gsl_linalg_hessenberg" at /usr/perl5.27.4p/lib/5.27.4/amd64- > freebsd/DynaLoader.pm line 193. > # # Compilation failed in require at t/00-load.t line 11. > # BEGIN failed--compilation aborted at t/00-load.t line 11. > ... > # Failed test 'use Math::GSL::SF;' > # at t/00-load.t line 11. > # Tried to use 'Math::GSL::SF'. > # Error: Can't load '/home/cpansand/.cpan/build/2017101712/Math- > GSL-0.39-0/blib/arch/auto/Math/GSL/SF/SF.so' for module Math::GSL::SF: > /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39- > 0/blib/arch/auto/Math/GSL/SF/SF.so: Undefined symbol > "gsl_sf_coupling_6j_INCORRECT_e" at /usr/perl5.27.4p/lib/5.27.4/amd64- > freebsd/DynaLoader.pm line 193. > # # Compilation failed in require at t/00-load.t line 11. > # BEGIN failed--compilation aborted at t/00-load.t line 11. > ... > Can't load '/home/cpansand/.cpan/build/2017101712/Math-GSL-0.39- > 0/blib/arch/auto/Math/GSL/Linalg/Linalg.so' for module > Math::GSL::Linalg: /home/cpansand/.cpan/build/2017101712/Math-GSL- > 0.39-0/blib/arch/auto/Math/GSL/Linalg/Linalg.so: Undefined symbol > "gsl_linalg_hessenberg" at /usr/perl5.27.4p/lib/5.27.4/amd64- > freebsd/DynaLoader.pm line 193. > Compilation failed in require at > /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39- > 0/blib/lib/Math/GSL/Matrix.pm line 1202. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2017101712/Math-GSL-0.39- > 0/blib/lib/Math/GSL/Matrix.pm line 1207. > Compilation failed in require at t/BLAS.t line 8. > BEGIN failed--compilation aborted at t/BLAS.t line 8. > ...
These problems are still present as we near the release of perl-5.28.0. Today I attempted to install this distribution against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer. Please find attached a summary of the cpanm build.log output. Also find attached the relevant 'perl -V' data. Thank you very much. Jim Keenan
Subject: LETO.Math-GSL-0.39.log.txt

Message body is not shown because it is too large.

Subject: freebsd-11.0.perl-5.27.10_V.txt
Summary of my perl5 (revision 5 version 27 subversion 10) configuration: Platform: osname=freebsd osvers=11.0-release-p1 archname=amd64-freebsd-thread-multi uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Mar 21 2018 12:59:59 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib/5.27.10/amd64-freebsd-thread-multi lib/5.27.10 lib /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10
Subject: Undefined symbols [rt.cpan.org #123306]
Date: Mon, 7 May 2018 18:31:44 -0700
To: bug-Math-GSL [...] rt.cpan.org
From: David Hoekman <sqrtneginf [...] gmail.com>
Math-GSL 0.39 does not appear to be compatible with recent releases of GSL (e.g 2.4 and higher). If 'Build' emits a warning about 'VERSION MISMATCH', then installation will probably fail. By downgrading my GSL to 2.2.1 I was able to get this module working on Mac OS X, and that kludge may work on other platforms as well.
We're seeing the same errors on Debian with the update of GSL from 2.4 to 2.5: https://bugs.debian.org/901807