I was trying to install polymake as a Sage package and ended up with the following compilation error

(I am using gcc 7.1.1). The downstream report for Sage as well as the complete traceback is available at/usr/include/c++/7.1.1/limits:317:7: error: invalid abstract return type 'pm::graph::EdgeMapBase'

min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }

https://trac.sagemath.org/ticket/23289

Any help would be appreciated,

Vincent