Bug#897840: python-escript: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:23:14 BST 2018


Package: src:python-escript
Version: 5.1-6
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/python-escript_5.1-6_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
                          ^
escriptcore/src/Data.cpp: In member function 'boost::python::api::object escript::Data::__rdiv__(const boost::python::api::object&)':
escriptcore/src/Data.cpp:5966:26: error: catching polymorphic type 'class escript::DataException' by value [-Werror=catch-value=]
     catch (DataException e)
                          ^
escriptcore/src/DataAbstract.cpp: In member function 'escript::DataAbstract_ptr escript::DataAbstract::getPtr()':
escriptcore/src/DataAbstract.cpp:44:30: error: catching polymorphic type 'class boost::bad_weak_ptr' by value [-Werror=catch-value=]
   catch (boost::bad_weak_ptr p)
                              ^
escriptcore/src/DataAbstract.cpp: In member function 'escript::const_DataAbstract_ptr escript::DataAbstract::getPtr() const':
escriptcore/src/DataAbstract.cpp:56:30: error: catching polymorphic type 'class boost::bad_weak_ptr' by value [-Werror=catch-value=]
   catch (boost::bad_weak_ptr p)
                              ^
cc1plus: all warnings being treated as errors
scons: *** [debian/tmp2/posix/escriptcore/src/AbstractSystemMatrix.os] Error 1
cc1plus: all warnings being treated as errors
scons: *** [debian/tmp2/posix/escriptcore/src/DataAbstract.os] Error 1
cc1plus: all warnings being treated as errors
scons: *** [debian/tmp2/posix/escriptcore/src/Data.os] Error 1
scons: building terminated because of errors.

*** Config Summary (see config.log and <prefix>/lib/buildvars for details) ***
Escript revision 6608
  Install prefix:  /<<PKGBUILDDIR>>/debian/stage2
          Python:  /usr/bin/python (Version 2.7.15)
           boost:  /usr (Version 1.62.0)
           numpy:  YES (with headers)
  Solver library:  paso
   Direct solver:  NONE
         domains:  dudley, finley, ripley, speckley
          netcdf:  YES (3)
           weipa:  YES
          openmp:  YES

  DISABLED features: boomeramg cppunit cuda debug gdal gmsh gzip lapack mkl mpi papi parmetis pyproj scipy silo sympy trilinos umfpack visit
  Treating warnings as errors

WARNING: Cannot import scipy. NetCDF sources will not be available for inversions.
WARNING: Cannot import pyproj. Inversions may not work.
WARNING: Cannot import gdal. Inversions will not honour WKT coordinate system information.
WARNING: Cannot import sympy. Symbolic toolbox and nonlinear PDEs will not be available.
WARNING: matplotlib not found, will skip some unit tests
WARNING: gmsh not available. Skipping tests usersguide/trapezoid.py usersguide/quad.py usersguide/brick.py usersguide/refine.py cookbook/example04a.py cookbook/example04b.py cookbook/example05a.py cookbook/example05b.py cookbook/example05c.py cookbook/example06.py cookbook/example08c.py cookbook/example09m.py cookbook/example09a.py cookbook/example10m.py inversion/dc_forward.py!

ERROR: build stopped due to errors

make[1]: *** [debian/rules:60: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:30: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list