Opened 9 years ago
Last modified 9 years ago
#49680 closed defect
p5.22-pdl fails to build with gsl 2.0 — at Version 1
Reported by: | newville@… | Owned by: | mgrimes@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | p5-pdl |
Description (last modified by dbevans (David B. Evans))
On a freshly installed MacPorts 2.3.4 on El Capitan,
sudo port -v install p5.22-pdl gives make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.22-pdl/work/PDL-2.013/Lib/GSL/SF/ellint' /usr/bin/clang -c "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.22-pdl/work/PDL-2.013/Basic/Core" -I/opt/local/include -pipe -Os -fno-common -DPERL_DARWIN -I/opt/local/include -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -arch x86_64 -O3 -DVERSION=\"2.013\" -DXS_VERSION=\"2.013\" "-I/opt/local/lib/perl5/5.22/darwin-thread-multi-2level/CORE" ELLINT.c ELLINT.xs:1736:159: error: too many arguments to function call, expected 4, have 5 GSLERR(gsl_sf_ellint_D_e,((phi_datap)[0] PDL_COMMENT("ACCESS()") ,(k_datap)[0] PDL_COMMENT("ACCESS()") ,(n_datap)[0] PDL_COMMENT("ACCESS()") ,GSL_PREC_DOUBLE,&r)) ~~~~~~~~~~~~~~~~~ ^~ ./../gslerr.h:5:37: note: expanded from macro 'GSLERR' #define GSLERR(x,y) if ((status = x y)) {snprintf(buf,200,"Error in %s: %s", #x, gsl_strerror(status));barf("%s", buf);} ^ /opt/local/include/gsl/gsl_sf_ellint.h:84:1: note: 'gsl_sf_ellint_D_e' declared here int gsl_sf_ellint_D_e(double phi, double k, gsl_mode_t mode, gsl_sf_result * result); 1 error generated. make[4]: *** [ELLINT.o] Error 1
gsl is version 2.0
Change History (2)
comment:1 Changed 9 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mgrimes@… |
Port: | p5-pdl added |
Summary: | p5.22-pdl fails to build on El Capitan → p5.22-pdl fails to build with gsl 2.0 |
Version: | 2.3.4 |
Changed 9 years ago by dbevans (David B. Evans)
Build log showing build failure on Yosemite
Note: See
TracTickets for help on using
tickets.
This build error is reproducible on Yosemite using gsl 2.0 so not an El Capitan issue per se. Build is successful with previous version of gsl (version 1.16).