pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/math/py-scipy
Hi,
Adam <adam%netbsd.org@localhost> writes:
>>>> 1. Upstream is very clear about requiring only gcc>=9.1 in their
>>>> extensive documentation on toolchain dependencies in
>>>> doc/source/dev/toolchain.rst. I successfully built this on
>>>> netbsd-9 with gcc10. Evidently gcc>=14 is not required.
>>>
>>> It doesn't build for me with GCC 10 on NetBSD aarch64.
>>
>> How does it fail?
I have exactly same failures on NetBSD/amd64 10.99.12 of today.
With GCC 13 from lang/gcc13 and GCC_REQD=13, py313-scipy builds fine for me.
Of course GCC 14 from lang/gcc14 is fine.
By the way, USE_C_FEATURES=c17 is not effective.
It should be USE_CC_FEATURES.
Thank you.
> FAILED: scipy/special/_ufuncs_cxx.so.p/meson-generated__ufuncs_cxx.cpp.o c++ -Iscipy/special/_ufuncs_cxx.so.p -Iscipy/special -I../scipy/special -I../scipy/_lib/boost_math/include -Iscipy/_lib
> -I../scipy/_lib -I../scipy/_build_utils/src -I../../../../../../../usr/pkg/lib/python3.13/site-packages/numpy/_core/include -I/usr/pkg/include/python3.13 -I/usr/pkg/include -I/usr/include
> -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O3 -O2 -fno-stack-protector -pipe -D__STDC_FORMAT_MACROS
> -fPIC -DSP_SPECFUN_ERROR -DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -DCYTHON_CCOMPLEX=0 -DBOOST_MATH_STANDALONE=1 '-DCYTHON_EXTERN_C=extern "C"' -MD -MQ
> scipy/special/_ufuncs_cxx.so.p/meson-generated__ufuncs_cxx.cpp.o -MF scipy/special/_ufuncs_cxx.so.p/meson-generated__ufuncs_cxx.cpp.o.d -o
> scipy/special/_ufuncs_cxx.so.p/meson-generated__ufuncs_cxx.cpp.o -c scipy/special/_ufuncs_cxx.so.p/_ufuncs_cxx.cpp
> In file included from ../scipy/special/stirling2.h:9,
> from scipy/special/_ufuncs_cxx_defs.h:112,
> from scipy/special/_ufuncs_cxx.so.p/_ufuncs_cxx.cpp:1246:
> ../scipy/special/xsf/evalpoly.h:26:29: error: expected unqualified-id before '_Complex'
> 26 | XSF_HOST_DEVICE inline std::complex<double> cevalpoly(const double *coeffs, int degree, std::complex<double> z) {
> | ^~~~~~~
> ../scipy/special/xsf/lambertw.h:38:33: error: expected unqualified-id before '_Complex'
> 38 | XSF_HOST_DEVICE inline std::complex<double> lambertw_branchpt(std::complex<double> z) {
> | ^~~~~~~
> ../scipy/special/xsf/lambertw.h:46:33: error: expected unqualified-id before '_Complex'
> 46 | XSF_HOST_DEVICE inline std::complex<double> lambertw_pade0(std::complex<double> z) {
> | ^~~~~~~
> ../scipy/special/xsf/lambertw.h:57:33: error: expected unqualified-id before '_Complex'
> 57 | XSF_HOST_DEVICE inline std::complex<double> lambertw_asy(std::complex<double> z, long k) {
> | ^~~~~~~
> ../scipy/special/xsf/lambertw.h:67:29: error: expected unqualified-id before '_Complex'
> 67 | XSF_HOST_DEVICE inline std::complex<double> lambertw(std::complex<double> z, long k, double tol) {
> | ^~~~~~~
> ../scipy/special/xsf/lambertw.h:145:29: error: expected unqualified-id before '_Complex'
> 145 | XSF_HOST_DEVICE inline std::complex<float> lambertw(std::complex<float> z, long k, float tol) {
> | ^~~~~~~
> ../scipy/special/stirling2.h: In function 'double _stirling2_temme(double, double)':
> ../scipy/special/stirling2.h:86:8: error: expected unqualified-id before '_Complex'
> 86 | std::complex<double> delta = std::complex<double>(-d, 0);
> | ^~~~~~~
> ../scipy/special/stirling2.h:89:8: error: expected unqualified-id before '_Complex'
> 89 | std::complex<double> lwv = xsf::lambertw(delta, 0, 1e-8);
> | ^~~~~~~
> ../scipy/special/stirling2.h:90:15: error: 'lwv' was not declared in this scope
> 90 | double x0 = lwv.real() + 1/mu;
> | ^~~
> ../scipy/special/stirling2.h:85:10: warning: unused variable 'd' [-Wunused-variable]
> 85 | double d = exp(-1/mu) / mu;
> | ^
> ../scipy/special/Faddeeva.hh: At global scope:
> ../scipy/special/Faddeeva.hh:37:13: error: expected unqualified-id before '_Complex'
> 37 | extern std::complex<double> w(std::complex<double> z,double relerr=0);
> | ^~~~~~~
> ../scipy/special/Faddeeva.hh:43:13: error: expected unqualified-id before '_Complex'
> 43 | extern std::complex<double> erfcx(std::complex<double> z, double relerr=0);
> | ^~~~~~~
> ../scipy/special/Faddeeva.hh:47:13: error: expected unqualified-id before '_Complex'
> 47 | extern std::complex<double> erf(std::complex<double> z, double relerr=0);
> | ^~~~~~~
> ../scipy/special/Faddeeva.hh:51:13: error: expected unqualified-id before '_Complex'
> 51 | extern std::complex<double> erfi(std::complex<double> z, double relerr=0);
> | ^~~~~~~
> ../scipy/special/Faddeeva.hh:55:13: error: expected unqualified-id before '_Complex'
> 55 | extern std::complex<double> erfc(std::complex<double> z, double relerr=0);
> | ^~~~~~~
> ../scipy/special/Faddeeva.hh:59:13: error: expected unqualified-id before '_Complex'
> 59 | extern std::complex<double> Dawson(std::complex<double> z, double relerr=0);
> | ^~~~~~~
> In file included from ../scipy/special/ellint_carlson_cpp_lite/ellint_carlson.hh:5,
> from ../scipy/special/ellint_carlson_wrap.hh:20,
> from scipy/special/_ufuncs_cxx_defs.h:125:
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:22:41: error: template argument 1 is invalid
> 22 | struct is_complex< std::complex<RT> > :
> | ^
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:45:36: error: template argument 1 is invalid
> 45 | struct decplx< std::complex<T> >
> | ^
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:64:40: error: template argument 2 is invalid
> 64 | struct pm_impl< T, std::complex<T> >
> | ^
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:70:40: error: wrong number of template arguments (1, should be 2)
> 70 | struct pm_impl< std::complex<T>, T >
> | ^
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:55:12: note: provided for 'template<class T, class U> struct ellint_carlson::typing::pm_impl'
> 55 | struct pm_impl {};
> | ^~~~~~~
> ../scipy/special/ellint_carlson_cpp_lite/ellint_typing.hh:97:42: error: template argument 1 is invalid
> 97 | struct corrbuf< std::complex<RT> >
> | ^
> ../scipy/special/wright.hh:10:26: error: expected unqualified-id before '_Complex'
> 10 | int wrightomega_ext(std::complex<double> z, std::complex<double> *w,
> | ^~~~~~~
> ../scipy/special/wright.hh:10:50: error: expected unqualified-id before '_Complex'
> 10 | int wrightomega_ext(std::complex<double> z, std::complex<double> *w,
> | ^~~~~~~
> ../scipy/special/wright.hh:11:26: error: expected unqualified-id before '_Complex'
> 11 | std::complex<double> *cond);
> | ^~~~~~~
> In file included from ../scipy/special/_wright.h:15,
> from scipy/special/_ufuncs_cxx_defs.h:158:
> ../scipy/special/wright.hh:11:47: error: expression list treated as compound expression in initializer [-fpermissive]
> 11 | std::complex<double> *cond);
> | ^
> ../scipy/special/wright.hh:12:6: error: expected unqualified-id before '_Complex'
> 12 | std::complex<double> wrightomega(std::complex<double> z);
> | ^~~~~~~
> In file included from ../scipy/_lib/boost_math/include/boost/math/special_functions/detail/bernoulli_details.hpp:11,
> from ../scipy/_lib/boost_math/include/boost/math/special_functions/bernoulli.hpp:16,
> from ../scipy/_lib/boost_math/include/boost/math/special_functions/gamma.hpp:41,
> from ../scipy/_lib/boost_math/include/boost/math/special_functions/beta.hpp:22,
> from ../scipy/special/boost_special_functions.h:10,
> from scipy/special/_ufuncs_cxx_defs.h:3:
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index