[MacPorts] #63233: Unable to Upgrade py39-scipy on Lion. Fails to Build.

MacPorts noreply at macports.org
Fri Jul 9 16:12:33 UTC 2021


#63233: Unable to Upgrade py39-scipy on Lion.  Fails to Build.
-------------------------+--------------------
  Reporter:  RobK88      |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  lion
      Port:  py39-scipy  |
-------------------------+--------------------

Comment (by RobK88):

 I tried the upgrade the port again.  Here is some more useful info:


 {{{
 bash-3.2$ port outdated
 The following installed ports are outdated:
 py39-scipy                     1.6.3_0 < 1.7.0_0
 bash-3.2$
 bash-3.2$ sudo port clean py39-scipy
 --->  Cleaning py39-scipy
 bash-3.2$
 bash-3.2$ sudo port -v upgrade outdated

 etc etc.

 clang++-mp-9.0: scipy/interpolate/_rbfinterp_pythran.cpp
 In file included from scipy/interpolate/_rbfinterp_pythran.cpp:26:
 In file included from
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/pythonic/include/numpy/exp.hpp:8:
 In file included from
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/xsimd.hpp:17:
 In file included from
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_math.hpp:23:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:360:9: error: use of
 undeclared identifier '__sincosf'; did you mean 'sincos'?
         __sincosf(val, &s, &c);
         ^~~~~~~~~
         sincos
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:357:17: note: 'sincos'
 declared here
     inline void sincos(float val, float&s, float& c)
                 ^
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:360:24: error: non-
 const lvalue reference to type 'float' cannot bind to a temporary of type
 'float *'
         __sincosf(val, &s, &c);
                        ^~
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:357:41: note: passing
 argument to parameter 's' here
     inline void sincos(float val, float&s, float& c)
                                         ^
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:372:9: error: use of
 undeclared identifier '__sincos'; did you mean 'sincos'?
         __sincos(val, &s, &c);
         ^~~~~~~~
         sincos
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:369:17: note: 'sincos'
 declared here
     inline void sincos(double val, double&s, double& c)
                 ^
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:372:23: error: non-
 const lvalue reference to type 'double' cannot bind to a temporary of type
 'double *'
         __sincos(val, &s, &c);
                       ^~
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran/xsimd/math/xsimd_scalar.hpp:369:43: note: passing
 argument to parameter 's' here
     inline void sincos(double val, double&s, double& c)
                                           ^
 4 errors generated.
 error: Command
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 scipy/py39-scipy/work/compwrap/cxx/opt/local/bin/clang++-mp-9.0 -Wno-
 unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic
 -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/
 -I/opt/local/libexec/boost/1.71/include -I/opt/local/include
 -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pythran
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/include
 -Ibuild/src.macosx-10.7-x86_64-3.9/numpy/distutils/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
 -c scipy/interpolate/_rbfinterp_pythran.cpp -o
 build/temp.macosx-10.7-x86_64-3.9/scipy/interpolate/_rbfinterp_pythran.o
 -MMD -MF
 build/temp.macosx-10.7-x86_64-3.9/scipy/interpolate/_rbfinterp_pythran.o.d
 -std=c++11 -fno-math-errno -w -stdlib=libc++ -isysroot/ -msse -msse2
 -msse3" failed with exit status 1

 ########### EXT COMPILER OPTIMIZATION ###########
 Platform      :
   Architecture: x64
   Compiler    : clang

 CPU baseline  :
   Requested   : 'min'
   Enabled     : SSE SSE2 SSE3
   Flags       : -msse -msse2 -msse3
   Extra checks: none

 CPU dispatch  :
   Requested   : 'max -xop -fma4'
   Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F
 AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
   Generated   : none
 CCompilerOpt.cache_flush[804] : write cache to path ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-scipy/py39-scipy/work/scipy-scipy-
 c3bac55/build/temp.macosx-10.7-x86_64-3.9/ccompiler_opt_cache_ext.py

 ########### CLIB COMPILER OPTIMIZATION ###########
 Platform      :
   Architecture: x64
   Compiler    : clang

 CPU baseline  :
   Requested   : 'min'
   Enabled     : SSE SSE2 SSE3
   Flags       : -msse -msse2 -msse3
   Extra checks: none

 CPU dispatch  :
   Requested   : 'max -xop -fma4'
   Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F
 AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
   Generated   : none
 CCompilerOpt.cache_flush[804] : write cache to path ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-scipy/py39-scipy/work/scipy-scipy-
 c3bac55/build/temp.macosx-10.7-x86_64-3.9/ccompiler_opt_cache_clib.py
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-scipy/py39-scipy/work/scipy-1.7.0"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec
 /opt/local/bin/gfortran-mp-11 --f77flags='-m64 -Os -fno-second-underscore'
 --f90exec /opt/local/bin/gfortran-mp-11 --f90flags='-m64 -Os -fno-second-
 underscore' config --cc /opt/local/bin/clang-mp-9.0 --include-dirs
 /opt/local/include --library-dirs /opt/local/lib build -j4
 Exit code: 1
 Error: Failed to build py39-scipy: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-scipy/py39-scipy/main.log for
 details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63233#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list