Skip to content

Installation issue: spdk +rbd (missing rbd dependency?) #6714

Open

Description

@payerle

Steps to reproduce the issue

Second of several distinct issues installing spdk, with spec

$ spack --env myenv find -lvfcdI spdk
...
-- linux-rhel8-zen2 / %c,cxx=gcc@13.4.0 -------------------------
 -   a2cqxza spdk@23.01+crypto+dpdk+fio+iscsi-initiator+ocf+pmdk+rbd+rdma+shared+uring+vhost+virtio~vtune build_system=autotools commit=10edc60aa8b5f1b04d6496fea976dec75e276a95
[+]  c4lvqa5     compiler-wrapper@1.0 build_system=generic
[+]  sarfggk     dpdk@23.03~strip build_system=meson buildtype=debugoptimized default_library=shared
[+]  komdk4j         cmake@3.31.9~doc+ncurses+ownlibs~qtgui build_system=generic build_type=RelWithDebInfo
[+]  5iwsjnc             curl@8.15.0+gssapi~ldap+libidn2~librtmp~libssh+libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=mbedtls,openssl
[+]  vjvgdcm                 krb5@1.21.3+shared build_system=autotools
[+]  p2qbo6v                     libedit@3.1-20240808 build_system=autotools
[+]  cwtascr                 libidn2@2.3.7 build_system=autotools
[+]  34m2usx                 libssh2@1.11.1+shared build_system=autotools crypto=mbedtls
[+]  yjg7uxr                 mbedtls@2.28.9+pic build_system=makefile build_type=RelWithDebInfo libs:=shared,static
[+]  wgsyfrl                 nghttp2@1.67.1 build_system=autotools
[+]  k3cbjsl         ninja@1.13.0+re2c build_system=generic
[+]  vyu5qj7             re2c@3.1 build_system=autotools
[+]  luktlsx     fio@3.33+doc~gui+libaio build_system=autotools
[+]  hw7b6hz         py-sphinx@8.2.3 build_system=python_pip
[+]  t45l33z             py-alabaster@1.0.0 build_system=python_pip
[+]  zjmp7q6             py-babel@2.17.0 build_system=python_pip
[+]  z22wrlp             py-docutils@0.21.2 build_system=python_pip
[+]  assfohb             py-flit-core@3.12.0 build_system=python_pip
[+]  foz7pvs             py-imagesize@1.4.1 build_system=python_pip
[+]  t2jnamw             py-jinja2@3.1.6+i18n build_system=python_pip
[+]  gtxgxyv                 py-markupsafe@3.0.2 build_system=python_pip
[+]  hcmeybo             py-packaging@25.0 build_system=python_pip
[+]  2dryqz4             py-pygments@2.19.2 build_system=python_pip
[+]  snc6mix                 py-hatchling@1.27.0 build_system=python_pip
[+]  irk6pfi                     py-pathspec@0.12.1 build_system=python_pip
[+]  yni443c                     py-pluggy@1.6.0 build_system=python_pip
[+]  qltmnib                     py-trove-classifiers@2025.9.11.17 build_system=python_pip                                            
[+]  pxs4xkx                         py-calver@2025.4.17 build_system=python_pip                                                      
[+]  svo46bi             py-requests@2.32.5+socks build_system=python_pip                                                             
[+]  hegvgf4                 py-certifi@2025.7.14 build_system=python_pip                                                             
[+]  zvwrcbm                 py-charset-normalizer@3.4.4 build_system=python_pip                                                      
[+]  24jrvc4                 py-idna@3.10 build_system=python_pip                                                                     
[+]  6jmdu75                 py-pysocks@1.7.1 build_system=python_pip                                                                 
[+]  phiofiu                 py-urllib3@2.5.0+brotli+socks build_system=python_pip                                                    
[+]  dah7imx                     py-brotli@1.1.0 build_system=python_pip                                                              
[+]  coucnjr                     py-hatch-vcs@0.5.0 build_system=python_pip                                                           
[+]  dhe4vbx                     py-setuptools-scm@8.2.1+toml build_system=python_pip                                                 
[+]  ebdiczu                         git@2.48.1+man+nls+perl+subtree~tcltk build_system=autotools                                     
[+]  oruxbwg                             openssh@9.9p1+gssapi build_system=autotools                                                  
[+]  ejeuz77                             pcre2@10.44+jit+multibyte+pic build_system=autotools                                         
[+]  rbamyva             py-roman-numerals-py@3.1.0 build_system=python_pip                                                           
[+]  6s5r5bb             py-snowballstemmer@3.0.1 build_system=python_pip                                                             
[+]  elmwrra             py-sphinxcontrib-applehelp@2.0.0 build_system=python_pip                                                     
[+]  pgimav6             py-sphinxcontrib-devhelp@2.0.0 build_system=python_pip                                                       
[+]  2dscumt             py-sphinxcontrib-htmlhelp@2.1.0 build_system=python_pip                                                      
[+]  gkkiofr             py-sphinxcontrib-jsmath@1.0.1 build_system=python_pip                                                        
[+]  hbptacy             py-sphinxcontrib-qthelp@2.0.0 build_system=python_pip                                                        
[+]  oqcrts3             py-sphinxcontrib-serializinghtml@2.0.0 build_system=python_pip                                               
[+]  yyfhywn         zlib@1.3.1+optimize+pic+shared build_system=makefile                                                             
[e]  lxilqo6     gcc@13.4.0+binutils~bootstrap+graphite~mold+nvptx~piclibs~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran,lto'
[+]  6veby57     gcc-runtime@13.4.0 build_system=generic                                                                              
[e]  wklw66w     glibc@2.28 build_system=autotools                                                                                    
[+]  qphn4tr     gmake@4.4.1~guile build_system=generic                                                                               
[+]  vo2yfx6     libaio@0.3.113 build_system=makefile
[+]  v2bnibg     libtool@2.4.7 build_system=autotools                                                                                 
[+]  rcuuwdi         findutils@4.10.0 build_system=autotools patches:=440b954                                                         
[+]  un24op4             gettext@0.23.1+bzip2+curses+git+libunistring+libxml2+pic+shared+tar+xz build_system=autotools                
[+]  xfwlwc5                 libiconv@1.18 build_system=autotools libs:=shared,static                                                 
[+]  2xh2w6v                 libunistring@1.2 build_system=autotools
[+]  ji2noye                 libxml2@2.13.5+http+pic~python+shared build_system=autotools                                             
[+]  ac3qlxk                 tar@1.35 build_system=autotools zip=pigz                                                                 
[+]  xdqbnzg                     pigz@2.8 build_system=makefile                                                                       
[+]  dp2hpm5         m4@1.4.20+sigsegv build_system=autotools                                                                         
[+]  aveg6xi             diffutils@3.12 build_system=autotools                                                                        
[+]  okijcpw             libsigsegv@2.14 build_system=autotools                                                                       
[+]  6p3fqfq     meson@1.8.5 build_system=python_pip patches:=0f0b1bd                                                                 
[+]  iij36rk         py-pip@25.1.1 build_system=generic                                                                               
[+]  c4bjnug         py-setuptools@80.9.0 build_system=generic                                                                        
[+]  2af64e5         py-wheel@0.45.1 build_system=generic                                                                             
[+]  a2dwrpm         python@3.12.12+bz2+crypt+ctypes+dbm~debug+libxml2+lzma+optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic
[+]  clcmbca             bzip2@1.0.8~debug+pic+shared build_system=generic                                                            
[+]  6xvipxp             expat@2.7.3+libbsd build_system=autotools                                                                    
[+]  eupcdsq                 libbsd@0.12.2 build_system=autotools                                                                     
[+]  4t7s7tj                     libmd@1.1.0 build_system=autotools                                                                   
[+]  x7mvisw             gdbm@1.25 build_system=autotools                                                                             
[+]  e3mylxq             libffi@3.5.2 build_system=autotools                                                                          
[+]  e2mxkgo             libxcrypt@4.4.38~obsolete_api build_system=autotools                                                         
[+]  yfj7zom             openssl@3.6.0~docs+shared build_system=generic certs=system                                                  
[+]  xnkg5zv             readline@8.3 build_system=autotools patches:=21f0a03                                                         
[+]  g6dfwgz             sqlite@3.50.4+column_metadata+fts+rtree build_system=autotools                                               
[+]  dozx2ei             xz@5.6.3+pic build_system=autotools libs:=shared,static                                                      
[+]  dr6yyre         python-venv@1.0 build_system=generic                                                                             
[+]  5nwi3ut     nasm@2.16.03 build_system=autotools                                                                                  
[+]  3tsuy4s     numactl@2.0.18 build_system=autotools                                                                                
[+]  gbt55l4         autoconf@2.72 build_system=autotools                                                                             
[+]  zgiqg7h             perl@5.42.0+cpanm+opcode+open+shared+threads build_system=generic                                            
[+]  kddwxvy                 berkeley-db@18.1.40+cxx+docs+stl build_system=autotools patches:=26090f4                                 
[+]  spxl244         automake@1.16.5 build_system=autotools                                                                           
[+]  hn2krca     pkgconf@2.5.1 build_system=autotools                                                                                 
[+]  jszv7ia     pmdk@1.12.1~doc+experimental~ndctl+rpmem build_system=generic                                                        
[+]  7e5ihfj         binutils@2.45~debuginfod+gas+gold+gprofng+headers+interwork+ld~libiberty+lto+nls~pgo+plugins build_system=autotools compress_debug_sections=zlib libs:=shared,static
[+]  l22ndgk             bison@3.8.2~color build_system=autotools                                                                     
[+]  pi6zcmw             zstd@1.5.7+programs build_system=makefile compression:=lz4,lzma,zlib libs:=shared,static                     
[+]  rv4gmuf                 lz4@1.10.0+pic build_system=makefile libs:=shared,static                                                 
[+]  m5gdybd         libfabric@1.22.0~cuda~debug~kdreg~level_zero~rocm+uring build_system=autotools fabrics:=shm,sockets,tcp,udp,verbs
[+]  3tzcpt5             liburing@2.12 build_system=autotools                                                                         
[+]  4fr2zga         ncurses@6.5-20250705+symlinks+termlib abi=5 build_system=autotools patches:=7a351bc                              
[+]  tj3lnye     py-pyelftools@0.29 build_system=python_pip                                                                           
[+]  7vemvfo     rdma-core@59.0+ipo~man_pages+pyverbs+static build_system=cmake build_type=RelWithDebInfo generator=make              
[+]  el4iobu         libnl@3.3.0 build_system=autotools                                                                               
[+]  fovoc5z             flex@2.6.4+lex+nls build_system=autotools patches:=f8b85a0                                                   
[+]  nau4id2                 help2man@1.49.3 build_system=autotools                                                                   
[+]  ddhtjqi         py-cython@3.1.3 build_system=python_pip                                                                          
[+]  54axnim     util-linux-uuid@2.41 build_system=autotools

