Opened 2 years ago

Closed 2 years ago

#65433 closed defect (duplicate)

py39-numpy fails to build in Mojave

Reported by: dyne2meter Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: michaelld (Michael Dickens)
Port: py-numpy

Description

failure occurs for standard variants +gfortran +openblas; however, this failure does not occur using variant -gfortran +gcc11 +openblas

:info:build INFO: compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd -Inumpy/core/include -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/include/numpy -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/distutils/include -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/npymath -c'
:info:build extra options: '-msse -msse2 -msse3'
:info:build INFO: clang: numpy/core/src/_simd/_simd.c
:info:build INFO: clang: numpy/core/src/common/npy_cpu_features.c
:info:build INFO: /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.avx512_skx.o build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.avx512f.o build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.fma3.avx2.o build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.sse42.o build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.o build/temp.macosx-10.14-x86_64-cpython-39/numpy/core/src/common/npy_cpu_features.o build/temp.macosx-10.14-x86_64-cpython-39/numpy/core/src/_simd/_simd.o -Lbuild/temp.macosx-10.14-x86_64-cpython-39 -o build/lib.macosx-10.14-x86_64-cpython-39/numpy/core/_simd.cpython-39-darwin.so
:info:build error: Command "/usr/bin/clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -ftrapping-math -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/multiarray -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/include/numpy -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/distutils/include -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-10.14-x86_64-3.9/numpy/core/src/npymath -c build/src.macosx-10.14-x86_64-3.9/numpy/core/src/npysort/x86-qsort.dispatch.avx512_skx.cpp -o build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/npysort/x86-qsort.dispatch.avx512_skx.o -MMD -MF build/temp.macosx-10.14-x86_64-cpython-39/build/src.macosx-10.14-x86_64-3.9/numpy/core/src/npysort/x86-qsort.dispatch.avx512_skx.o.d -std=c++11 -D__STDC_VERSION__=0 -fno-exceptions -fno-rtti -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 -mavx512f -mno-mmx -mavx512cd -mavx512vl -mavx512bw -mavx512dq" failed with exit status 1
:info:build INFO: 
:info:build ########### EXT COMPILER OPTIMIZATION ###########
:info:build INFO: Platform      : 
:info:build   Architecture: x64
:info:build   Compiler    : clang
:info:build CPU baseline  : 
:info:build   Requested   : 'min'
:info:build   Enabled     : SSE SSE2 SSE3
:info:build   Flags       : -msse -msse2 -msse3
:info:build   Extra checks: none
:info:build CPU dispatch  : 
:info:build   Requested   : 'max -xop -fma4'
:info:build   Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
:info:build   Generated   : 
:info:build               : 
:info:build   SSE41       : SSE SSE2 SSE3 SSSE3
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1
:info:build   Extra checks: none
:info:build   Detect      : SSE SSE2 SSE3 SSSE3 SSE41
:info:build               : numpy/core/src/umath/_umath_tests.dispatch.c
:info:build               : 
:info:build   SSE42       : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2
:info:build   Extra checks: none
:info:build   Detect      : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42
:info:build               : build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.c
:info:build               : 
:info:build   AVX2        : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mavx2
:info:build   Extra checks: none
:info:build   Detect      : AVX F16C AVX2
:info:build               : numpy/core/src/umath/_umath_tests.dispatch.c
:info:build               : 
:info:build   (FMA3 AVX2) : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2
:info:build   Extra checks: none
:info:build   Detect      : AVX F16C FMA3 AVX2
:info:build               : build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.c
:info:build               : 
:info:build   AVX512F     : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 -mavx512f -mno-mmx
:info:build   Extra checks: AVX512F_REDUCE
:info:build   Detect      : AVX512F
:info:build               : build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.c
:info:build               : 
:info:build   AVX512_SKX  : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD
:info:build   Flags       : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 -mavx512f -mno-mmx -mavx512cd -mavx512vl -mavx512bw -mavx512dq
:info:build   Extra checks: none
:info:build   Detect      : AVX512_SKX
:info:build               : numpy/core/src/npysort/x86-qsort.dispatch.cpp
:info:build               : build/src.macosx-10.14-x86_64-3.9/numpy/core/src/_simd/_simd.dispatch.c
:info:build INFO: CCompilerOpt.cache_flush[857] : write cache to path -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-numpy/py39-numpy/work/numpy-1.23.0/build/temp.macosx-10.14-x86_64-cpython-39/ccompiler_opt_cache_ext.py
:info:build INFO: 
:info:build ########### CLIB COMPILER OPTIMIZATION ###########
:info:build INFO: Platform      : 
:info:build   Architecture: x64
:info:build   Compiler    : clang
:info:build CPU baseline  : 
:info:build   Requested   : 'min'
:info:build   Enabled     : SSE SSE2 SSE3
:info:build   Flags       : -msse -msse2 -msse3
:info:build   Extra checks: none
:info:build CPU dispatch  : 
:info:build   Requested   : 'max -xop -fma4'
:info:build   Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
:info:build   Generated   : none
:info:build INFO: CCompilerOpt.cache_flush[857] : write cache to path -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-numpy/py39-numpy/work/numpy-1.23.0/build/temp.macosx-10.14-x86_64-cpython-39/ccompiler_opt_cache_clib.py
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-numpy/py39-numpy/work/numpy-1.23.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 setup.py --no-user-cfg build -j4 
:info:build Exit code: 1
:error:build Failed to build py39-numpy: command execution failed
:debug:build Error code: CHILDSTATUS 61582 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-numpy/py39-numpy/main.log for details.

Attachments (1)

numpy.main.log.gz (14.4 KB) - added by dyne2meter 2 years ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by dyne2meter

Attachment: numpy.main.log.gz added

main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Port: py-numpy added; py39-numpy removed
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.