Bug#1011928: trilinos FTBFS: isinf was not defined in this scope

M. Zhou lumin at debian.org
Thu May 26 21:30:38 BST 2022


Source: trilinos
Version: 13.2.0-1
Severity: serious

This is a side-product of a rebuild test against libtbb-dev/experimental

==> CMakeFiles/CMakeError.log <==                                                                                      
Performing C++ SOURCE FILE Test FINITE_VALUE_HAVE_GLOBAL_ISNAN failed with the following output:                       
Change Dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp                                                  
                                                                                                                                                                                      
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c127c/fast && gmake[2]: Entering directory '/<<PKGBUILDDIR>>/obj-
x86_64-linux-gnu/CMakeFiles/CMakeTmp'                           
/usr/bin/gmake  -f CMakeFiles/cmTC_c127c.dir/build.make CMakeFiles/cmTC_c127c.dir/build                                
gmake[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'                               
Building CXX object CMakeFiles/cmTC_c127c.dir/src.cxx.o                                                                
/usr/bin/mpicxx -DFINITE_VALUE_HAVE_GLOBAL_ISNAN  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=
2  -O3 -DNDEBUG -std=c++14 -o CMakeFiles/cmTC_c127c.dir/src.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-
gnu/CMakeFiles/CMakeTmp/src.cxx                                                
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:                           
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:6:3: error: ‘isnan’ was not declared in this scope;
did you mean ‘std::isnan’?                                      
    6 |   isnan(x);                                                                                                    
      |   ^~~~~                                                                                                        
      |   std::isnan                                                                                                   
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:2:                             
/usr/include/c++/11/cmath:632:5: note: ‘std::isnan’ declared here                                                      
  632 |     isnan(_Tp __x)                                                                                             
      |     ^~~~~                                                                                                      
gmake[3]: *** [CMakeFiles/cmTC_c127c.dir/build.make:78: CMakeFiles/cmTC_c127c.dir/src.cxx.o] Error 1                   
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'                                
gmake[2]: *** [Makefile:127: cmTC_c127c/fast] Error 2                                                                  
gmake[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'                                



More information about the debian-science-maintainers mailing list