The error occurs with spack install, where it complains about missing librados and librbd.
I assume at least the latter is due to rbd not being decalred as a dependency in the recipe (but due to issues with installing rbd I have not been able to confirm)



### Error message

<details><summary>Error message</summary>

<pre>
...
==> [2026-09-22-13:59:30.545539] /tmp/swinst26/spackswinst26/spack-stage/spack-stage-spdk-23.01-a2cqxzabbcq35jmlygocqisc7qrgwi5g/spack-src/configure --prefix=/cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/spdk-23.01-a2cqxzabbcq35jmlygocqisc7qrgwi5g --disable-tests --disable-unit-tests --disable-apps --with-fio=/cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/fio-3.33-luktlsxaawwapqvf72onwqzhzttepgh2 --with-crypto --with-dpdk --with-iscsi-initiator --with-ocf --with-pmdk --with-rbd --with-rdma --with-shared --with-uring --with-vhost --with-virtio --without-vtune
Using DPDK lib dir /cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/dpdk-23.03-sarfggkk6sjklrr7fo5hoczcce6w2z7x/lib
Using default SPDK env in /tmp/swinst26/spackswinst26/spack-stage/spack-stage-spdk-23.01-a2cqxzabbcq35jmlygocqisc7qrgwi5g/spack-src/lib/env_dpdk
Using 'verbs' RDMA provider
WARNING: PMDK - bdev_pmem is deprecated.
WARNING: PMDK - ACCEL_FLAG_PERSISTENT in accel_sw module is deprecated.
--with-rbd requires librados and librbd.
Please install then re-run this script.
Command exited with status 1:
    /tmp/swinst26/spackswinst26/spack-stage/spack-stage-spdk-23.01-a2cqxzabbcq35jmlygocqisc7qrgwi5g/spack-src/configure --prefix=/cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/spdk-23.01-a2cqxzabbcq35jmlygocqisc7qrgwi5g --disable-tests --disable-unit-tests --disable-apps --with-fio=/cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/fio-3.33-luktlsxaawwapqvf72onwqzhzttepgh2 --with-crypto --with-dpdk --with-iscsi-initiator --with-ocf --with-pmdk --with-rbd --with-rdma --with-shared --with-uring --with-vhost --with-virtio --without-vtune
</pre></details>


### Information on your system

```console
$ spack debug report
* **Spack:** 1.2.0.dev0
* **Builtin repo:** https://github.com/spack/spack-packages/commit/119680aeee8ea802c6111b7167583bddef97e82f
* **Python:** 3.6.8
* **Platform:** linux-rhel8-zen2

Additional information

Maintainers: @hyoklee

Files:

General information

  • I have run spack debug report and 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions