Bug#897752: freefem3d: ftbfs with GCC-8
Matthias Klose
doko at debian.org
Fri May 4 13:21:38 BST 2018
Package: src:freefem3d
Version: 1.0pre10-4
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/freefem3d_1.0pre10-4_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
[...]
./P2TetrahedronFiniteElement.hpp:79:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 1; FiniteElementType = Q0Quadrangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaQ0Quadrangle3D]':
./Q0Quadrangle3DFiniteElement.hpp:108:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 4; FiniteElementType = Q1Quadrangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaQ1Quadrangle3D]':
./Q1Quadrangle3DFiniteElement.hpp:108:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 9; FiniteElementType = Q2Quadrangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaQ2Quadrangle3D]':
./Q2Quadrangle3DFiniteElement.hpp:138:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 1; FiniteElementType = P0Triangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaP0Triangle3D]':
./P0Triangle3DFiniteElement.hpp:74:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 3; FiniteElementType = P1Triangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaP1Triangle3D]':
./P1Triangle3DFiniteElement.hpp:74:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
./LagrangianFiniteElement.hpp: In instantiation of 'LagrangianFiniteElement<numberOfDegreesOfFreedom, FiniteElementType, GivenQuadratureType>::LagrangianFiniteElement() [with long unsigned int numberOfDegreesOfFreedom = 6; FiniteElementType = P2Triangle3DFiniteElement; GivenQuadratureType = QuadratureFormulaP2Triangle3D]':
./P2Triangle3DFiniteElement.hpp:74:3: required from here
./LagrangianFiniteElement.hpp:365:5: warning: catching polymorphic type 'class ErrorHandler' by value [-Wcatch-value=]
In file included from ./DegreeOfFreedomSet.hpp:23,
from ./FictitiousDomainMethod.hpp:33,
from ./EliminatedFictitiousDomain.hpp:23,
from EliminatedFictitiousDomain.cpp:20:
../algebra/Vector.hpp: In static member function 'static void BoundaryConditionDiscretizationElimination<MeshType, TypeOfDiscretization>::__DirichletBorderLinearOperator(const BoundaryConditionDiscretizationElimination<MeshType, TypeOfDiscretization>&, MatrixType&, VectorType&) [with MatrixType = BaseMatrix; VectorType = Vector<double>; MeshType = Structured3DMesh; DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)11]':
../algebra/Vector.hpp:310:7: warning: 'temp.Vector<bool>::__values' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete[] __values;
^~~~~~
In file included from EliminatedFictitiousDomain.cpp:21:
./BoundaryConditionDiscretizationElimination.hpp:166:18: note: 'temp.Vector<bool>::__values' was declared here
Vector<bool> temp = bc.__dirichletList;
^~~~
In file included from ./DegreeOfFreedomSet.hpp:23,
from ./FictitiousDomainMethod.hpp:33,
from ./EliminatedFictitiousDomain.hpp:23,
from EliminatedFictitiousDomain.cpp:20:
../algebra/Vector.hpp: In static member function 'static void BoundaryConditionDiscretizationElimination<MeshType, TypeOfDiscretization>::__DirichletBorderLinearOperator(const BoundaryConditionDiscretizationElimination<MeshType, TypeOfDiscretization>&, MatrixType&, VectorType&) [with MatrixType = BaseMatrix; VectorType = Vector<double>; MeshType = Structured3DMesh; DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)12]':
../algebra/Vector.hpp:310:7: warning: 'temp.Vector<bool>::__values' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete[] __values;
^~~~~~
In file included from EliminatedFictitiousDomain.cpp:21:
./BoundaryConditionDiscretizationElimination.hpp:166:18: note: 'temp.Vector<bool>::__values' was declared here
Vector<bool> temp = bc.__dirichletList;
^~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/solver'
make[2]: *** [Makefile:675: all-recursive] Error 1
make[1]: *** [Makefile:485: all] Error 2
dh_auto_build: make -j8 -Oline returned exit code 2
make: *** [debian/rules:13: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list