Source: stimfit
Version: 0.15.2-1
Severity: serious
Tags: stretch sid
User: debian...@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):
> make[4]: Entering directory '/«PKGBUILDDIR»/src/stimfit'
>   CXX      libstimfit_la-stf.lo
>   CXX      libstimfit_la-app.lo
> ./gui/app.cpp:1419:30: warning: macro "__DATE__" might prevent reproducible 
> builds [-Wdate-time]
>      verString << wxT(__DATE__) << wxT(", ") << wxT(__TIME__);
>                               ^
> ./gui/app.cpp:1419:60: warning: macro "__TIME__" might prevent reproducible 
> builds [-Wdate-time]
>      verString << wxT(__DATE__) << wxT(", ") << wxT(__TIME__);
>                                                             ^
>   CXX      libstimfit_la-unopt.lo
>   CXX      libstimfit_la-doc.lo
> In file included from ./gui/././../../libstfio/stfio.h:66:0,
>                  from ./gui/././../stf.h:71,
>                  from ./gui/./app.h:176,
>                  from ./gui/doc.cpp:35:
> ./gui/././../../libstfio/./recording.h: In copy constructor 
> 'Recording::Recording(const Recording&)':
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::time0' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:17: note: declared here
>      std::string time0, date; 
>                  ^~~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::time0' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:17: note: declared here
>      std::string time0, date; 
>                  ^~~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::time0' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:17: note: declared here
>      std::string time0, date; 
>                  ^~~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::time0' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:17: note: declared here
>      std::string time0, date; 
>                  ^~~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::date' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:24: note: declared here
>      std::string time0, date; 
>                         ^~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::date' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:24: note: declared here
>      std::string time0, date; 
>                         ^~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::date' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:24: note: declared here
>      std::string time0, date; 
>                         ^~~~
> ./gui/././../../libstfio/./recording.h:41:16: warning: 'Recording::date' is 
> deprecated [-Wdeprecated-declarations]
>  class StfioDll Recording {
>                 ^~~~~~~~~
> ./gui/././../../libstfio/./recording.h:378:24: note: declared here
>      std::string time0, date; 
>                         ^~~~
> ./gui/doc.cpp: In member function 'virtual bool wxStfDoc::SaveAs()':
> ./gui/doc.cpp:711:45: note: synthesized method 'Recording::Recording(const 
> Recording&)' first required here 
>          Recording writeRec(ReorderChannels());
>                                              ^
> ./gui/doc.cpp: In member function 'void 
> wxStfDoc::LnTransform(wxCommandEvent&)':
> ./gui/doc.cpp:1269:27: error: no matching function for call to 
> 'transform(std::vector<double>::const_iterator, 
> std::vector<double>::const_iterator, std::vector<double>::iterator, 
> <unresolved overloaded function type>)'
>                         log);
>                            ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from /usr/include/boost/function/detail/prologue.hpp:13,
>                  from /usr/include/boost/function.hpp:24,
>                  from ./gui/././../../libstfio/stfio.h:28,
>                  from ./gui/././../stf.h:71,
>                  from ./gui/./app.h:176,
>                  from ./gui/doc.cpp:35:
> /usr/include/c++/6/bits/stl_algo.h:4166:5: note: candidate: template<class 
> _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, 
> _IIter, _OIter, _UnaryOperation)
>      transform(_InputIterator __first, _InputIterator __last,
>      ^~~~~~~~~
> /usr/include/c++/6/bits/stl_algo.h:4166:5: note:   template argument 
> deduction/substitution failed:
> ./gui/doc.cpp:1269:27: note:   couldn't deduce template parameter 
> '_UnaryOperation'
>                         log);
>                            ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from /usr/include/boost/function/detail/prologue.hpp:13,
>                  from /usr/include/boost/function.hpp:24,
>                  from ./gui/././../../libstfio/stfio.h:28,
>                  from ./gui/././../stf.h:71,
>                  from ./gui/./app.h:176,
>                  from ./gui/doc.cpp:35:
> /usr/include/c++/6/bits/stl_algo.h:4203:5: note: candidate: template<class 
> _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter 
> std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
>      transform(_InputIterator1 __first1, _InputIterator1 __last1,
>      ^~~~~~~~~
> /usr/include/c++/6/bits/stl_algo.h:4203:5: note:   template argument 
> deduction/substitution failed:
> ./gui/doc.cpp:1269:27: note:   candidate expects 5 arguments, 4 provided
>                         log);
>                            ^
> ./gui/doc.cpp: In member function 'void 
> wxStfDoc::MarkEvents(wxCommandEvent&)':
> ./gui/doc.cpp:2242:31: warning: comparison between signed and unsigned 
> integer expressions [-Wsign-compare]
>              if (*cit + eventl >= cursec().get().size()) {
>                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
> make[4]: *** [libstimfit_la-doc.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/stimfit_0.15.2-1_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.

Reply via email to