Package: voms Version: 2.0.12-3 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-no-match
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. Note that only the first error is reported; there might be more. 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.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > g++ -DHAVE_CONFIG_H -I. -I../../src/autogen -I../../src/include > -I../../src/api/ccapi -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIE > -fstack-protector-strong -Wformat -Werror=format-security -MT vomsd.o -MD -MP > -MF .deps/vomsd.Tpo -c -o vomsd.o vomsd.cc > In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0, > from vomsd.cc:34: > /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^~~~~~~ > > vomsd.cc:462:34: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > std::cout << "Compiled: " << __DATE__ << " " << __TIME__ << std::endl; > ^~~~~~~~ > > vomsd.cc:462:53: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > std::cout << "Compiled: " << __DATE__ << " " << __TIME__ << std::endl; > ^~~~~~~~ > > vomsd.cc:522:56: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > LOGM(VARP, logh, LEV_INFO, T_PRE, "Compiled: %s %s", __DATE__, __TIME__); > ^~~~~~~~ > > vomsd.cc:522:66: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > LOGM(VARP, logh, LEV_INFO, T_PRE, "Compiled: %s %s", __DATE__, __TIME__); > ^~~~~~~~ > > vomsd.cc: In function 'std::__cxx11::string parse_order(const string&, > ordermap&)': > vomsd.cc:293:64: error: no matching function for call to > 'make_pair(std::__cxx11::string&, int&)' > ordering.insert(std::make_pair<std::string, int>(fqan,order)); > ^ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, > from /usr/include/c++/6/bits/char_traits.h:39, > from /usr/include/c++/6/ios:40, > from /usr/include/c++/6/istream:38, > from /usr/include/c++/6/sstream:38, > from vomsd.cc:57: > /usr/include/c++/6/bits/stl_pair.h:406:5: note: candidate: template<class > _T1, class _T2> constexpr std::pair<typename > std::__decay_and_strip<_Tp>::__type, typename > std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) > make_pair(_T1&& __x, _T2&& __y) > ^~~~~~~~~ > > /usr/include/c++/6/bits/stl_pair.h:406:5: note: template argument > deduction/substitution failed: > vomsd.cc:293:64: note: cannot convert 'fqan' (type 'std::__cxx11::string > {aka std::__cxx11::basic_string<char>}') to type > 'std::__cxx11::basic_string<char>&&' > ordering.insert(std::make_pair<std::string, int>(fqan,order)); > ^ > > Makefile:547: recipe for target 'vomsd.o' failed > make[3]: *** [vomsd.o] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/server' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

