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

Bug#984119: fbpager: ftbfs with GCC-11



Package: src:fbpager
Version: 0.1.5~git20090221.1.8e0927e6-2
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/fbpager_0.1.5~git20090221.1.8e0927e6-2_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
In file included from FbPager.cc:38:
Resources.hh: In member function ‘std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]’:
Resources.hh:72:1: warning: control reaches end of non-void function [-Wreturn-type]
   72 | }
      | ^
mv -f .deps/fbpager-FbPager.Tpo .deps/fbpager-FbPager.Po
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -IFbTk -g -O2   -MT fbpager-Workspace.o -MD -MP -MF .deps/fbpager-Workspace.Tpo -c -o fbpager-Workspace.o `test -f 'Workspace.cc' || echo './'`Workspace.cc
In file included from Workspace.hh:27,
                 from Workspace.cc:24:
FbTk/FbWindow.hh:208:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  208 |     std::auto_ptr<FbTk::Transparent> m_transparent;
      |          ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from FbTk/FbWindow.hh:30,
                 from Workspace.hh:27,
                 from Workspace.cc:24:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
mv -f .deps/fbpager-Workspace.Tpo .deps/fbpager-Workspace.Po
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -IFbTk -g -O2   -MT fbpager-Ewmh.o -MD -MP -MF .deps/fbpager-Ewmh.Tpo -c -o fbpager-Ewmh.o `test -f 'Ewmh.cc' || echo './'`Ewmh.cc
In file included from Ewmh.cc:22:
Ewmh.hh:52:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   52 |     std::auto_ptr<Ewmh_priv> m_data;
      |          ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from Ewmh.hh:26,
                 from Ewmh.cc:22:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from Ewmh.cc:28:
FbTk/FbWindow.hh:208:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  208 |     std::auto_ptr<FbTk::Transparent> m_transparent;
      |          ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from Ewmh.hh:26,
                 from Ewmh.cc:22:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from Ewmh.cc:30:
PropertyTools.hh:33:52: error: ISO C++17 does not allow dynamic exception specifications
   33 | unsigned int getIntProperty(Window win, Atom atom) throw (PropertyException);
      |                                                    ^~~~~
PropertyTools.hh:34:46: error: ISO C++17 does not allow dynamic exception specifications
   34 | Window getWinProperty(Window win, Atom atom) throw (PropertyException);
      |                                              ^~~~~
PropertyTools.hh:35:76: error: ISO C++17 does not allow dynamic exception specifications
   35 | void getWinArrayProperty(Window win, Atom atom, std::vector<Window> &cont) throw (PropertyException);
      |                                                                            ^~~~~
Ewmh.cc:56:14: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   56 | typedef std::auto_ptr<PropT> PropTPtr;
      |              ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from Ewmh.hh:26,
                 from Ewmh.cc:22:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
make[4]: *** [Makefile:362: fbpager-Ewmh.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:402: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:267: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:195: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:44: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: