Skip Menu |
 

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

Report information
The Basics
Id: 108378
Status: resolved
Priority: 0/
Queue: Math-GSL

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

Bug Information
Severity: Normal
Broken in: 0.35
Fixed in: 0.38



Subject: Math-GSL-0.35 fails to build against GSL-2.0
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-30334-1446455361-1739.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 456
Download (untitled) / with headers
text/plain 456b
Attempting to build Math-GSL-0.35 against GSL-2.0 results in the following error: Process XS files version 1.16 (GSL version 2.0) xs\BSpline_wrap.1.16.c: In function '_wrap_gsl_bspline_deriv_eval': xs\BSpline_wrap.1.16.c:3282:19: error: too many arguments to function 'gsl_bspline_deriv_eval' result = (int)gsl_bspline_deriv_eval(arg1,arg2,arg3,arg4,arg5); Will swig automatically handle the various API changes that gsl-2.0 presents ? Cheers, Rob
MIME-Version: 1.0
X-Spam-Status: No, score=-6.25 tagged_above=-99.9 required=10 tests=[AWL=0.350, BAYES_00=-1.9, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-30334-1446455361-734.108378-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-108378 [...] rt.cpan.org> <rt-4.0.18-30334-1446455361-734.108378-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: Debian amavisd-new at alfarrabio.di.uminho.pt
Message-ID: <56374A5F.90509 [...] perl-hackers.net>
content-type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.25
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C42AB2401F8 for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 06:34:46 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OHSFH6iX5v0D for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 06:34:44 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 669E7240051 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 06:34:44 -0500 (EST)
Received: (qmail 30219 invoked by alias); 2 Nov 2015 11:34:43 -0000
Received: from alfarrabio.di.uminho.pt (HELO alfarrabio.di.uminho.pt) (193.136.19.140) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 02 Nov 2015 03:34:39 -0800
Received: from localhost (localhost [127.0.0.1]) by alfarrabio.di.uminho.pt (Postfix) with ESMTP id 7D905341CE6 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 11:33:08 +0000 (WET)
Received: from alfarrabio.di.uminho.pt ([127.0.0.1]) by localhost (alfarrabio.di.uminho.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nod9a1DBJL+W for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 11:33:03 +0000 (WET)
Received: from [192.168.33.122] (unknown [193.137.231.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by alfarrabio.di.uminho.pt (Postfix) with ESMTPSA id 0D142341C2C for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 11:33:03 +0000 (WET)
Delivered-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Subject: Re: [rt.cpan.org #108378] Math-GSL-0.35 fails to build against GSL-2.0
Return-Path: <ambs [...] perl-hackers.net>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-gsl
Date: Mon, 02 Nov 2015 11:34:55 +0000
X-Spam-Level:
To: bug-Math-Gsl [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Alberto Simoes <ambs [...] perl-hackers.net>
RT-Message-ID: <rt-4.0.18-3984-1446464088-1494.108378-0-0 [...] rt.cpan.org>
Content-Length: 1160
Download (untitled) / with headers
text/plain 1.1k
Ah, great. More work :-) Thanks for pointing GSL 2.0 release. I hope we can make the module work with 1.x and 2.x, but I did not look into it yet, so, not sure. Also, not sure if I will be able to look it as fast as I would like. Best, Alberto On 02/11/2015 09:09, Sisyphus via RT wrote: Show quoted text
> Mon Nov 02 04:09:21 2015: Request 108378 was acted upon. > Transaction: Ticket created by SISYPHUS > Queue: Math-Gsl > Subject: Math-GSL-0.35 fails to build against GSL-2.0 > Broken in: 0.35 > Severity: Normal > Owner: Nobody > Requestors: sisyphus@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=108378 > > > > Attempting to build Math-GSL-0.35 against GSL-2.0 results in the following error: > > Process XS files version 1.16 (GSL version 2.0) > xs\BSpline_wrap.1.16.c: In function '_wrap_gsl_bspline_deriv_eval': > xs\BSpline_wrap.1.16.c:3282:19: error: too many arguments to function 'gsl_bspline_deriv_eval' > result = (int)gsl_bspline_deriv_eval(arg1,arg2,arg3,arg4,arg5); > > Will swig automatically handle the various API changes that gsl-2.0 presents ? > > Cheers, > Rob >
MIME-Version: 1.0
X-Spam-Status: No, score=-5.312 tagged_above=-99.9 required=10 tests=[AWL=1.298, BAYES_00=-1.9, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To: <rt-4.0.18-3984-1446464088-1087.108378-6-0 [...] rt.cpan.org>
X-Mailer: Microsoft Windows Live Mail 16.4.3505.912
X-Spam-Flag: NO
X-Optus-CM-Score: 0
X-RT-Interface: API
References: <RT-Ticket-108378 [...] rt.cpan.org> <rt-4.0.18-30334-1446455361-734.108378-4-0 [...] rt.cpan.org> <56374A5F.90509 [...] perl-hackers.net> <rt-4.0.18-3984-1446464088-1087.108378-6-0 [...] rt.cpan.org>
Importance: Normal
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <F31B987E525D4B5CBBD84B35E0128068 [...] OwnerPC311012>
content-type: text/plain; charset="utf-8"; format="flowed"; reply-type="original"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.312
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C9754240030 for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 07:37:05 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lQv23qHQTGsI for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 07:37:04 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id AD9F42400A8 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 07:37:03 -0500 (EST)
Received: (qmail 1218 invoked by alias); 2 Nov 2015 12:37:02 -0000
Received: from mail106.syd.optusnet.com.au (HELO mail106.syd.optusnet.com.au) (211.29.132.42) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 02 Nov 2015 04:36:58 -0800
Received: from OwnerPC311012 (unknown [203.202.164.190]) (Authenticated sender: sisyphus1 [...] optusnet.com.au) by mail106.syd.optusnet.com.au (Postfix) with ESMTPA id 0EB493C5DF3 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 23:36:48 +1100 (AEDT)
Delivered-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #108378] Math-GSL-0.35 fails to build against GSL-2.0
Return-Path: <sisyphus1 [...] optusnet.com.au>
X-Msmail-Priority: Normal
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-gsl
X-Priority: 3
Date: Mon, 2 Nov 2015 23:36:24 +1100
X-Spam-Level:
X-Mimeole: Produced By Microsoft MimeOLE V16.4.3505.912
To: <bug-Math-Gsl [...] rt.cpan.org>
Content-Transfer-Encoding: 7bit
From: <sisyphus1 [...] optusnet.com.au>
X-Optus-CM-Analysis: v=2.1 cv=cK4dyQqN c=1 sm=1 tr=0 a=8e8rgZJuizJfF74+JHJpGg==:117 a=8e8rgZJuizJfF74+JHJpGg==:17 a=PO7r1zJSAAAA:8 a=eNcD7ojaAAAA:8 a=IkcTkHD0fZMA:10 a=q9vHNkVeR0kXTaUnnF4A:9 a=QEXdDO2ut3YA:10 a=IYX7YI2ip6gA:10
RT-Message-ID: <rt-4.0.18-2560-1446467826-959.108378-0-0 [...] rt.cpan.org>
Content-Length: 893
Download (untitled) / with headers
text/plain 893b
Show quoted text
-----Original Message----- From: Alberto Simoes via RT
> <URL: https://rt.cpan.org/Ticket/Display.html?id=108378 > > > Ah, great. More work :-) > > Thanks for pointing GSL 2.0 release. > I hope we can make the module work with 1.x and 2.x, but I did not look > into it yet, so, not sure. > > Also, not sure if I will be able to look it as fast as I would like.
No great rush from my POV. I'm not sure how swig will go about accommodating the various functions whose prototypes have changed from 1.16 to 2.0 - or detecting that the gsl-2.0 libraries don't resolve the deprecated functions. I guess another option is to leave Math::GSL as the module that one uses with gsl-1.x, and create a separate module named (eg) Math::GSL2 for use with versions 2.x of gsl. But you'll probably have a better idea of how to deal with this than I do. (Well .... hopefully, anyway :-) Cheers, Rob
MIME-Version: 1.0
X-Spam-Status: No, score=-6.425 tagged_above=-99.9 required=10 tests=[AWL=0.175, BAYES_00=-1.9, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-2560-1446467826-1251.108378-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-108378 [...] rt.cpan.org> <rt-4.0.18-30334-1446455361-734.108378-4-0 [...] rt.cpan.org> <56374A5F.90509 [...] perl-hackers.net> <rt-4.0.18-3984-1446464088-1087.108378-6-0 [...] rt.cpan.org> <F31B987E525D4B5CBBD84B35E0128068 [...] OwnerPC311012> <rt-4.0.18-2560-1446467826-1251.108378-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: Debian amavisd-new at alfarrabio.di.uminho.pt
Message-ID: <56375991.8050706 [...] perl-hackers.net>
content-type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.425
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 929292400A8 for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 07:39:37 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VI9X61P9GA3m for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Mon, 2 Nov 2015 07:39:36 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id BB4CA240030 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 07:39:35 -0500 (EST)
Received: (qmail 1363 invoked by alias); 2 Nov 2015 12:39:35 -0000
Received: from alfarrabio.di.uminho.pt (HELO alfarrabio.di.uminho.pt) (193.136.19.140) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 02 Nov 2015 04:39:29 -0800
Received: from localhost (localhost [127.0.0.1]) by alfarrabio.di.uminho.pt (Postfix) with ESMTP id DD712341CEF for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 12:37:56 +0000 (WET)
Received: from alfarrabio.di.uminho.pt ([127.0.0.1]) by localhost (alfarrabio.di.uminho.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id odmm3gJsUCC4 for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 12:37:51 +0000 (WET)
Received: from [192.168.33.122] (unknown [193.137.231.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by alfarrabio.di.uminho.pt (Postfix) with ESMTPSA id 7259B341CEE for <bug-Math-Gsl [...] rt.cpan.org>; Mon, 2 Nov 2015 12:37:51 +0000 (WET)
Delivered-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Subject: Re: [rt.cpan.org #108378] Math-GSL-0.35 fails to build against GSL-2.0
Return-Path: <ambs [...] perl-hackers.net>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-gsl
Date: Mon, 02 Nov 2015 12:39:45 +0000
X-Spam-Level:
To: bug-Math-Gsl [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Alberto Simoes <ambs [...] perl-hackers.net>
RT-Message-ID: <rt-4.0.18-12044-1446467978-444.108378-0-0 [...] rt.cpan.org>
Content-Length: 1364
Download (untitled) / with headers
text/plain 1.3k
On 02/11/2015 12:37, sisyphus1@optusnet.com.au via RT wrote: Show quoted text
> Queue: Math-Gsl > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=108378 > > > -----Original Message----- > From: Alberto Simoes via RT
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=108378 > >> >> Ah, great. More work :-) >> >> Thanks for pointing GSL 2.0 release. >> I hope we can make the module work with 1.x and 2.x, but I did not look >> into it yet, so, not sure. >> >> Also, not sure if I will be able to look it as fast as I would like.
> No great rush from my POV. > I'm not sure how swig will go about accommodating the various functions > whose prototypes have changed from 1.16 to 2.0 - or detecting that the > gsl-2.0 libraries don't resolve the deprecated functions. > > I guess another option is to leave Math::GSL as the module that one uses > with gsl-1.x, and create a separate module named (eg) Math::GSL2 for use > with versions 2.x of gsl. > > But you'll probably have a better idea of how to deal with this than I do. > (Well .... hopefully, anyway :-) >
For another module, where the author of the C library changes the API in minor version changes, I am shipping two swig files, and use one or another, when needed. But that is a much smaller api than gsl. Maybe gsl2 isn't that bad idea. But would love to give it a try first. Leto? thoughts?
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30334-1446455361-1739.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30334-1446455361-1739.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-26664-1475269117-308.108378-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 866
Download (untitled) / with headers
text/plain 866b
GSL 2.x is now supported. Note that GSL 1.15/1.16 are currently broke in Math::GSL 0.38 but I am hoping to fix that soon. We have to do some special things for GSL API changes but I have it mostly figured out. Turns out their Bspline API change is the most annoying to deal with: https://github.com/leto/math--gsl/issues/97 Duke On Mon Nov 02 04:09:21 2015, SISYPHUS wrote: Show quoted text
> Attempting to build Math-GSL-0.35 against GSL-2.0 results in the > following error: > > Process XS files version 1.16 (GSL version 2.0) > xs\BSpline_wrap.1.16.c: In function '_wrap_gsl_bspline_deriv_eval': > xs\BSpline_wrap.1.16.c:3282:19: error: too many arguments to function > 'gsl_bspline_deriv_eval' > result = (int)gsl_bspline_deriv_eval(arg1,arg2,arg3,arg4,arg5); > > Will swig automatically handle the various API changes that gsl-2.0 > presents ? > > Cheers, > Rob


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.