Skip to content

el7 python build error in singularity container #3102

@adriansev

Description

@adriansev

I'm trying to build aliphysics/aliroot in a el7 singularity container but i get this error when building python:
https://asevcenc.web.cern.ch/asevcenc/el7error_python/log.txt

The problem is that there is no mention on the error until the very end where i get:

2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ for X in 'python*'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ echo python3.6
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ grep -E '^python[0-9]+\.[0-9]+$'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ for X in 'python*'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ echo python3.6m
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ for X in 'python*'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ echo python3.6m-config
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ head -n1
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: ++ PYTHON_BIN=python3.6
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ for X in 'pip*'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ echo 'pip*'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ grep -E '^pip[0-9]+\.[0-9]+$'
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: +++ head -n1
2021-06-16@17:35:39:DEBUG:AliPhysics:Python:0: ++ PIP_BIN=
2021-06-16@17:35:39:ERROR:AliPhysics:Python:0: Error while executing /home/physics-tools/alicebuild/sw/SPECS/slc7_x86-64/Python/v3.6.10-local1/build.shon `sev.spacescience.ro'.
2021-06-16@17:35:39:ERROR:AliPhysics:Python:0: Log can be found in /home/physics-tools/alicebuild/sw/BUILD/Python-latest/log
2021-06-16@17:35:39:ERROR:AliPhysics:Python:0: Please upload it to CERNBox/Dropbox if you intend to request support.
2021-06-16@17:35:39:ERROR:AliPhysics:Python:0: Build directory is /home/physics-tools/alicebuild/sw/BUILD/Python-latest/Python.

but pip seems to be fine:

ALIBUILD##|>el7cvmfs_sandbox<|[Wednesday 16.06.21 17:53] adrian@sev : ~  $
pip3 -V
pip 21.1.2 from /home/adrian/.local/lib/python3.6/site-packages/pip (python 3.6)

but it is true that in path both pip3.6 and pip3.9 are found ..

So, any idea what is going on? It would be really useful if i could build ALICE things within the container
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions