[MacPorts] #49680: p5.22-pdl fails to build on El Capitan
#49680: p5.22-pdl fails to build on El Capitan ------------------------+-------------------------------- Reporter: newville@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/49680> MacPorts <https://www.macports.org/> Ports system for OS X
#49680: p5.22-pdl fails to build with gsl 2.0 -------------------------+----------------------- Reporter: newville@… | Owner: mgrimes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-pdl | -------------------------+----------------------- Changes (by devans@…): * owner: macports-tickets@… => mgrimes@… * version: 2.3.4 => * port: => p5-pdl Old description:
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
New description: 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 -- Comment: 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). -- Ticket URL: <https://trac.macports.org/ticket/49680#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49680: p5.22-pdl fails to build with gsl 2.0 -------------------------+----------------------- Reporter: newville@… | Owner: mgrimes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-pdl | -------------------------+----------------------- Comment (by devans@…): Error persists attempting update to current PDL version 2.014. -- Ticket URL: <https://trac.macports.org/ticket/49680#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49680: p5.22-pdl fails to build with gsl 2.0 -------------------------+----------------------- Reporter: newville@… | Owner: mgrimes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-pdl | -------------------------+----------------------- Comment (by devans@…): Issue is due to removal of unused argument n from functions gsl_sf_ellint_D(), gsl_sf_ellint_D_e() in gsl 2.0+. See http://git.savannah.gnu.org/cgit/gsl.git/commit/?id=de2ed0d0768f6e206f8cc7b0... -- Ticket URL: <https://trac.macports.org/ticket/49680#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49680: p5.22-pdl fails to build with gsl 2.0 -------------------------+----------------------- Reporter: newville@… | Owner: mgrimes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-pdl | -------------------------+----------------------- Comment (by devans@…): p5-pdl updated to version 2.014 and tentative patch applied to fix build issue in r142499. Let us know if this works for you on El Capitan. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/49680#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49680: p5.22-pdl fails to build with gsl 2.0 -------------------------+----------------------- Reporter: newville@… | Owner: mgrimes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: p5-pdl | -------------------------+----------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Build tested successfully on El Capitan (10.11.2 public beta3, Xcode 7.1.1) -- Ticket URL: <https://trac.macports.org/ticket/49680#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts