Package: src:pktools Version: 2.5.3-1 Severity: normal Tags: sid stretch User: debian-...@lists.debian.org Usertags: ftbfs-gcc-5
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The severity of this report may be raised before the stretch release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc5-20150205/pktools_2.5.3-1_unstable_gcc5.log The last lines of the build log are at the end of this report. To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t experimental install g++ Common build failures are C11 as the default C mode, 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-5/porting_to.html [...] #define PACKAGE_STRING "" ^ In file included from ../../src/base/Optionpk.h:41:0, from pkfssvm.cc:25: ../../config.h:66:0: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "pktools" ^ In file included from /usr/include/gdal/cpl_port.h:80:0, from /usr/include/gdal/ogr_core.h:33, from /usr/include/gdal/ogr_geometry.h:34, from /usr/include/gdal/ogr_feature.h:33, from ../../src/base/Optionpk.h:38, from pkfssvm.cc:25: /usr/include/gdal/cpl_config.h:207:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "" ^ In file included from ../../src/base/Optionpk.h:41:0, from pkfssvm.cc:25: ../../config.h:72:0: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "2.5.3" ^ In file included from /usr/include/gdal/cpl_port.h:80:0, from /usr/include/gdal/ogr_core.h:33, from /usr/include/gdal/ogr_geometry.h:34, from /usr/include/gdal/ogr_feature.h:33, from ../../src/base/Optionpk.h:38, from pkfssvm.cc:25: /usr/include/gdal/cpl_config.h:213:0: note: this is the location of the previous definition #define PACKAGE_VERSION "" ^ In file included from pkfssvm.cc:28:0: ../../src/algorithms/FeatureSelector.h:52:177: error: redeclaration of 'double FeatureSelector::forwardUnivariate(std::vector<Vector2d<T> >&, CostFactory&, std::list<int>&, int, short int)' may not have default arguments [-fpermissive] template<class T> double FeatureSelector::forwardUnivariate(std::vector< Vector2d<T> >& v, CostFactory& theCostFactory, std::list<int>& subset, int maxFeatures=0, short verbose){ ^ ../../src/algorithms/FeatureSelector.h:111:167: error: redeclaration of 'double FeatureSelector::forward(std::vector<Vector2d<T> >&, CostFactory&, std::list<int>&, int, short int)' may not have default arguments [-fpermissive] template<class T> double FeatureSelector::forward(std::vector< Vector2d<T> >& v, CostFactory& theCostFactory, std::list<int>& subset, int maxFeatures=0, short verbose){ ^ make[3]: *** [pkfssvm.o] Error 1 Makefile:952: recipe for target 'pkfssvm.o' failed make[3]: Leaving directory '/«PKGBUILDDIR»/src/apps' make[2]: *** [all-recursive] Error 1 Makefile:502: recipe for target 'all-recursive' failed make[2]: Leaving directory '/«PKGBUILDDIR»' make[1]: *** [all] Error 2 Makefile:389: recipe for target 'all' failed make[1]: Leaving directory '/«PKGBUILDDIR»' dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 debian/rules:12: recipe for target 'build-arch' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel