Bug#820450: yade: FTBFS with glibc 2.23: 'isnan' was not declared in this scope

Graham Inggs ginggs at debian.org
Sun May 22 18:31:44 UTC 2016


Control: reopen -1
Control: notfixed -1 1.20.0-9

Hi Anton

It seems Gert's patch was included in 1.20.0-9, but with my name on it.

1.20.0-9 FTBFS on the Ubuntu buildds with the following error:

In file included from
/«PKGBUILDDIR»/lib/triangulation/FlowBoundingSphere.hpp:170:0,
                 from
/«PKGBUILDDIR»/debian/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:39,
                 from /«PKGBUILDDIR»/pkg/dem/TriaxialStressController.cpp:22:
/«PKGBUILDDIR»/lib/triangulation/FlowBoundingSphere.ipp: In member
function ‘virtual void
CGT::FlowBoundingSphere<_Tesselation>::gaussSeidel(CGT::Real)’:
/«PKGBUILDDIR»/lib/triangulation/FlowBoundingSphere.ipp:898:20: error:
there are no arguments to ‘isinf’ that depend on a template parameter,
so a declaration of ‘isinf’ must be available [-fpermissive]
        if ( isinf(m) && j<10 ) cout << "(cell->info().kNorm())[j2] =
" << (cell->info().kNorm())[j2] << " cell->neighbor(j2)->info().p() =
" << cell->neighbor(j2)->info().p() << endl;
                    ^

Reverting to the patch I uploaded with 1.20.0-8ubuntu1, and the same
as I attached to this bug, fixed the build.

Regards
Graham



More information about the debian-science-maintainers mailing list