Package: pulseview
Version: 0.2.0-1.1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-deprecated-declarations

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /usr/bin/c++   -DENABLE_DECODE -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG 
> -D__STDC_LIMIT_MACROS -isystem /usr/include/qt4 -isystem 
> /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> 
> -I/usr/lib/x86_64-linux-gnu/libzip/include -I/usr/include/libusb-1.0 
> -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2    -Wall -Wextra -Werror -o 
> CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o -c 
> /<<PKGBUILDDIR>>/pv/mainwindow.cpp
> In file included from /<<PKGBUILDDIR>>/pv/mainwindow.cpp:46:0:
> /<<PKGBUILDDIR>>/pv/dialogs/about.h:47:7: error: 'template<class> class 
> std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
>   std::auto_ptr<QTextDocument> supportedDoc;
>        ^~~~~~~~
> 
> In file included from /usr/include/c++/6/memory:81:0,
>                  from /usr/include/boost/config/no_tr1/memory.hpp:21,
>                  from /usr/include/boost/get_pointer.hpp:14,
>                  from /usr/include/boost/bind/mem_fn.hpp:25,
>                  from /usr/include/boost/mem_fn.hpp:22,
>                  from /usr/include/boost/bind/bind.hpp:26,
>                  from /usr/include/boost/bind.hpp:22,
>                  from /<<PKGBUILDDIR>>/pv/mainwindow.cpp:25:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> cc1plus: all warnings being treated as errors
> CMakeFiles/pulseview.dir/build.make:334: recipe for target 
> 'CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o' failed
> make[3]: *** [CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/pulseview.dir/all' 
> failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to