#50069 closed defect (fixed)
py27-gsl @0.9.5_1: distutils.errors.DistutilsExecError: min gsl version (1, 9) required
| Reported by: | glen@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.3.4 |
| Keywords: | Cc: | jjstickel (Jonathan Stickel), dtakahashi@…, petrrr | |
| Port: | py-gsl |
Description
OSX 10.11.2, Macbook pro (early 2015).
Logfile attached.
Attachments (2)
Change History (14)
Changed 11 years ago by glen@…
comment:2 Changed 11 years ago by mf2k (Frank Schima)
| Cc: | nomaintainer@… removed |
|---|---|
| Port: | py-gsl added; py27-gsl removed |
Please do not Cc nomaintainer@… because it is not a valid email address.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | jjstickel@… dtakahashi@… added |
|---|---|
| Summary: | py27-gsl fails to build → py27-gsl @0.9.5_1: distutils.errors.DistutilsExecError: min gsl version (1, 9) required |
Has duplicate #50024 (it's older, but doesn't have a log file).
comment:4 Changed 11 years ago by jjstickel (Jonathan Stickel)
The part of the other ticket not captured here: "An update to py-gsl is available (from 0.9.5 to 2.1.1). I tried incrementing the version number in the py-gsl port, but that resulted in different build errors."
comment:6 Changed 11 years ago by dbevans (David B. Evans)
Version 0.9.5 is 5 years old so it's not too surprising that it doesn't build with gsl 2.1.
However, as mentioned in the previous comment if one tries to build the latest 2.1.1 version is also fails with errors like
In file included from swig_src/callback_wrap.c:3624: Include/pygsl/pygsl_features.h:68:2: error: "Should be version 1." #error "Should be version 1."
and
swig_src/callback_wrap.c:14061:86: error: too many arguments to function call, expected 2, have 8
result = gsl_multifit_linear_svd((gsl_matrix const *)arg1,(gsl_vector const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
^~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This makes it pretty clear that even this latest version doesn't support gsl version 2 (which has a number of API changes).
Need to work with the upstream developer to add this support or obsolete the port.
comment:7 Changed 11 years ago by jjstickel (Jonathan Stickel)
pygsl has released version 2.2.0. The attached Portfile patch implements this version. I tested with python-2.7. Upstream README indicates that 3.4 should work, and 3.5 is being tested, but I have not tested those versions myself.
Changed 10 years ago by jjstickel (Jonathan Stickel)
| Attachment: | py-gsl_Portfile.diff added |
|---|
comment:8 Changed 10 years ago by jjstickel (Jonathan Stickel)
I replaced the patch to include python 3.4 and 3.5 (in addition to 2.7). I have now tested with python 2.7 and 3.5. All looks good. Please commit.
comment:9 Changed 10 years ago by petrrr
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Committed in r152239.
comment:10 follow-up: 11 Changed 10 years ago by petrrr
Thanks for your contribution. Would you be interested in maintaining the port?
comment:11 Changed 10 years ago by jjstickel (Jonathan Stickel)
Replying to petr@…:
Thanks for your contribution. Would you be interested in maintaining the port?
Sure, OK. But add openmaintainer also. Thanks.

Logfile (from clean build)