Bug#901807: libmath-gsl-perl: incompatible with GSL >= 2.5
gregor herrmann
gregoa at debian.org
Sun Jun 24 15:02:06 BST 2018
On Sun, 24 Jun 2018 15:38:16 +0300, Niko Tyni wrote:
> There seem to be multiple problems here.
Thanks for all your work!
> Another is that the code in xs/ should really be rebuilt from the
> sources in swig/, but this is currently skipped; Build.PL has
>
> my $ver2func = do(catfile(qw/inc ver2func/));
>
> which breaks silently now that cwd is not on @INC anymore.
I patched Build.PL like:
-my $ver2func = do(catfile(qw/inc ver2func/));
+my $ver2func = do('./' . catfile(qw/inc ver2func/));
> I was able to cobble a working rebuild together with something like this:
>
> perl -I. Build.PL
> perl Build clean # removes xs/*
> perl -I. Build.PL
> perl Build # regenerates xs/*
> perl Build test
This doesn't work for me, I run into
perl Build
Can't find appropriate bindings version, check 'xs' directory, it should contains bindings with version <= current GSL version (2.5) at inc/GSLBuilder.pm line 93.
(from inc/GSLBuilder.pm).
But the good news is that I found another way to force a swig
rebuild:
--- a/inc/GSLBuilder.pm
+++ b/inc/GSLBuilder.pm
@@ -10,7 +10,7 @@
use base 'Module::Build';
sub is_release {
- return -e '.git' ? 0 : 1;
+ return 0;
}
sub subsystems {
sort qw/
> and the attached two patches.
Thanks!
> The latter one may not turn out to be
> necessary if the deprecated functions get reinstated with #902281.
Ack.
I've pushed your and my patches, but I'd rather have another
doublecheck before uploading.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Various Artists: Fields of Athenry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20180624/285ffe5f/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list