Bug#853338: bossa: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:30:08 UTC 2017


Package: src:bossa
Version: 1.3~20120408-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/bossa_1.3~20120408-5_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
In file included from /usr/include/c++/7/memory:80:0,
                 from src/Samba.h:25,
                 from src/Command.h:25,
                 from src/Shell.cpp:23:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
CPP src/Command.cpp
g++ -Wall -MT obj/Command.o -MD -MP -MF obj/Command.d -DVERSION=\"1.3a\" -g -O2 `dpkg-buildflags --get CXXFLAGS` `dpkg-buildflags --get CPPFLAGS` -Isrc/arm-dis -c -o obj/Command.o src/Command.cpp
In file included from src/Samba.h:27:0,
                 from src/Command.h:25,
                 from src/Command.cpp:29:
src/SerialPort.h:64:18: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     typedef std::auto_ptr<SerialPort> Ptr;
                  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from src/Samba.h:25,
                 from src/Command.h:25,
                 from src/Command.cpp:29:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from src/FlashFactory.h:25:0,
                 from src/Command.h:27,
                 from src/Command.cpp:29:
src/Flash.h:107:18: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     typedef std::auto_ptr<Flash> Ptr;
                  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from src/Samba.h:25,
                 from src/Command.h:25,
                 from src/Command.cpp:29:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
src/Command.cpp: In member function 'virtual void CommandMwb::invoke(char**, int)':
src/Command.cpp:710:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if (input == '\0' ||
                          ^~~~
src/Command.cpp: In member function 'virtual void CommandMww::invoke(char**, int)':
src/Command.cpp:813:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if (input == '\0' ||
                          ^~~~
Makefile:243: recipe for target 'obj/Command.o' failed
make[1]: *** [obj/Command.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list