Skip to content

Instantly share code, notes, and snippets.

@willtryagain
Created February 15, 2024 07:54
Show Gist options
  • Save willtryagain/65d36b9b52ccb491bdba1caae1e3f0d0 to your computer and use it in GitHub Desktop.
Save willtryagain/65d36b9b52ccb491bdba1caae1e3f0d0 to your computer and use it in GitHub Desktop.
Build error
CMake Error at build/_deps/rapids-cmake-src/rapids-cmake/test/generate_resource_spec.cmake:90 (message):
rapids_test_generate_resource_spec failed to build detection executable.
rapids_test_generate_resource_spec
compile[/home/a/miniforge3/envs/rmm_dev/bin/x86_64-conda-linux-gnu-c++
-I/home/a/miniforge3/envs/rmm_dev/targets/x86_64-linux/include;-I/usr/include;-DHAVE_CUDA
/home/a/miniforge3/envs/rmm_dev/lib/libcudart.so;-lpthread;-lrt;-ldl]
failure details are:
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:75,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ext/string_conversions.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6608,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:95:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
95 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:101:5: error: 'div_t' does not name a type
101 | } div_t;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:112:1: error: '__END_NAMESPACE_STD' does not name a type
112 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:121:5: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
121 | } lldiv_t;
| ^~~~~~~
| ldiv_t
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:123:1: error: '__END_NAMESPACE_C99' does not name a type
123 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:142:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
142 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:152:1: error: '__END_NAMESPACE_STD' does not name a type
152 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:159:1: error: '__END_NAMESPACE_C99' does not name a type
159 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:167:1: error: '__END_NAMESPACE_STD' does not name a type
167 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:178:1: error: '__END_NAMESPACE_C99' does not name a type
178 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:190:1: error: '__END_NAMESPACE_STD' does not name a type
190 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:217:1: error: '__END_NAMESPACE_C99' does not name a type
217 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:235,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:75,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ext/string_conversions.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6608,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/xlocale.h:39:14: error: expected constructor, destructor, or type conversion before ';' token
39 | } *__locale_t;
| ^
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:75,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ext/string_conversions.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6608,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:372:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
372 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:377:1: error: '__END_NAMESPACE_STD' does not name a type
377 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:463:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
463 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:469:1: error: '__END_NAMESPACE_STD' does not name a type
469 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:483:1: error: '__END_NAMESPACE_STD' does not name a type
483 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:75,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ext/string_conversions.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6608,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:512:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
512 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:529:1: error: '__END_NAMESPACE_STD' does not name a type
529 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:538:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
538 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:550:1: error: '__END_NAMESPACE_STD' does not name a type
550 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:557:1: error: '__END_NAMESPACE_C99' does not name a type
557 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:564:1: error: '__END_NAMESPACE_STD' does not name a type
564 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:711:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
711 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:717:1: error: '__END_NAMESPACE_STD' does not name a type
717 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:751:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
751 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:772:1: error: '__END_NAMESPACE_STD' does not name a type
772 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:780:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
780 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:788:1: error: '__END_NAMESPACE_STD' does not name a type
788 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:795:1: error: '__END_NAMESPACE_C99' does not name a type
795 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:876:1: error: '__END_NAMESPACE_STD' does not name a type
876 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ext/string_conversions.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6608,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:127:11: error: 'div_t' has not been declared in '::'
127 | using ::div_t;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:130:11: error: 'abort' has not been declared in '::'
130 | using ::abort;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:140:11: error: 'atof' has not been declared in '::'
140 | using ::atof;
| ^~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:143:11: error: 'bsearch' has not been declared in '::'
143 | using ::bsearch;
| ^~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:145:11: error: 'div' has not been declared in '::'
145 | using ::div;
| ^~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:146:11: error: 'exit' has not been declared in '::'
146 | using ::exit;
| ^~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:148:11: error: 'getenv' has not been declared in '::'
148 | using ::getenv;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:151:11: error: 'malloc' has not been declared in '::'
151 | using ::malloc;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:153:11: error: 'mblen' has not been declared in '::'
153 | using ::mblen;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:163:11: error: 'rand' has not been declared in '::'
163 | using ::rand;
| ^~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:164:11: error: 'realloc' has not been declared in '::'
164 | using ::realloc;
| ^~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:166:11: error: 'strtod' has not been declared in '::'
166 | using ::strtod;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:167:11: error: 'strtol' has not been declared in '::'
167 | using ::strtol;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:169:11: error: 'system' has not been declared in '::'
169 | using ::system;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:200:11: error: 'lldiv_t' has not been declared in '::'
200 | using ::lldiv_t;
| ^~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:206:11: error: '_Exit' has not been declared in '::'
206 | using ::_Exit;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:210:11: error: 'llabs' has not been declared in '::'
210 | using ::llabs;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:212:10: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
212 | inline lldiv_t
| ^~~~~~~
| ldiv_t
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:216:11: error: 'lldiv' has not been declared in '::'
216 | using ::lldiv;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:227:11: error: 'atoll' has not been declared in '::'
227 | using ::atoll;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:228:11: error: 'strtoll' has not been declared in '::'
228 | using ::strtoll;
| ^~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:231:11: error: 'strtof' has not been declared in '::'
231 | using ::strtof;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:240:22: error: 'lldiv_t' has not been declared in '__gnu_cxx'
240 | using ::__gnu_cxx::lldiv_t;
| ^~~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:242:22: error: '_Exit' has not been declared in '__gnu_cxx'
242 | using ::__gnu_cxx::_Exit;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:244:22: error: 'llabs' has not been declared in '__gnu_cxx'
244 | using ::__gnu_cxx::llabs;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:245:22: error: 'div' has not been declared in '__gnu_cxx'
245 | using ::__gnu_cxx::div;
| ^~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:246:22: error: 'lldiv' has not been declared in '__gnu_cxx'
246 | using ::__gnu_cxx::lldiv;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:248:22: error: 'atoll' has not been declared in '__gnu_cxx'
248 | using ::__gnu_cxx::atoll;
| ^~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:249:22: error: 'strtof' has not been declared in '__gnu_cxx'
249 | using ::__gnu_cxx::strtof;
| ^~~~~~
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:250:22: error: 'strtoll' has not been declared in '__gnu_cxx'
250 | using ::__gnu_cxx::strtoll;
| ^~~~~~~
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/string:55,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/locale_classes.h:40,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/ios_base.h:41,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ios:42,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/ostream:38,
from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/iostream:39,
from /home/a/os/rmm/build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_resource_spec.cpp:21:
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const string&, std::size_t*, int)':
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6620:47: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6620 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ^~~~~~
| strtoul
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const string&, std::size_t*, int)':
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6625:36: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6625 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ^~~~~~
| strtoul
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6635:36: error: 'strtoll' is not a member of 'std'; did you mean 'strtoull'?
6635 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
| ^~~~~~~
| strtoull
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h: In function 'float std::__cxx11::stof(const string&, std::size_t*)':
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6646:36: error: 'strtof' is not a member of 'std'; did you mean 'strtoul'?
6646 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ^~~~~~
| strtoul
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h: In function 'double std::__cxx11::stod(const string&, std::size_t*)':
/home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:6650:36: error: 'strtod' is not a member of 'std'; did you mean 'strtold'?
6650 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ^~~~~~
| strtold
Call Stack (most recent call first):
build/_deps/rapids-cmake-src/rapids-cmake/test/init.cmake:61 (rapids_test_generate_resource_spec)
tests/CMakeLists.txt:20 (rapids_test_init)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment