[Debian-med-packaging] Bug#897867: Help needed for different gcc-8 bug in new upstream version (Was: spades: ftbfs with GCC-8)

Juhani Numminen juhaninumminen0 at gmail.com
Wed Jul 18 12:09:59 BST 2018


Andreas Tille kirjoitti 18.07.2018 klo 09:52:
> Control: tags -1 help
> 
> Hi,
> 
> upstream seems to have dealt with the original issue in the logs of this
> bug report in the new upstream version which I commited to Salsa[1].
> Unfortunately there is a new issue where I need help from a C++ programmer:

> /build/spades-3.12.0+dfsg/src/common/utils/logger/logger_impl.cpp:115:20: error: 'get_max_rss' is not a member of 'utils'
>    max_rss = utils::get_max_rss();
>                     ^~~~~~~~~~~
> make[4]: *** [common/utils/CMakeFiles/utils.dir/build.make:115: common/utils/CMakeFiles/utils.dir/logger/logger_impl.cpp.o] Error 1
> ...
> 
> 
> Any help would be welcome

Could be a missing include.
Perhaps it's as simple as adding this line to logger_impl.cpp:

#include "utils/memory_limit.hpp"

The function declaration for utils::get_max_rss() seems to live there.


Juhani



More information about the Debian-med-packaging mailing list