-
Notifications
You must be signed in to change notification settings - Fork 499
Open
Labels
Description
Steps to reproduce the issue
Download hdf-eos2-3.0-src.tar.gz from https://wiki.earthdata.nasa.gov/spaces/DAS/pages/202211788/Toolkit+Downloads#ToolkitDownloads-HDFEOSHDF-EOS
This can also be done via cloning the git repo containing this tarball
git clone -b HDFEOS2_3.0 https://git.earthdata.nasa.gov/scm/das/hdfeos.git
or using wget
wget "https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos/raw/hdf-eos2-3.0-src.tar.gz?at=refs%2Fheads%2FHDFEOS2_3.0 and then renaming the file
spack install hdf-eos2 - [email protected]+shared+static build_system=autotools patches:=5878c11 platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=generic platform=linux os=ubuntu25.04 target=m1
[e] ^[email protected]~binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=ubuntu25.04 target=aarch64
[+] ^[email protected] build_system=generic platform=linux os=ubuntu25.04 target=m1
[e] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=aarch64
[+] ^[email protected]~guile build_system=generic platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^gnuconfig@2024-07-27 build_system=generic platform=linux os=ubuntu25.04 target=m1
[+] ^[email protected]+external-xdr~fortran~java~netcdf+pic~shared~szip build_system=autotools patches:=49733dd,5434f29,ce75518,d54592d,f7d67e8 platform=linux os=ubuntu25.04 target=m1 %c,cxx,[email protected]
[+] ^[email protected]~color build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=autotools libs:=shared,static platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+sigsegv build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+lex~nls build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools patches:=440b954 platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected]~debug~pic+shared build_system=generic platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]~http+pic~python+shared build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=autotools zip=pigz platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=makefile platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+programs build_system=makefile compression:=none libs:=shared,static platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected]~pic build_system=autotools libs:=shared,static platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+shared build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]~docs+shared build_system=generic certs=mozilla platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^ca-certificates-mozilla@2025-08-12 build_system=generic platform=linux os=ubuntu25.04 target=m1
[+] ^[email protected]+cpanm+opcode+open+shared+threads build_system=generic platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=autotools patches:=21f0a03 platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]~ipo~jpeg8~partial_decoder+pic build_system=cmake build_type=Release generator=make libs:=shared,static platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected]~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=ubuntu25.04 target=m1 %c,[email protected]
[+] ^[email protected] build_system=autotools platform=linux os=ubuntu25.04 target=m1 %[email protected]
[+] ^[email protected]+compat+new_strategies+opt+pic+shared build_system=autotools platform=linux os=ubuntu25.04 target=m1 %c,[email protected]Error message
Error message
==> Error: ProcessError: Command exited with status 1:
'/tmp/root/spack-stage/spack-stage-hdf-eos2-3.0-wzdzrw5xzzrah3hv6sl2n4je3xszrrmi/spack-src/configure' '--prefix=/spack/opt/spack/linux-m1/hdf-eos2-3.0-wzdzrw5xzzrah3hv6sl2n4je3xszrrmi' '--with-pic' '--enable-install_include' '--enable-shared' '--enable-static' '--with-hdf4=/spack/opt/spack/linux-m1/hdf-4.2.15-fmplvrhx45byqot264zeh7cr6jpi5yot' '--with-jpeg=/spack/opt/spack/linux-m1/libjpeg-turbo-3.0.4-raidl2r74jsa2o42vqg2n5goa7xewwto/lib'
1 error found in build log:
132 checking hdf.h usability... yes
133 checking hdf.h presence... yes
134 checking for hdf.h... yes
135 checking mfhdf.h usability... yes
136 checking mfhdf.h presence... yes
137 checking for mfhdf.h... yes
>> 138 configure: error: HDF4 library 'mfhdf' not found
Information on your system
I'm building from within a Docker image container ubuntu:plucky on MacOS Sonoma 14.7 with Apple M2 Pro
- Spack: 1.2.0.dev0 (spack/spack@8a47f8d)
- Builtin repo: 38a07b7
- Python: 3.13.3
- Platform: linux-ubuntu25.04-m1
docker run --rm -it ubuntu:plucky
apt-get update && apt-get install -y file bzip2 ca-certificates g++ gcc gfortran git gzip lsb-release patch python3 tar unzip xz-utils zstd
git clone --depth=2 https://github.com/spack/spack.git
cd spack
. share/spack/setup-env.sh
git clone -b HDFEOS2_3.0 https://git.earthdata.nasa.gov/scm/das/hdfeos.git
mv hdfeos/hdf-eos2-3.0-src.tar.gz .
spack install hdf-eos2Additional information
spack-build-env.txt
spack-build-out.txt
@climbfuji
Have you had success installing [email protected] using spack with [email protected]? Is there a separate system issue that I'm missing?
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate