Repository navigation
Open
Labels
Description
Steps to reproduce the issue
This is the first of two issues I encountered when trying to install caliper+variorum
The exact spec is:
$ spack --env myenv find -lvfcId caliper
...
-- linux-rhel8-zen2 / %c,cxx,fortran=gcc@13.4.0 -----------------
- qnqo564 caliper@2.12.1+adiak~cuda+fortran+gotcha+ipo~kokkos+libdw+libpfm+libunwind+mpi+papi+python~rocm+sampler+shared+tests+tools+variorum~vtune build_system=cmake build_type=RelWithDebInfo generator=make
[+] h7vrszb adiak@0.4.1+ipo+mpi+shared build_system=cmake build_type=RelWithDebInfo commit=7ac997111785bee6d9391664b1d18ebc2b3c557b generator=make
[+] 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
[+] 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
[+] 4fr2zga ncurses@6.5-20250705+symlinks+termlib abi=5 build_system=autotools patches:=7a351bc
[+] yyfhywn zlib@1.3.1+optimize+pic+shared build_system=makefile
[+] c4lvqa5 compiler-wrapper@1.0 build_system=generic
[+] vetiyia elfutils@0.193~debuginfod+exeprefix~nls build_system=autotools
[+] clcmbca bzip2@1.0.8~debug+pic+shared build_system=generic
[+] aveg6xi diffutils@3.12 build_system=autotools
[+] xfwlwc5 libiconv@1.18 build_system=autotools libs:=shared,static
[+] dp2hpm5 m4@1.4.20+sigsegv build_system=autotools
[+] okijcpw libsigsegv@2.14 build_system=autotools
[+] hn2krca pkgconf@2.5.1 build_system=autotools
[+] dozx2ei xz@5.6.3+pic build_system=autotools libs:=shared,static
[+] 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
[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=autotoolsOn 'spack install' command, I get an error about ''variorum_get_node_power_json' not being defined.
Some additional research shows that as of variorum@0.8.0 'variorum_get_node_power_json was replaced with variorum_get_power_json
Error message
Error message
...
[ 48%] Building CXX object src/services/symbollookup/CMakeFiles/caliper-symbollookup.dir/SymbolLookup.cpp.o
cd /tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-build-qnqo564/src/services/symbollookup && /cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/compiler-wrapper-1.0-c4lvqa5ekdyxfibdcfh6hfepzpfknhp5/libexec/spack/gcc/g++ -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-build-qnqo564/include -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/include -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-build-qnqo564 -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/src -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/src/interface/c_fortran -I/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-build-qnqo564/src/services -I/cvmfs/hpcsw.umd.edu/spack-software/2025.11.0/linux-zen2/elfutils-0.193-vetiyiafrs2ziv7liuzuyplfvm4iaw2g/include -O2 -g -DNDEBUG -flto=auto -fno-fat-lto-objects -fPIC -fvisibility=default -Wall -MD -MT src/services/symbollookup/CMakeFiles/caliper-symbollookup.dir/SymbolLookup.cpp.o -MF CMakeFiles/caliper-symbollookup.dir/SymbolLookup.cpp.o.d -o CMakeFiles/caliper-symbollookup.dir/SymbolLookup.cpp.o -c /tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/src/services/symbollookup/SymbolLookup.cpp
/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/src/services/variorum/Variorum.cpp: In function 'std::tuple {anonymous}::measure(const std::string&)':
/tmp/swinst26/spackswinst26/spack-stage/spack-stage-caliper-2.12.1-qnqo564ezirvnghsmu3cmlqwk7f2eews/spack-src/src/services/variorum/Variorum.cpp:42:15: error: 'variorum_get_node_power_json' was not declared in this scope; did you mean 'variorum_get_power_json'?
42 | int ret = variorum_get_node_power_json(&s);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| variorum_get_power_json
...
Information on your system
$ 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-zen2Additional information
Maintainers: @adrienbernede @daboehme
Files:
- spack-configure-args.txt
- spack-build-out.txt
- spack-build-env.txt
- spack-build-env-mods.txt
- Full output of spack find
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
Activity
payerle commentedon Sep 25, 2026
The second issue of the two is #6706.
Also, I have tested caliper@2.15 and it shows the same error with variorum@0.8