I tried to build o2 yesterday 02.18.23 using
aliBuild build O2 --defaults o2
and it fails at
==> Python-modules is being built (use --debug for full output): failed
ERROR: Error while executing /Users/ejgarcia/alice/sw/SPECS/osx_x86-64/Python-modules/1.0-local1/build.sh on `Io’.
ERROR: Log can be found in /Users/ejgarcia/alice/sw/BUILD/Python-modules-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /Users/ejgarcia/alice/sw/BUILD/Python-modules-latest/Python-modules.
I am using a Mac OS Ventura 13.1 - 2.3 GHz Quad-Core Intel Core i7
Xcode 14.2
Below is the log file, any help is appreciated
-
unset PYTHONPATH
++ ‘[’ ‘!’ X = X ‘]’
+++ eval echo ‘${PIP39_REQUIREMENTS_osx_x86_64:-PyYAML==5.1’ psutil==5.8.0 uproot==4.1.0 numpy==1.21.4 scipy==1.7.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.5.2 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1 ‘}’
++++ echo PyYAML==5.1 psutil==5.8.0 uproot==4.1.0 numpy==1.21.4 scipy==1.7.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.5.2 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1
++ PIP39_REQUIREMENTS=‘PyYAML==5.1 psutil==5.8.0 uproot==4.1.0 numpy==1.21.4 scipy==1.7.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.5.2 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1’
+++ eval echo ‘${PIP310_REQUIREMENTS_osx_x86_64:-PyYAML==5.4’ psutil==5.9.0 uproot==4.1.0 numpy==1.23.4 scipy==1.9.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.8.1 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1 ‘}’
++++ echo PyYAML==5.4 psutil==5.9.0 uproot==4.1.0 numpy==1.23.4 scipy==1.9.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.8.1 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1
++ PIP310_REQUIREMENTS=‘PyYAML==5.4 psutil==5.9.0 uproot==4.1.0 numpy==1.23.4 scipy==1.9.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.8.1 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1’
++ case $ARCHITECTURE in
++ echo requests==2.27.1 ipykernel==5.1.0 ipython==7.4.0 ipywidgets==7.4.2 metakernel==0.20.14 mock==2.0.0 notebook==5.7.8 scons==4.1.0
++ tr ’ ’ ‘\n’
++ python3 -c ‘import sys; exit(0 if 1000*sys.version_info.major + sys.version_info.minor >= 3010 else 1)’
++ echo PyYAML==5.4 psutil==5.9.0 uproot==4.1.0 numpy==1.23.4 scipy==1.9.3 Cython==0.29.21 seaborn==0.11.0 scikit-learn==0.24.1 sklearn-evaluation==0.8.1 Keras==2.4.3 xgboost==1.2.0 dryable==1.0.5 responses==0.10.6 pandas==1.1.5 setuptools==65.5.1
++ tr ’ ’ ‘\n’
++ PYTHON_MODULES_INSTALLROOT=/Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules
++ mkdir -p /Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules
++ python3 -m venv /Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules
++ . /Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules/bin/activate
+++ deactivate nondestructive
+++ ‘[’ -n ‘’ ‘]’
+++ ‘[’ -n ‘’ ‘]’
+++ ‘[’ -n /bin/bash -o -n ‘’ ‘]’
+++ hash -r
+++ ‘[’ -n ‘’ ‘]’
+++ unset VIRTUAL_ENV
+++ unset VIRTUAL_ENV_PROMPT
+++ ‘[’ ‘!’ nondestructive = nondestructive ‘]’
+++ VIRTUAL_ENV=/Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules
+++ export VIRTUAL_ENV
+++ _OLD_VIRTUAL_PATH=/Users/ejgarcia/alice/sw/wrapper-scripts:/Users/ejgarcia/alice/sw/osx_x86-64/Python-modules-list/1.0-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/curl/7.70.0-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/alibuild-recipe-tools/0.2.3-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/defaults-release/v1-local1/bin:/Users/ejgarcia/alice/sw/wrapper-scripts:/usr/local/opt/gettext/bin:/usr/local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
+++ PATH=/Users/ejgarcia/alice/sw/INSTALLROOT/ee5857b04a3184018a90b9063a0db395722e6a46/osx_x86-64/Python-modules/1.0-local1/share/python-modules/bin:/Users/ejgarcia/alice/sw/wrapper-scripts:/Users/ejgarcia/alice/sw/osx_x86-64/Python-modules-list/1.0-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/curl/7.70.0-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/alibuild-recipe-tools/0.2.3-local1/bin:/Users/ejgarcia/alice/sw/osx_x86-64/defaults-release/v1-local1/bin:/Users/ejgarcia/alice/sw/wrapper-scripts:/usr/local/opt/gettext/bin:/usr/local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
+++ export PATH
+++ ‘[’ -n ‘’ ‘]’
+++ ‘[’ -z ‘’ ‘]’
+++ _OLD_VIRTUAL_PS1=
+++ PS1=‘(python-modules) ’
+++ export PS1
+++ VIRTUAL_ENV_PROMPT=’(python-modules) ’
+++ export VIRTUAL_ENV_PROMPT
+++ ‘[’ -n /bin/bash -o -n ‘’ ‘]’
+++ hash -r
++ python3 -m pip install -IU pip
Collecting pip
Using cached pip-23.0.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Successfully installed pip-23.0.1
++ python3 -m pip install -IU ‘setuptools<=60.8.2’
Collecting setuptools<=60.8.2
Using cached setuptools-60.8.2-py3-none-any.whl (1.1 MB)
Installing collected packages: setuptools
Successfully installed setuptools-60.8.2
++ python3 -m pip install -IU wheel
Collecting wheel
Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Installing collected packages: wheel
Successfully installed wheel-0.38.4
++ python3 -m pip install -IU numpy
Collecting numpy
Using cached numpy-1.24.2-cp311-cp311-macosx_10_9_x86_64.whl (19.8 MB)
Installing collected packages: numpy
Successfully installed numpy-1.24.2
++ python3 -m pip install -IU -r requirements.txt
Collecting requests==2.27.1
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting ipykernel==5.1.0
Using cached ipykernel-5.1.0-py3-none-any.whl (113 kB)
Collecting ipython==7.4.0
Using cached ipython-7.4.0-py3-none-any.whl (769 kB)
Collecting ipywidgets==7.4.2
Using cached ipywidgets-7.4.2-py2.py3-none-any.whl (111 kB)
Collecting metakernel==0.20.14
Using cached metakernel-0.20.14-py2.py3-none-any.whl (100 kB)
Collecting mock==2.0.0
Using cached mock-2.0.0-py2.py3-none-any.whl (56 kB)
Collecting notebook==5.7.8
Using cached notebook-5.7.8-py2.py3-none-any.whl (9.0 MB)
Collecting scons==4.1.0
Using cached SCons-4.1.0-py3-none-any.whl (4.1 MB)
Collecting PyYAML==5.4
Using cached PyYAML-5.4.tar.gz (174 kB)
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘done’
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘done’
Collecting psutil==5.9.0
Using cached psutil-5.9.0.tar.gz (478 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘error’
error: subprocess-exited-with-error× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not executesetup.py
since setuptools is not available in the build environment.
[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.