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

ilab-base dev (singularity) GH action erroring #9

Open
cssprad1 opened this issue Dec 17, 2024 · 0 comments
Open

ilab-base dev (singularity) GH action erroring #9

cssprad1 opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cssprad1
Copy link
Contributor

The action that pushes ilab-base dev to sing registry is erroring during the build process.

Steps to reproduce:

Possible solutions:

Example:

 Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.12/dist-packages (from python-dateutil>=2.8.2->pandas) (1.17.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ pip install pyhdf
Collecting pyhdf
  Downloading pyhdf-0.11.4.tar.gz (146 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.0/147.0 kB 6.9 MB/s eta 0:00:00
  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'
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pyhdf) (1.26.4)
Building wheels for collected packages: pyhdf
  Building wheel for pyhdf (pyproject.toml): started
  Building wheel for pyhdf (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for pyhdf (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [36 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/test_SD.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/HC.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/hdfext.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/error.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/HDF.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/SD.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/__init__.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/six.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/VS.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/V.py -> build/lib.linux-x86_64-cpython-312/pyhdf
      running egg_info
      writing pyhdf.egg-info/PKG-INFO
      writing dependency_links to pyhdf.egg-info/dependency_links.txt
      writing requirements to pyhdf.egg-info/requires.txt
      writing top-level names to pyhdf.egg-info/top_level.txt
      reading manifest file 'pyhdf.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      no previously-included directories found matching 'doc/_build'
      adding license file 'LICENSE'
      adding license file 'AUTHORS'
      writing manifest file 'pyhdf.egg-info/SOURCES.txt'
      copying pyhdf/hdfext.i -> build/lib.linux-x86_64-cpython-312/pyhdf
      copying pyhdf/hdfext_wrap.c -> build/lib.linux-x86_64-cpython-312/pyhdf
      running build_ext
      building 'pyhdf._hdfext' extension
      creating build/temp.linux-x86_64-cpython-312/pyhdf
      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-build-env-ifrf77me/overlay/local/lib/python3.12/dist-packages/numpy/_core/include -I/usr/include/python3.12 -c pyhdf/hdfext_wrap.c -o build/temp.linux-x86_64-cpython-312/pyhdf/hdfext_wrap.o -DNOSZIP
      pyhdf/hdfext_wrap.c:3677:10: fatal error: hdf.h: No such file or directory
       3677 | #include "hdf.h"
            |          ^~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyhdf
ERROR: Could not build wheels for pyhdf, which is required to install pyproject.toml-based projects
Failed to build pyhdf
FATAL:   While performing build: while running engine: exit status 1
Error: Process completed with exit code 255.
@cssprad1 cssprad1 added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant