Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2016 19:48:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210168] [patch] math/gsl: update to 2.1
Message-ID:  <bug-210168-13-0l5XUhhkOU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210168-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210168-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210168

--- Comment #5 from Rainer Hurling <rhurlin@gwdg.de> ---
I just added a new PR (bug #211444), which updates math/ocamlgsl to 1.19.1.
This updates builds with math/gsl 2.1.

Other than mentiond in comment #4, math/orpie does not build with updated
math/ocamlgsl. Instead, it gives two errors:


mlgsl_sf.c:261:51: error: too many arguments to function call, expected 3, =
have
4
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
mlgsl_sf.c:56:22: note: expanded from macro 'GSL_MODE_val'
#define GSL_MODE_val Int_val
                     ^
mlgsl_sf.c:95:43: note: expanded from macro 'SF4'
  ML4(gsl_sf_##name, conv1, conv2, conv3, conv4, copy_double) \
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./wrappers.h:74:66: note: expanded from macro 'ML4'
    CAMLreturn(convr(name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4=
))))
; }
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~=
~~~~


mlgsl_sf.c:261:1: error: too many arguments to function call, expected 4, h=
ave
5
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlgsl_sf.c:96:3: note: expanded from macro 'SF4'
  ML4_res(gsl_sf_##name##_e, conv1, conv2, conv3, conv4)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlgsl_sf.c:77:62: note: expanded from macro 'ML4_res'
    name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4), &res); \
    ~~~~                                                     ^~~~
/usr/local/include/gsl/gsl_sf_ellint.h:84:1: note: 'gsl_sf_ellint_D_e' decl=
ared
here
int gsl_sf_ellint_D_e(double phi, double k, gsl_mode_t mode, gsl_sf_result *
result);
^


So, at least six ports will fail after update of math/gsl and math/ocamlgsl.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210168-13-0l5XUhhkOU>