-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
I'm failing to compile arcae on a RH8 box using GCC 11.3.0 (using Spack 0.20.0). Here is the log:
==> Installing py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja
==> No binary for py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja found: installing from source
==> Ran patch() for py-arcae
==> py-arcae: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
'/work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/python-3.10.4-tl3vrz4pgbao3vfzuyldkj5bn7qpic4g/bin/python3.10' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja' '.'
144 errors found in build log:
266 -- Detecting C compile features - done
267 -- Found PkgConfig: /work/ska/soft/spack/blackhole/v2/opt/view__bipp-izar-gcc/bin/pkg-config (found version "1.9.5")
268 -- Checking for module 'casacore'
269 -- Found casacore, version 3.5.0
270 -- Found PythonInterp: /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/python-3.10.4-tl3vrz4pgbao3vfzuyldkj5bn7qpic4g/bin/python3
.10 (found version "3.10.4")
271 -- Found PythonLibs: /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/python-3.10.4-tl3vrz4pgbao3vfzuyldkj5bn7qpic4g/lib/libpython
3.10.so (found version "3.10.4")
>> 272 <string>:2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternati
ves
>> 273 <string>:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
274 -- Found Cython: /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-cython-0.29.33-ocv6lqlck5nqwelih2edoa6jltp3em4n/bin/cython
275 CYTHON table /tmp/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack-src/_skbuild/linux-x86_64-3.10/cmake-build/arcae/arrow_tab
les.cxx
276 -- Performing Test Weak Link MODULE -> SHARED (gnu_ld_ignore) - Success
277 _modinit_prefix:PyInit_
278 Linking arrow_tables against arrow_python
279 Linking arrow_tables against arrow
...
298 [4/11] Building CXX object cpp/CMakeFiles/arcae.dir/casa_visitors.cpp.o
299 [5/11] Building CXX object cpp/CMakeFiles/arcae.dir/safe_table_proxy.cpp.o
300 [6/11] Building CXX object cpp/CMakeFiles/arcae.dir/column_convert_visitor.cpp.o
301 [7/11] Linking CXX shared library cpp/libarcae.so
302 [8/11] Generating CXX source arcae/arrow_tables.cxx
303 [9/11] Building CXX object arcae/CMakeFiles/arrow_tables.dir/arrow_tables.cxx.o
>> 304 FAILED: arcae/CMakeFiles/arrow_tables.dir/arrow_tables.cxx.o
305 /work/backup/ska/orliac/spack_0200/lib/spack/env/gcc/g++ -Darrow_tables_EXPORTS -I/tmp/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3
cnja/spack-src/arcae/PkgConfig::casacore -I/work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyf
xmxdpzjy7t/lib/python3.10/site-packages/pyarrow/include -I/work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-numpy-1.24.3-a24j2n7xq
pnc4qlygxwkatwvmpbbbwxm/lib/python3.10/site-packages/numpy/core/include -I/tmp/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack
-src/cpp -I/work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/python-3.10.4-tl3vrz4pgbao3vfzuyldkj5bn7qpic4g/include/python3.10 -I/tmp
/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack-src/cpp/PkgConfig::casacore -isystem /tmp/orliac/spack-stage/spack-stage-py-a
rcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack-src/vcpkg/installed/x64-linux-dynamic-cxx17-abi0-rel/lib/pkgconfig/../../include -O3 -DNDEBUG -std=c++17 -fPIC -D
_GLIBCXX_USE_CXX11_ABI=0 -MD -MT arcae/CMakeFiles/arrow_tables.dir/arrow_tables.cxx.o -MF arcae/CMakeFiles/arrow_tables.dir/arrow_tables.cxx.o.d -o arcae/CMakeFil
es/arrow_tables.dir/arrow_tables.cxx.o -c /tmp/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack-src/_skbuild/linux-x86_64-3.10/
cmake-build/arcae/arrow_tables.cxx
306 In file included from /tmp/orliac/spack-stage/spack-stage-py-arcae-main-bgre6mp2qhikmyafc2yzgfv5nab3cnja/spack-src/_skbuild/linux-x86_64-3.10/cmake-build/arcae/
arrow_tables.cxx:786:
>> 307 /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyfxmxdpzjy7t/lib/python3.10/site-packages/p
yarrow/src/arrow/python/datetime.h:50:8: error: 'PyDateTime_CAPI' does not name a type; did you mean 'PyDateTimeAPI'?
308 50 | extern PyDateTime_CAPI* datetime_api;
309 | ^~~~~~~~~~~~~~~
310 | PyDateTimeAPI
311 /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyfxmxdpzjy7t/lib/python3.10/site-packages/p
yarrow/src/arrow/python/datetime.h: In function 'int64_t arrow::py::internal::PyTime_to_us(PyObject*)':
>> 312 /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyfxmxdpzjy7t/lib/python3.10/site-packages/p
yarrow/src/arrow/python/datetime.h:62:11: error: 'PyDateTime_TIME_GET_HOUR' was not declared in this scope
313 62 | return (PyDateTime_TIME_GET_HOUR(pytime) * 3600000000LL +
314 | ^~~~~~~~~~~~~~~~~~~~~~~~
>> 315 /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyfxmxdpzjy7t/lib/python3.10/site-packages/p
yarrow/src/arrow/python/datetime.h:63:11: error: 'PyDateTime_TIME_GET_MINUTE' was not declared in this scope
316 63 | PyDateTime_TIME_GET_MINUTE(pytime) * 60000000LL +
317 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> 318 /work/ska/soft/spack/blackhole/v2/opt/spack/linux-rhel8-cascadelake/gcc-11.3.0/py-pyarrow-12.0.0-qa5dzazodts7cvjtmy2cyfxmxdpzjy7t/lib/python3.10/site-packages/p
yarrow/src/arrow/python/datetime.h:64:11: error: 'PyDateTime_TIME_GET_SECOND' was not declared in this scope
319 64 | PyDateTime_TIME_GET_SECOND(pytime) * 1000000LL +
320 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
...
Can you guess what the problem is? (my cython version in use is 0.29.33)
Thank you,
Etienne
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working