Installation issue: rdma-core
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c, cmake, linux
- Domain
- build-system
Research direction
Start by reproducing the rdma-core build with the reported Spack spec and inspect the package recipe's declared dependencies. Trace the failure at rdma-ndd/rdma-ndd.c:53, then verify that the required libudev header is available during compilation and that the rdma-core build completes successfully.
Written by the indexing model from the issue text.
Description
Steps to reproduce the issue
I have got missing <libudev.h> header error while trying to compile rdma-core package. Same issue with older versions.
$ spack spec -I rdma-core@57.0~ipo+man_pages+pyverbs+static build_system=cmake build_type=Release generator=make platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
- rdma-core@57.0~ipo+man_pages+pyverbs+static build_system=cmake build_type=Release generator=make platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^cmake@3.31.8~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^curl@8.15.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^nghttp2@1.65.0 build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^openssl@3.4.1~docs+shared build_system=generic certs=mozilla platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^ca-certificates-mozilla@2025-05-20 build_system=generic platform=linux os=opensuse15 target=broadwell
[+] ^perl@5.42.0+cpanm+opcode+open+shared+threads build_system=generic platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^berkeley-db@18.1.40+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^ncurses@6.5-20250705~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^zlib-ng@2.2.4+compat+new_strategies+opt+pic+shared build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^compiler-wrapper@1.0 build_system=generic platform=linux os=opensuse15 target=broadwell
[e] ^gcc@12.2.0~binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=opensuse15 target=broadwell
[+] ^gcc-runtime@12.2.0 build_system=generic platform=linux os=opensuse15 target=broadwell
[e] ^glibc@2.31 build_system=autotools platform=linux os=opensuse15 target=broadwell
[+] ^gmake@4.4.1~guile build_system=generic platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^libnl@3.3.0 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^bison@3.8.2~color build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^diffutils@3.12 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^libiconv@1.18 build_system=autotools libs:=shared,static platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^flex@2.6.3+lex~nls build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^findutils@4.10.0 build_system=autotools patches:=440b954 platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^m4@1.4.20+sigsegv build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^libsigsegv@2.14 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^pkgconf@2.5.1 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^py-docutils@0.21.2 build_system=python_pip platform=linux os=opensuse15 target=broadwell
[+] ^py-flit-core@3.12.0 build_system=python_pip platform=linux os=opensuse15 target=broadwell
[+] ^py-pip@25.1.1 build_system=generic platform=linux os=opensuse15 target=broadwell
[+] ^py-wheel@0.45.1 build_system=generic platform=linux os=opensuse15 target=broadwell
[+] ^python@3.13.5+bz2+ctypes+dbm~debug+libxml2+lzma~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^bzip2@1.0.8~debug~pic+shared build_system=generic platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^expat@2.7.1+libbsd build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^libbsd@0.12.2 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^libmd@1.1.0 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^gdbm@1.25 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^gettext@0.23.1+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^libxml2@2.13.5~http+pic~python+shared build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^tar@1.35 build_system=autotools zip=pigz platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^pigz@2.8 build_system=makefile platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^zstd@1.5.7+programs build_system=makefile compression:=none libs:=shared,static platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^libffi@3.4.8 build_system=autotools platform=linux os=opensuse15 target=broadwell %c,cxx=gcc@12.2.0
[+] ^readline@8.3 build_system=autotools patches:=21f0a03 platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^sqlite@3.50.4+column_metadata+fts+rtree build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^util-linux-uuid@2.41 build_system=autotools platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^xz@5.6.3~pic build_system=autotools libs:=shared,static platform=linux os=opensuse15 target=broadwell %c=gcc@12.2.0
[+] ^python-venv@1.0 build_system=generic platform=linux os=opensuse15 target=broadwell
Error message
710 cd /tmp/vsg/spack-stage/spack-stage-rdma-core-50.0-deb5zrw6rz4iyczsrlpppj6ue4v5zyyq/spack-build-deb5zrw/libibumad/tests && /mnt/beegfs/sc
ratch/vsg/tools/spack/opt/spack/linux-broadwell/cmake-3.31.8-5mitfm6ser7yahtosvl5xxget46rfoti/bin/cmake -E cmake_link_script CMakeFiles/u
mad_compile_test.dir/link.txt --verbose=1
>> 711 /tmp/vsg/spack-stage/spack-stage-rdma-core-50.0-deb5zrw6rz4iyczsrlpppj6ue4v5zyyq/spack-src/rdma-ndd/rdma-ndd.c:53:10: fatal error: libude
v.h: No such file or directory
712 53 | #include <libudev.h>
713 | ^~~~~~~~~~~
714 compilation terminated.
Information on your system
- Spack: 1.1.0.dev0 (https://github.com/spack/spack/commit/f71acf94f0c1cb114aba5b683f47ba25d241bdf9)
- Builtin repo: https://github.com/spack/spack-packages/commit/d47ee47f97a6e6cabad5364f716e346cf64d0b15
- Python: 3.6.15
- Platform: linux-opensuse15-broadwell
Additional information
No response
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
- Dominant language
- Python
- Stars
- 146
- Forks
- 762
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 236
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spack/spack-packages
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
spack/spack-packages#6473 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
spack/spack-packages#6278 · 7 comments · 1 reaction ·
-
test-error
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
spack/spack-packages#5931 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
spack/spack-packages#5507 ·
All issues in spack/spack-packages
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100