-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[email protected] bug affecting build of [email protected] +rocm: umpire/util/io.cpp:103:14: error: 'std::filesystem' has not been declared #32932
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce the issue
[email protected] +rocm %[email protected] build is failing due to issue with [email protected]
spack.yaml
spack:
view: false
concretizer:
reuse: false
unify: false
specs:
- umpire +rocm amdgpu_target=gfx90a
Concretization
- tmss4gq [email protected]%[email protected]+c~cuda+device_alloc~deviceconst+examples~fortran~ipo~numa~openmp+rocm+shared amdgpu_target=gfx90a build_type=RelWithDebInfo tests=none arch=linux-ubuntu22.04-cascadelake [+] xcb4wpa ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] ezcgltl ^[email protected]%[email protected]~doc+ncurses+ownlibs~qt build_type=Release arch=linux-ubuntu22.04-cascadelake [+] kkzjklb ^[email protected]%[email protected]~symlinks+termlib abi=none arch=linux-ubuntu22.04-cascadelake [+] 6euhi2d ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] mrie5w7 ^[email protected]%[email protected]~docs~shared certs=mozilla patches=3fdcf2d arch=linux-ubuntu22.04-cascadelake [+] 5riqeac ^ca-certificates-mozilla@2022-07-19%[email protected] arch=linux-ubuntu22.04-cascadelake [+] egfrpbs ^[email protected]%[email protected]+cpanm+shared+threads arch=linux-ubuntu22.04-cascadelake [+] dgodo7w ^[email protected]%[email protected]+cxx~docs+stl patches=26090f4,b231fcc arch=linux-ubuntu22.04-cascadelake [+] ty7ht5e ^[email protected]%[email protected]~debug~pic+shared arch=linux-ubuntu22.04-cascadelake [+] rgyvgya ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] g7viddr ^[email protected]%[email protected] libs=shared,static arch=linux-ubuntu22.04-cascadelake [+] 36lfy5q ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 6ntlkpi ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 7vt7zzw ^[email protected]%[email protected]+optimize+pic+shared patches=0d38234 arch=linux-ubuntu22.04-cascadelake [+] mwar3y5 ^[email protected]%[email protected]~cuda~ipo~openmp+rocm~tests amdgpu_target=gfx90a build_type=RelWithDebInfo arch=linux-ubuntu22.04-cascadelake [+] unhizof ^[email protected]%[email protected]~ipo build_type=Release patches=7ed1232 arch=linux-ubuntu22.04-cascadelake [+] lzahtry ^[email protected]%[email protected]~ipo build_type=Release arch=linux-ubuntu22.04-cascadelake [+] zdvs2c3 ^[email protected]%[email protected]~ipo~link_llvm_dylib~llvm_dylib~openmp+rocm-device-libs build_type=Release patches=a08bbe1 arch=linux-ubuntu22.04-cascadelake [+] qvvwua2 ^[email protected]%[email protected]+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib patches=0d98e93,4c24573,f2fd060 arch=linux-ubuntu22.04-cascadelake [+] 7ebs6f4 ^[email protected]%[email protected]+libbsd arch=linux-ubuntu22.04-cascadelake [+] 7wmajpp ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] t7ec7m2 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] qy6kuj5 ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu22.04-cascadelake [+] zrmmbt5 ^[email protected]%[email protected]~python arch=linux-ubuntu22.04-cascadelake [+] iamrc3w ^[email protected]%[email protected]~pic libs=shared,static arch=linux-ubuntu22.04-cascadelake [+] fgcv7jn ^[email protected]%[email protected] zip=pigz arch=linux-ubuntu22.04-cascadelake [+] cktex5n ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] j3qc4p3 ^[email protected]%[email protected]+programs compression=none libs=shared,static arch=linux-ubuntu22.04-cascadelake [+] yunzcvr ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] m5rbkgi ^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree arch=linux-ubuntu22.04-cascadelake [+] 5pclhyf ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] xdc3gwc ^[email protected]%[email protected]~gmp~ipo~python build_type=RelWithDebInfo arch=linux-ubuntu22.04-cascadelake [+] ekbqqnt ^[email protected]%[email protected]~ipo build_type=Release arch=linux-ubuntu22.04-cascadelake [+] e6vtlkr ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] eigl5zg ^[email protected]%[email protected]+glx+llvm+opengl~opengles+osmesa~strip buildtype=release default_library=shared patches=ee737d1 arch=linux-ubuntu22.04-cascadelake [+] p5tar2h ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] nwi7ff6 ^[email protected]%[email protected]+sigsegv patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-cascadelake [+] j4piu5a ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 4td67vc ^[email protected]%[email protected]+lex~nls arch=linux-ubuntu22.04-cascadelake [+] wqh2qfe ^[email protected]%[email protected] patches=440b954 arch=linux-ubuntu22.04-cascadelake [+] zby6wbv ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] yzh4cf2 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] hkht2cq ^[email protected]%[email protected]~block_signals~conservative_checks~cxx_exceptions~debug~debug_frame+docs~pic+tests+weak_backtrace~xz~zlib components=none libs=shared,static arch=linux-ubuntu22.04-cascadelake [+] k5d4q25 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] ofa5u22 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] ea2l5e2 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] e2ea2x3 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] qyiceog ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] gmwxeff ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] z33ate5 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] bsggzn5 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] loyix5a ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 57mhx45 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] mlrpjeo ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 7gfkpp6 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] rb6rp7n ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 4wxumyh ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] byvzqk7 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] zm4kmkb ^[email protected]%[email protected] patches=9c87472,aa6c50d arch=linux-ubuntu22.04-cascadelake [+] 7q6u72f ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] nqubh2v ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 2kc4cf4 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] 2p2dwm7 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] ic5ombn ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] c25quak ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] galnbdf ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] rkgdxam ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] cgd42xf ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] jf23i54 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] mnqmlup ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] ozaey6f ^[email protected]%[email protected]+image~ipo+shared build_type=Release patches=71e6851 arch=linux-ubuntu22.04-cascadelake [+] hvff3iq ^[email protected]%[email protected]~bzip2~debuginfod+nls~xz arch=linux-ubuntu22.04-cascadelake [+] axo25xq ^[email protected]%[email protected]~ipo+shared build_type=Release patches=f926273 arch=linux-ubuntu22.04-cascadelake [+] ad76yug ^[email protected]%[email protected]~docs arch=linux-ubuntu22.04-cascadelake [+] 52vt5ki ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] vziuwz3 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] lqlhfdj ^[email protected]%[email protected] patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-cascadelake [+] 4qwgewh ^[email protected]%[email protected] patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-cascadelake [+] mvu7jzv ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] jixcsu4 ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] xhve2dn ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] lh3ov6e ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] iyz72dc ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake [+] rq2ja5z ^[email protected]%[email protected]~ipo build_type=Release arch=linux-ubuntu22.04-cascadelake [+] majfv6g ^[email protected]%[email protected] arch=linux-ubuntu22.04-cascadelake
Install error:
==> Installing umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn
==> No binary for umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn found: installing from source
==> No patches needed for umpire
==> umpire: Executing phase: 'initconfig'
==> umpire: Executing phase: 'cmake'
==> umpire: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j16'
10 errors found in build log:
185 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/FixedPool.cpp.o -MF CMakeFiles/umpire_strategy.dir/FixedPool.cpp.o.d -o CMakeFiles/umpire_strategy.dir/FixedPool.cpp.o -c /tmp/root
/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/FixedPool.cpp
186 [ 23%] Building CXX object src/umpire/util/CMakeFiles/umpire_util.dir/OutputBuffer.cpp.o
187 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/util && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -I/spack/opt
/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsr
adyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c+
+14 -MD -MT src/umpire/util/CMakeFiles/umpire_util.dir/OutputBuffer.cpp.o -MF CMakeFiles/umpire_util.dir/OutputBuffer.cpp.o.d -o CMakeFiles/umpire_util.dir/OutputBuffer.cpp.o -c /tmp/
root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/OutputBuffer.cpp
188 [ 23%] Building CXX object src/umpire/util/CMakeFiles/umpire_util.dir/allocation_statistics.cpp.o
189 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/util && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -I/spack/opt
/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsr
adyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c+
+14 -MD -MT src/umpire/util/CMakeFiles/umpire_util.dir/allocation_statistics.cpp.o -MF CMakeFiles/umpire_util.dir/allocation_statistics.cpp.o.d -o CMakeFiles/umpire_util.dir/allocatio
n_statistics.cpp.o -c /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/allocation_statistics.cpp
190 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp: In function 'void umpire::util::initialize_io(bool, bool)':
>> 191 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:103:14: error: 'std::filesystem' has not been declared
192 103 | std::filesystem::path root_io_dir_path{root_io_dir};
193 | ^~~~~~~~~~
>> 194 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:105:19: error: 'std::filesystem' has not been declared
195 105 | if (!std::filesystem::exists(root_io_dir_path) && (enable_log || enable_replay)) {
196 | ^~~~~~~~~~
>> 197 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:105:38: error: 'root_io_dir_path' was not declared in this scope;
did you mean 'root_io_dir'?
198 105 | if (!std::filesystem::exists(root_io_dir_path) && (enable_log || enable_replay)) {
199 | ^~~~~~~~~~~~~~~~
200 | root_io_dir
>> 201 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:106:16: error: 'std::filesystem' has not been declared
202 106 | std::filesystem::create_directories(root_io_dir_path);
203 | ^~~~~~~~~~
204 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp: In function 'bool umpire::util::directory_exists(const string&)':
>> 205 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:187:8: error: 'std::filesystem' has not been declared
206 187 | std::filesystem::path fspath_path(path);
207 | ^~~~~~~~~~
>> 208 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:188:15: error: 'std::filesystem' has not been declared
209 188 | return std::filesystem::exists(fspath_path);
210 | ^~~~~~~~~~
>> 211 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:188:34: error: 'fspath_path' was not declared in this scope
212 188 | return std::filesystem::exists(fspath_path);
213 | ^~~~~~~~~~~
214 /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/util/io.cpp:184:56: warning: unused parameter 'path' [-Wunused-parameter]
215 184 | static inline bool directory_exists(const std::string& path)
216 | ~~~~~~~~~~~~~~~~~~~^~~~
217 [ 25%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/MixedPool.cpp.o
218 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/MixedPool.cpp.o -MF CMakeFiles/umpire_strategy.dir/MixedPool.cpp.o.d -o CMakeFiles/umpire_strategy.dir/MixedPool.cpp.o -c /tmp/root
/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/MixedPool.cpp
>> 219 make[2]: *** [src/umpire/util/CMakeFiles/umpire_util.dir/build.make:121: src/umpire/util/CMakeFiles/umpire_util.dir/io.cpp.o] Error 1
220 make[2]: *** Waiting for unfinished jobs....
221 [ 26%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/mixins/AlignedAllocation.cpp.o
222 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/mixins/AlignedAllocation.cpp.o -MF CMakeFiles/umpire_strategy.dir/mixins/AlignedAllocation.cpp.o.d -o CMakeFiles/umpire_strategy.di
r/mixins/AlignedAllocation.cpp.o -c /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/mixins/AlignedAllocation.cpp
223 [ 26%] Building CXX object src/umpire/op/CMakeFiles/umpire_op.dir/MemoryOperation.cpp.o
224 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/op && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_PLATFO
RM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/spack-s
tage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/include
-isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT src/u
mpire/op/CMakeFiles/umpire_op.dir/MemoryOperation.cpp.o -MF CMakeFiles/umpire_op.dir/MemoryOperation.cpp.o.d -o CMakeFiles/umpire_op.dir/MemoryOperation.cpp.o -c /tmp/root/spack-stage
/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/op/MemoryOperation.cpp
225 [ 26%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/mixins/AllocateNull.cpp.o
...
230 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/MonotonicAllocationStrategy.cpp.o -MF CMakeFiles/umpire_strategy.dir/MonotonicAllocationStrategy.cpp.o.d -o CMakeFiles/umpire_strat
egy.dir/MonotonicAllocationStrategy.cpp.o -c /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/MonotonicAllocationStrat
egy.cpp
231 [ 28%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/NamedAllocationStrategy.cpp.o
232 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/NamedAllocationStrategy.cpp.o -MF CMakeFiles/umpire_strategy.dir/NamedAllocationStrategy.cpp.o.d -o CMakeFiles/umpire_strategy.dir/
NamedAllocationStrategy.cpp.o -c /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/NamedAllocationStrategy.cpp
233 [ 29%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/QuickPool.cpp.o
234 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/QuickPool.cpp.o -MF CMakeFiles/umpire_strategy.dir/QuickPool.cpp.o.d -o CMakeFiles/umpire_strategy.dir/QuickPool.cpp.o -c /tmp/root
/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/QuickPool.cpp
235 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq'
>> 236 make[1]: *** [CMakeFiles/Makefile2:1177: src/umpire/util/CMakeFiles/umpire_util.dir/all] Error 2
237 make[1]: *** Waiting for unfinished jobs....
238 [ 29%] Building CXX object src/umpire/strategy/CMakeFiles/umpire_strategy.dir/SizeLimiter.cpp.o
239 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/strategy && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_
PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/s
pack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/in
clude -isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT
src/umpire/strategy/CMakeFiles/umpire_strategy.dir/SizeLimiter.cpp.o -MF CMakeFiles/umpire_strategy.dir/SizeLimiter.cpp.o.d -o CMakeFiles/umpire_strategy.dir/SizeLimiter.cpp.o -c /tm
p/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/strategy/SizeLimiter.cpp
240 [ 30%] Building CXX object src/umpire/op/CMakeFiles/umpire_op.dir/MemoryOperationRegistry.cpp.o
241 cd /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/src/umpire/op && /spack/lib/spack/env/gcc/g++ -DCAMP_HAVE_HIP -D__HIP_PLATFO
RM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/camp-2022.03.2-mwar3y5ghukmikpv7zrc3lhvoepwnhq3/include -I/tmp/root/spack-stage/spack-s
tage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src -I/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq/include
-isystem /spack/opt/spack/linux-ubuntu22.04-cascadelake/gcc-11.2.0/hip-5.2.3-unhizofrmbtqv4nvknubhsw4t4wpeqnj/include -Wall -Wextra -O2 -g -DNDEBUG -fPIC -std=c++14 -MD -MT src/u
mpire/op/CMakeFiles/umpire_op.dir/MemoryOperationRegistry.cpp.o -MF CMakeFiles/umpire_op.dir/MemoryOperationRegistry.cpp.o.d -o CMakeFiles/umpire_op.dir/MemoryOperationRegistry.cpp.o
-c /tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-src/src/umpire/op/MemoryOperationRegistry.cpp
242 [ 32%] Building CXX object src/umpire/op/CMakeFiles/umpire_op.dir/HipCopyOperation.cpp.o
...
263 [ 36%] Built target umpire_op
264 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq'
265 [ 36%] Built target umpire_strategy
266 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq'
267 [ 36%] Built target umpire_resource
268 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-umpire-2022.03.1-tmss4gqp4flhlie5rn3f3cwzsradyizn/spack-build-tmss4gq'
>> 269 make: *** [Makefile:139: all] Error 2
The cause of the issue is described here by @mcfadden8:
And a fix has been submitted for blt here:
I am planning to make a patch that applies LLNL/blt#599 to close this issue.
Error message
Error message
... see above
Information on your system
- Spack: 0.19.0.dev0 (d013689)
- Python: 3.10.6
- Platform: linux-ubuntu22.04-cascadelake
- Concretizer: clingo
Additional information
CMakeOutput.log
spack-build-env.txt
spack-build-out.txt
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
Reactions are currently unavailable