Package: ctemplate
Version: 2.0-1
Severity: important
Tags: sid wheezy
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

src/base/small_map.h:363:55: error: 'make_pair' was not declared in this scope, 
and no declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/ctemplate_2.0-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
src/base/small_map.h:363:55: error: 'make_pair' was not declared in this scope, 
and no declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]
In file included from /usr/include/c++/4.7/utility:72:0,
                 from /usr/include/c++/4.7/algorithm:61,
                 from src/template_dictionary.cc:41:
/usr/include/c++/4.7/bits/stl_pair.h:284:5: note: 'template<class _T1, class 
_T2> std::pair<_T1, _T2> std::make_pair(_T1, _T2)' declared here, later in the 
translation unit
In file included from src/template_dictionary.cc:53:0:
src/base/small_map.h:369:57: error: 'make_pair' was not declared in this scope, 
and no declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]
In file included from /usr/include/c++/4.7/utility:72:0,
                 from /usr/include/c++/4.7/algorithm:61,
                 from src/template_dictionary.cc:41:
/usr/include/c++/4.7/bits/stl_pair.h:284:5: note: 'template<class _T1, class 
_T2> std::pair<_T1, _T2> std::make_pair(_T1, _T2)' declared here, later in the 
translation unit
In file included from src/template_dictionary.cc:53:0:
src/base/small_map.h:372:58: error: 'make_pair' was not declared in this scope, 
and no declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]
In file included from /usr/include/c++/4.7/utility:72:0,
                 from /usr/include/c++/4.7/algorithm:61,
                 from src/template_dictionary.cc:41:
/usr/include/c++/4.7/bits/stl_pair.h:284:5: note: 'template<class _T1, class 
_T2> std::pair<_T1, _T2> std::make_pair(_T1, _T2)' declared here, later in the 
translation unit
In file included from src/template_dictionary.cc:53:0:
src/base/small_map.h:376:55: error: 'make_pair' was not declared in this scope, 
and no declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]
In file included from /usr/include/c++/4.7/utility:72:0,
                 from /usr/include/c++/4.7/algorithm:61,
                 from src/template_dictionary.cc:41:
/usr/include/c++/4.7/bits/stl_pair.h:284:5: note: 'template<class _T1, class 
_T2> std::pair<_T1, _T2> std::make_pair(_T1, _T2)' declared here, later in the 
translation unit
make[2]: *** [libctemplate_la-template_dictionary.lo] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to