[GRASS-dev] [GRASS GIS] #3273: Fails to build with GCC 7

GRASS GIS trac at osgeo.org
Tue Jan 31 09:38:25 PST 2017


#3273: Fails to build with GCC 7
-----------------------+-------------------------
 Reporter:  sebastic   |      Owner:  grass-dev@…
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  7.2.1
Component:  Compiling  |    Version:  7.2.0
 Keywords:             |        CPU:  x86-64
 Platform:  Linux      |
-----------------------+-------------------------
 As reported by Matthias Klose in [https://bugs.debian.org/853433 Debian
 Bug #853433]:
 > The package fails to build in a test rebuild on at least amd64 with
 > gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
 > severity of this report may be raised before the buster release.
 > There is no need to fix this issue in time for the stretch release.
 >
 > The full build log can be found at:
 >
 http://people.debian.org/~doko/logs/gcc7-20170126/grass_7.2.0-1_unstable_gcc7.log
 > The last lines of the build log are at the end of this report.
 >
 > To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
 >
 > {{{
 > [...]
 > can't handle line breaks in <dt>...</dt>
 > make[6]: Leaving directory '/<<PKGBUILDDIR>>/man'
 > make[5]: Leaving directory '/<<PKGBUILDDIR>>/man'
 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
 > make[4]: Entering directory '/<<PKGBUILDDIR>>/macosx'
 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/macosx'
 > make[4]: Entering directory '/<<PKGBUILDDIR>>/mswindows'
 > make[4]: Nothing to be done for 'first'.
 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/mswindows'
 > make[3]: Leaving directory '/<<PKGBUILDDIR>>'
 > make /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/AUTHORS
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/CHANGES
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/CITING
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/COPYING
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/GPL.TXT
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/INSTALL
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/REQUIREMENTS.html
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/contributors.csv
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/contributors_extra.csv
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/translators.csv
 > make[3]: Entering directory '/<<PKGBUILDDIR>>'
 > /usr/bin/install -c  -m 644 AUTHORS /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/AUTHORS
 > /usr/bin/install -c  -m 644 CHANGES /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/CHANGES
 > /usr/bin/install -c  -m 644 CITING /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/CITING
 > /usr/bin/install -c  -m 644 COPYING /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/COPYING
 > /usr/bin/install -c  -m 644 GPL.TXT /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/GPL.TXT
 > /usr/bin/install -c  -m 644 INSTALL /<<PKGBUILDDIR>>/dist.x86_64-pc-
 linux-gnu/INSTALL
 > /usr/bin/install -c  -m 644 REQUIREMENTS.html
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/REQUIREMENTS.html
 > /usr/bin/install -c  -m 644 contributors.csv
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/contributors.csv
 > /usr/bin/install -c  -m 644 contributors_extra.csv
 /<<PKGBUILDDIR>>/dist.x86_64-pc-linux-gnu/contributors_extra.csv
 > /usr/bin/install -c  -m 644 translators.csv /<<PKGBUILDDIR>>/dist.x86_64
 -pc-linux-gnu/translators.csv
 > make[3]: Leaving directory '/<<PKGBUILDDIR>>'
 > make manifests
 > make[3]: Entering directory '/<<PKGBUILDDIR>>'
 > make[3]: Nothing to be done for 'manifests'.
 > make[3]: Leaving directory '/<<PKGBUILDDIR>>'
 > GRASS GIS 7.2.0 exported compilation log
 > --------------------------------------------------
 > Started compilation: Fri Jan 27 12:58:35 UTC 2017
 > --
 > Errors in:
 > /<<PKGBUILDDIR>>/lib/python/ctypes
 > --
 > In case of errors please change into the directory with error and run
 'make'.
 > If you get multiple errors, you need to deal with them in the order they
 > appear in the error log. If you get an error building a library, you
 will
 > also get errors from anything which uses the library.
 > --
 > Finished compilation: Fri Jan 27 12:59:36 UTC 2017
 > Makefile:57: recipe for target 'default' failed
 > make[2]: *** [default] Error 1
 > make[2]: Leaving directory '/<<PKGBUILDDIR>>'
 > dh_auto_build: make -j64 returned exit code 2
 > debian/rules:110: recipe for target 'build-arch-stamp' failed
 > make[1]: *** [build-arch-stamp] Error 2
 > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 > debian/rules:37: recipe for target 'build' failed
 > make: *** [build] Error 2
 > dpkg-buildpackage: error: debian/rules build gave error exit status 2
 > }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3273>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list