Bug#831149: python-escript: FTBFS with GCC 6: escriptcore/src/Data.cpp:1574:47: error: no matching function for call to 'C_TensorUnaryOperation(const escript::Data&, <unresolved overloaded function type>)'
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 07:22:10 UTC 2016
Source: python-escript
Version: 4.2.0.1-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64
Hi,
During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html
Relevant part (hopefully):
> g++ -o debian/tmp2/posix/escriptcore/Data.os -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -O3 -pedantic -Wall -fPIC -Wno-unknown-pragmas -Wno-sign-compare -Wno-system-headers -Wno-long-long -Wno-strict-aliasing -finline-functions -isystem /usr/include/python2.7 -isystem /usr/include/boost -Werror -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSVN_VERSION=6110 -DHAVE_GETHOSTNAME -DHAVE_BYTESWAP_H -DHAVE_NUMPY_H -DUSE_NETCDF -Idebian/stage2/include -I/usr/include escriptcore/src/Data.cpp
> escriptcore/src/Data.cpp: In member function 'escript::Data escript::Data::erf() const':
> escriptcore/src/Data.cpp:1574:47: error: no matching function for call to 'C_TensorUnaryOperation(const escript::Data&, <unresolved overloaded function type>)'
> return C_TensorUnaryOperation(*this, ::erf);
> ^
> In file included from escriptcore/src/Data.cpp:20:0:
> escriptcore/src/Data.h:3197:1: note: candidate: template<class UnaryFunction> escript::Data escript::C_TensorUnaryOperation(const escript::Data&, UnaryFunction)
> C_TensorUnaryOperation(Data const &arg_0,
> ^~~~~~~~~~~~~~~~~~~~~~
> escriptcore/src/Data.h:3197:1: note: template argument deduction/substitution failed:
> escriptcore/src/Data.cpp:1574:47: note: couldn't deduce template parameter 'UnaryFunction'
> return C_TensorUnaryOperation(*this, ::erf);
> ^
> escriptcore/src/Data.cpp: In member function 'escript::Data escript::Data::asinh() const':
> escriptcore/src/Data.cpp:1585:49: error: no matching function for call to 'C_TensorUnaryOperation(const escript::Data&, <unresolved overloaded function type>)'
> return C_TensorUnaryOperation(*this, ::asinh);
> ^
> In file included from escriptcore/src/Data.cpp:20:0:
> escriptcore/src/Data.h:3197:1: note: candidate: template<class UnaryFunction> escript::Data escript::C_TensorUnaryOperation(const escript::Data&, UnaryFunction)
> C_TensorUnaryOperation(Data const &arg_0,
> ^~~~~~~~~~~~~~~~~~~~~~
> escriptcore/src/Data.h:3197:1: note: template argument deduction/substitution failed:
> escriptcore/src/Data.cpp:1585:49: note: couldn't deduce template parameter 'UnaryFunction'
> return C_TensorUnaryOperation(*this, ::asinh);
> ^
> escriptcore/src/Data.cpp: In member function 'escript::Data escript::Data::acosh() const':
> escriptcore/src/Data.cpp:1596:49: error: no matching function for call to 'C_TensorUnaryOperation(const escript::Data&, <unresolved overloaded function type>)'
> return C_TensorUnaryOperation(*this, ::acosh);
> ^
> In file included from escriptcore/src/Data.cpp:20:0:
> escriptcore/src/Data.h:3197:1: note: candidate: template<class UnaryFunction> escript::Data escript::C_TensorUnaryOperation(const escript::Data&, UnaryFunction)
> C_TensorUnaryOperation(Data const &arg_0,
> ^~~~~~~~~~~~~~~~~~~~~~
> escriptcore/src/Data.h:3197:1: note: template argument deduction/substitution failed:
> escriptcore/src/Data.cpp:1596:49: note: couldn't deduce template parameter 'UnaryFunction'
> return C_TensorUnaryOperation(*this, ::acosh);
> ^
> escriptcore/src/Data.cpp: In member function 'escript::Data escript::Data::atanh() const':
> escriptcore/src/Data.cpp:1607:49: error: no matching function for call to 'C_TensorUnaryOperation(const escript::Data&, <unresolved overloaded function type>)'
> return C_TensorUnaryOperation(*this, ::atanh);
> ^
> In file included from escriptcore/src/Data.cpp:20:0:
> escriptcore/src/Data.h:3197:1: note: candidate: template<class UnaryFunction> escript::Data escript::C_TensorUnaryOperation(const escript::Data&, UnaryFunction)
> C_TensorUnaryOperation(Data const &arg_0,
> ^~~~~~~~~~~~~~~~~~~~~~
> escriptcore/src/Data.h:3197:1: note: template argument deduction/substitution failed:
> escriptcore/src/Data.cpp:1607:49: note: couldn't deduce template parameter 'UnaryFunction'
> return C_TensorUnaryOperation(*this, ::atanh);
> ^
> scons: *** [debian/tmp2/posix/escriptcore/Data.os] Error 1
> scons: building terminated because of errors.
>
> *** Config Summary (see config.log and <prefix>/lib/buildvars for details) ***
> Escript/Finley revision 6110
> Install prefix: /«PKGBUILDDIR»/debian/stage2
> Python: /usr
> boost: /usr (Version 1.58.0)
> numpy: YES (with headers)
> MPI: NO
> ParMETIS: NO
> LAPACK: NO
> CUDA: NO
> openmp: YES
> netcdf: YES
> debug: NO
> boomeramg: NO
> cppunit: NO
> gdal: NO
> mkl: NO
> papi: NO
> pyproj: NO
> scipy: NO
> silo: NO
> sympy: NO
> umfpack: NO
> visit: NO
> gmsh: NO
> gzip: NO
> 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]: *** [override_dh_auto_build] Error 2
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/python-escript_4.2.0.1-3_unstable_gcc6.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list