-
Notifications
You must be signed in to change notification settings - Fork 25
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
Making travis script work for gsl-master
aka GSL 2.6
#173
Comments
@hakonhagland interesting, thanks for this well-written bug report 👍. Most likely, an empty |
@leto Ok that could be an issue... but to me it looks like the issue is rather related to the generated file
On the other hand the
If you look at the source for It is not clear to me what is the purpose of the |
@hakonhagland I will have to look into this and report back. It seems that you have found a bug or perhaps GSL changed underneath us, which it often does, and we need to react. |
Debian has upgraded libgsl to 2.6 recently, which makes Math::GSL unhappy, as expected. Cf. https://bugs.debian.org/960011 |
@gregoa Thanks for the information. I will have a look at it. |
If I run
I get error:
and at line 375 of
where
|
@hakonhagland you need to give a lot more details like exact compiler version. Also, you are manually compiling and it can't find some files, I would not do that. Run the build script and see what errors it gets. What it comes down to, is Math::GSL needs to be updated to support the latest GSL 2.6, including telling it all new function and changed API's |
@leto Thanks for the tip! I was running on Ubuntu 14.04 with swig version 2.0 and gsl-master. There seems to many unrelated errors. I am trying to untangle it. One of the errors seems to be related to commit b26ab87 :
notice that this commit was from 2009 and then the major version was at version 1 and minor version at 12. Now we are at major version 2 and minor version 6. And it seems the |
@hakonhagland this seems like a genuine bug. That conditional should be smarter, and handle GSL_MINOR_VERSION in a smarter way, based on GSL_MAJOR_VERSION being 1 or 2 . That should fix the issue |
@leto wrote:
Yes it does! And the fix was included in merged commit a202f4f. I am looking at the failed tests for #179, there is one thing I do not understand with the travis build log output. For example, if we look at the first build 18 https://travis-ci.org/github/leto/math--gsl/jobs/684820428 at line 5713 it
why does it say "2.5 XS files" and not "2.6 XS files" ? Compare with build 1 for GSL 2.5 there it says line 6051:
and for build 2 for GSL 2.4 it says:
Another thing that I do not understand is where the
I cannot see that the C file
but I cannot find it... |
This issue will discuss how make the travis test for
gsl-master
pass, also related to the discussion in pull request #172.The first issue when testing against
gsl-master
in the travis build can be seen at line #5079 of this build log (for pull request #172): https://travis-ci.org/leto/math--gsl/jobs/597321360#L5079 : it says:which comes from line #323 in
Ver2Func.pm
: https://github.com/leto/math--gsl/blob/master/inc/Ver2Func.pm#L323 and this is because there is no 2.6 key in the array@ver2func
at line #10 : https://github.com/leto/math--gsl/blob/master/inc/Ver2Func.pm#L10I tried to add an empty entry to the array as suggested by @leto :
and this makes the
perl Build.PL
finish with success. But now runningBuild
failsfor
swig/Interp.i
:The text was updated successfully, but these errors were encountered: