Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SparseMatrix failing tests on Linux + 0.40 #168

Open
leto opened this issue Dec 12, 2018 · 3 comments
Open

SparseMatrix failing tests on Linux + 0.40 #168

leto opened this issue Dec 12, 2018 · 3 comments

Comments

@leto
Copy link
Owner

leto commented Dec 12, 2018

http://www.cpantesters.org/cpan/report/465bf18a-fda9-11e8-98d5-bb14e5798fec

Can't load '/home/cpan/pit/thr/conf/perl-5.22.0/.cpanplus/5.22.0/build/wJHEPJ02pc/Math-GSL-0.40/blib/arch/auto/Math/GSL/SparseMatrix/SparseMatrix.so' for module Math::GSL::SparseMatrix: /home/cpan/pit/thr/conf/perl-5.22.0/.cpanplus/5.22.0/build/wJHEPJ02pc/Math-GSL-0.40/blib/arch/auto/Math/GSL/SparseMatrix/SparseMatrix.so: undefined symbol: gsl_spmatrix_fscanf at /home/cpan/pit/thr/perl-5.22.0/lib/5.22.0/x86_64-linux-thread-multi/DynaLoader.pm line 193.
 at /home/cpan/pit/thr/conf/perl-5.22.0/.cpanplus/5.22.0/build/wJHEPJ02pc/Math-GSL-0.40/blib/lib/Math/GSL/SparseMatrix.pm line 11.
Compilation failed in require at (eval 23) line 1.
BEGIN failed--compilation aborted at (eval 23) line 1.
BEGIN failed--compilation aborted at t/SparseMatrix.t line 24.
@wbraswell
Copy link
Contributor

I am seeing this error now, on a stable system where I have never seen it before!

SYSTEM INFO:
Ubuntu 16.04.4 LTS

$ uname -a
Linux hostname 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ perl -v
This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi
$ gsl-config --version
2.1
$ gsl-config --libs
-L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
$ gsl-config --cflags
-I/usr/include

BRIEF ERROR OUTPUT:

Can't load '/home/username/.cpanm/work/1580693106.32649/Math-GSL-0.40/blib/arch/auto/Math/GSL/SparseMatrix/SparseMatrix.so' for module Math::GSL::SparseMatrix: /home/username/.cpanm/work/1580693106.32649/Math-GSL-0.40/blib/arch/auto/Math/GSL/SparseMatrix/SparseMatrix.so: undefined symbol: gsl_spmatrix_fscanf at /usr/lib/x86_64-linux-gnu/perl/5.22/DynaLoader.pm line 187.
^@ at /home/username/.cpanm/work/1580693106.32649/Math-GSL-0.40/blib/lib/Math/GSL/SparseMatrix.pm line 11.
Compilation failed in require at (eval 20) line 1.
BEGIN failed--compilation aborted at (eval 20) line 1.
BEGIN failed--compilation aborted at t/SparseMatrix.t line 24.
t/SparseMatrix.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
...
[[[ OTHER TESTS HERE ]]]
...
Test Summary Report
-------------------
t/00-load.t      (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/SF.t           (Wstat: 0 Tests: 1074 Failed: 0)
  TODO passed:   22
t/SparseMatrix.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=56, Tests=4093, 13 wallclock secs ( 0.84 usr  0.13 sys + 11.65 cusr  1.11 csys = 13.73 CPU)
Result: FAIL
Failed 2/56 test programs. 0/4093 subtests failed.
! Installing Math::GSL failed.

FULL BUILD OUTPUT:
https://pastebin.com/cvDRkkXD

@leto
Copy link
Owner Author

leto commented Feb 3, 2020

@wbraswell unsupported version: 2.1.1 at t/00-load.t line 14. looks related, did you upgrade to GSL 2.1.1 and then do a partial recompile? That is going to confuse the heck out of our build system 😄

@wbraswell
Copy link
Contributor

@leto
I thought the unsupported version thing might be a separate issue and have filed it as you can see above. I have not (purposefully) upgraded to GSL 2.1.1, I am checking now to see if Ubuntu experienced any such issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants