[Cupt-devel] Bug#746840: cupt: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:21:23 UTC 2014


Package: src:cupt
Version: 2.7.2
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

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

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/cupt_2.7.2_unstable_gcc49.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files.  For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html

[...]
   dh_clean -O--parallel
 debian/rules build-arch
dh --parallel build-arch
   dh_testdir -a -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/«PKGBUILDDIR»'
cmake -DCMAKE_INSTALL_PREFIX=/«PKGBUILDDIR»/debian/tmp/usr -DLOCAL:bool=OFF -DOPTIMIZE=2 ./
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.54.0
-- Detected Cupt version: 2.7.2
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3") 
-- Configuring done
-- Generating done
-- Build files have been written to: /«PKGBUILDDIR»
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_build -a -O--parallel
make[1]: Entering directory `/«PKGBUILDDIR»'
make[2]: Entering directory `/«PKGBUILDDIR»'
make[3]: Entering directory `/«PKGBUILDDIR»'
Scanning dependencies of target libcupt3
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[3]: Entering directory `/«PKGBUILDDIR»'
[  1%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/common.cpp.o
[  2%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/configparser.cpp.o
[  3%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/nativeresolver/impl.cpp.o
[  5%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/nativeresolver/solution.cpp.o
[  6%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/nativeresolver/score.cpp.o
[  7%] Building CXX object cpp/lib/CMakeFiles/libcupt3.dir/src/internal/nativeresolver/dependencygraph.cpp.o
/«PKGBUILDDIR»/cpp/lib/src/internal/nativeresolver/dependencygraph.cpp: In lambda function:
/«PKGBUILDDIR»/cpp/lib/src/internal/nativeresolver/dependencygraph.cpp:637:38: error: converting to 'const std::forward_list<const cupt::internal::dependencygraph::BasicVertex*>' from initializer list would use explicit constructor 'std::forward_list<_Tp, _Alloc>::forward_list(const _Alloc&) [with _Tp = const cupt::internal::dependencygraph::BasicVertex*; _Alloc = std::allocator<const cupt::internal::dependencygraph::BasicVertex*>]'
      { packageName, { {}, nullptr } }).first;
                                      ^
make[3]: *** [cpp/lib/CMakeFiles/libcupt3.dir/src/internal/nativeresolver/dependencygraph.cpp.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: *** [cpp/lib/CMakeFiles/libcupt3.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Cupt-devel mailing list