Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤔 [ISSUE] - NLU Docker image build failure #68

Closed
marrouchi opened this issue Sep 23, 2024 · 0 comments · Fixed by #70
Closed

🤔 [ISSUE] - NLU Docker image build failure #68

marrouchi opened this issue Sep 23, 2024 · 0 comments · Fixed by #70
Assignees

Comments

@marrouchi
Copy link
Contributor

Description

NLU Docker image build is failing in CI pipeline.

Reproduction steps

#16 148.1 Building wheels for collected packages: h5py
#16 148.1   Building wheel for h5py (pyproject.toml): started
#16 150.9   Building wheel for h5py (pyproject.toml): finished with status 'error'
#16 150.9   error: subprocess-exited-with-error
#16 150.9   
#16 150.9   × Building wheel for h5py (pyproject.toml) did not run successfully.
#16 150.9   │ exit code: 1
#16 150.9   ╰─> [73 lines of output]
#16 150.9       running bdist_wheel
#16 150.9       running build
#16 150.9       running build_py
#16 150.9       creating build/lib.linux-aarch64-cpython-311/h5py
#16 150.9       copying h5py/version.py -> build/lib.linux-aarch64-cpython-311/h5py
#16 150.9       copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-cpython-311/h5py
#16 150.9       copying h5py/ipy_completer.py -> build/lib.linux-aarch64-cpython-311/h5py
#16 150.9       copying h5py/__init__.py -> build/lib.linux-aarch64-cpython-311/h5py
#16 150.9       creating build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/group.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/dims.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/dataset.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/attrs.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/files.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/selections.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/base.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/vds.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/compat.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/filters.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       copying h5py/_hl/__init__.py -> build/lib.linux-aarch64-cpython-311/h5py/_hl
#16 150.9       creating build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_objects.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_selections.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_file2.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5o.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dtype.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_attrs.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5t.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dataset.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_completions.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_file_alignment.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_datatype.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_slicing.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_ros3.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_file_image.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_group.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5f.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/conftest.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5z.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_attribute_create.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_base.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5p.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_file.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dimension_scales.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/__init__.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_attrs_data.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_errors.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_filters.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_h5pl.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/test_big_endian_file.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       copying h5py/tests/common.py -> build/lib.linux-aarch64-cpython-311/h5py/tests
#16 150.9       creating build/lib.linux-aarch64-cpython-311/h5py/tests/data_files
#16 150.9       copying h5py/tests/data_files/__init__.py -> build/lib.linux-aarch64-cpython-311/h5py/tests/data_files
#16 150.9       creating build/lib.linux-aarch64-cpython-311/h5py/tests/test_vds
#16 150.9       copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-aarch64-cpython-311/h5py/tests/test_vds
#16 150.9       copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-aarch64-cpython-311/h5py/tests/test_vds
#16 150.9       copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-aarch64-cpython-311/h5py/tests/test_vds
#16 150.9       copying h5py/tests/test_vds/__init__.py -> build/lib.linux-aarch64-cpython-311/h5py/tests/test_vds
#16 150.9       copying h5py/tests/data_files/vlen_string_s390x.h5 -> build/lib.linux-aarch64-cpython-311/h5py/tests/data_files
#16 150.9       copying h5py/tests/data_files/vlen_string_dset.h5 -> build/lib.linux-aarch64-cpython-311/h5py/tests/data_files
#16 150.9       copying h5py/tests/data_files/vlen_string_dset_utc.h5 -> build/lib.linux-aarch64-cpython-311/h5py/tests/data_files
#16 150.9       running build_ext
#16 150.9       Loading library to get build settings and version: libhdf5.so
#16 150.9       error: Unable to load dependency HDF5, make sure HDF5 is installed properly
#16 150.9       Library dirs checked: []
#16 150.9       error: libhdf5.so: cannot open shared object file: No such file or directory
#16 150.9       [end of output]
#16 150.9   
#16 150.9   note: This error originates from a subprocess, and is likely not a problem with pip.
#16 150.9   ERROR: Failed building wheel for h5py
#16 150.9 Failed to build h5py
#16 152.3 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (h5py)
#16 ERROR: process "/bin/sh -c pip install --no-cache-dir --upgrade -r /app/requirements.txt" did not complete successfully: exit code: 1
------
 > [linux/arm64 5/6] RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt:
150.9       Loading library to get build settings and version: libhdf5.so
150.9       error: Unable to load dependency HDF5, make sure HDF5 is installed properly
150.9       Library dirs checked: []
150.9       error: libhdf5.so: cannot open shared object file: No such file or directory
150.9       [end of output]
150.9   
150.9   note: This error originates from a subprocess, and is likely not a problem with pip.
150.9   ERROR: Failed building wheel for h5py
150.9 Failed to build h5py
152.3 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (h5py)
------
Dockerfile:13
--------------------
  11 |     
  12 |     # Install deps
  13 | >>> RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
  14 |     
  15 |     # Copy source code
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir --upgrade -r /app/requirements.txt" did not complete successfully: exit code: 1

Logs

No response

Browsers

No response

OS

No response

@Emnaghz Emnaghz linked a pull request Sep 23, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants