[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831146: wvstreams: FTBFS with GCC 6: streams/wvstream.cc:1111:69: error: no matching function for call to 'WvStream::select(int, IWvStreamCallback&, IWvStreamCallback&, IWvStreamCallback&)'



Source: wvstreams
Version: 4.6.1-9
Severity: serious
Tags: stretch sid
User: debian-qa@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):
> x86_64-linux-gnu-g++ -c -o streams/wvstream.o streams/wvstream.cc -MMD -MF streams/.wvstream.d -MP -MQ streams/wvstream.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
> In file included from /usr/include/time.h:27:0,
>                  from streams/wvstream.cc:11:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>    ^~~~~~~
> streams/wvstream.cc: In member function 'bool WvStream::continue_select(time_t)':
> streams/wvstream.cc:1111:69: error: no matching function for call to 'WvStream::select(int, IWvStreamCallback&, IWvStreamCallback&, IWvStreamCallback&)'
>      return !alarm_was_ticking || select(0, readcb, writecb, exceptcb);
>                                                                      ^
> In file included from streams/wvstream.cc:15:0:
> ./include/wvstream.h:376:10: note: candidate: bool WvStream::select(time_t)
>      bool select(time_t msec_timeout)
>           ^~~~~~
> ./include/wvstream.h:376:10: note:   candidate expects 1 argument, 4 provided
> ./include/wvstream.h:415:10: note: candidate: bool WvStream::select(time_t, bool, bool, bool)
>      bool select(time_t msec_timeout,
>           ^~~~~~
> ./include/wvstream.h:415:10: note:   no known conversion for argument 2 from 'IWvStreamCallback {aka std::tr1::function<void()>}' to 'bool'
> make[1]: *** [streams/wvstream.o] Error 1

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