[Debian-med-packaging] Bug#836930: mssstest: FTBFS with GCC 6: error: reference to 'rank' is ambiguous

Andreas Beckmann anbe at debian.org
Wed Sep 7 10:52:18 UTC 2016


Source: mssstest
Version: 3.0-4
Severity: serious
Justification: fails to build from source

Hi,

mssstest FTBFS since the default compiler was switched to gcc-6:

 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
   dh_auto_build
        make -j1
make[1]: Entering directory '/build/mssstest-3.0'
g++ -g -O2 -fdebug-prefix-map=/build/mssstest-3.0=. -fstack-protector-strong -Wformat -Werror=format-security -c neededroutines.cpp  -g -o neededroutines.o
neededroutines.cpp: In function 'float rankties(long unsigned int, float*, float*)':
neededroutines.cpp:172:3: error: reference to 'rank' is ambiguous
   rank(len, arr, intranks);
   ^~~~
neededroutines.cpp:138:6: note: candidates are: void rank(long unsigned int, float*, int*)
 void rank(unsigned long len, float arr[], int ranks[])
      ^~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/nested_exception.h:40,
                 from /usr/include/c++/6/exception:171,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from neededroutines.h:1,
                 from neededroutines.cpp:2:
/usr/include/c++/6/type_traits:1471:12: note:                 template<class> struct std::rank
     struct rank
            ^~~~
makefile:10: recipe for target 'neededroutines.o' failed
make[1]: *** [neededroutines.o] Error 1
make[1]: Leaving directory '/build/mssstest-3.0'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2


Andreas



More information about the Debian-med-packaging mailing list