[Debian-med-packaging] Bug#816569: mrs: FTBFS with GCC 6: was not declared in this scope

Martin Michlmayr tbm at hpe.com
Thu Mar 3 02:56:44 UTC 2016


Package: mrs
Version: 6.0.5+dfsg-1
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> >> src/M6Utilities.cpp
> >> src/M6WSBlast.cpp
> >> src/M6WSSearch.cpp
> src/M6Matrix.cpp:319:33: error: 'log' was not declared in this scope
>   kMPam250ScalingFactor = log(2.f) / 3.0f,
>                                  ^
> GNUmakefile:104: recipe for target 'obj/M6Matrix.o' failed
> make[1]: *** [obj/M6Matrix.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> src/M6Databank.cpp: In member function 'void M6DatabankImpl::GetInfo(M6DatabankInfo&)':
> src/M6Databank.cpp:1424:94: warning: narrowing conversion of 'boost::filesystem::file_size(path)' from 'uintmax_t {aka long unsigned int}' to 'int64 {aka long int}' inside { } [-Wnarrowing]
>    M6IndexInfo info = { desc.mName, desc.mDesc, desc.mType, desc.mIndex->size(), fs::file_size(path) };
>                                                                                  ~~~~~~~~~~~~~^~~~~~
> src/M6Parser.cpp: In static member function 'static M6ParserImpl* M6ParserImpl::GetObject(SV*)':
> src/M6Parser.cpp:417:73: warning: null argument where non-null required (argument 2) [-Wnonnull]
>    if (tmp != 0 and strcmp(kM6ScriptType, HvNAME(SvSTASH(SvRV(inScalar)))) == 0)
>                                                                          ^
> make[1]: Leaving directory '/<<BUILDDIR>>/mrs-6.0.5+dfsg'
> dh_auto_build: make -j30 returned exit code 2

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Debian-med-packaging mailing list