Bug#777830: dans-gdal-scripts: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:56 UTC 2015


Package: src:dans-gdal-scripts
Version: 0.23-2
Severity: normal
Tags: sid stretch
User: debian-gcc at 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/dans-gdal-scripts_0.23-2_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

[...]
configure:4039: result: yes
configure:4039: checking for ogr_api.h
configure:4039: result: yes
configure:4039: checking ogr_spatialref.h usability
configure:4039: g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I/usr/include/gdal conftest.cpp >&5
In file included from /usr/include/gdal/cpl_port.h:80:0,
                 from /usr/include/gdal/ogr_core.h:33,
make: *** [build-arch] Error 2
                 from /usr/include/gdal/ogr_srs_api.h:34,
                 from /usr/include/gdal/ogr_spatialref.h:34,
                 from conftest.cpp:59:
/usr/include/gdal/cpl_config.h:198:0: warning: "PACKAGE_BUGREPORT" redefined
 #define PACKAGE_BUGREPORT ""
 ^
conftest.cpp:6:0: note: this is the location of the previous definition
 #define PACKAGE_BUGREPORT "dan at stahlke.org"
 ^
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_srs_api.h:34,
                 from /usr/include/gdal/ogr_spatialref.h:34,
                 from conftest.cpp:59:
/usr/include/gdal/cpl_config.h:201:0: warning: "PACKAGE_NAME" redefined
 #define PACKAGE_NAME ""
 ^
conftest.cpp:2:0: note: this is the location of the previous definition
 #define PACKAGE_NAME "dans-gdal-scripts"
 ^
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_srs_api.h:34,
                 from /usr/include/gdal/ogr_spatialref.h:34,
                 from conftest.cpp:59:
/usr/include/gdal/cpl_config.h:204:0: warning: "PACKAGE_STRING" redefined
 #define PACKAGE_STRING ""
 ^
conftest.cpp:5:0: note: this is the location of the previous definition
 #define PACKAGE_STRING "dans-gdal-scripts 0.23"
 ^
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_srs_api.h:34,
                 from /usr/include/gdal/ogr_spatialref.h:34,
                 from conftest.cpp:59:
/usr/include/gdal/cpl_config.h:207:0: warning: "PACKAGE_TARNAME" redefined
 #define PACKAGE_TARNAME ""
 ^
conftest.cpp:3:0: note: this is the location of the previous definition
 #define PACKAGE_TARNAME "dans-gdal-scripts"
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-grass-devel mailing list