[Debian-med-packaging] Bug#984216: libzeep: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:15:06 GMT 2021


Package: src:libzeep
Version: 5.0.2-3
Severity: normal
Tags: sid bookworm
User: debian-gcc at 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/libzeep_5.0.2-3_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.

[...]
              Match in namespace ::
              Match in namespace ::
Cannot find method named 'zeep::http::reply::get_parameter'
Cannot find method named 'zeep::http::reply::get_file_parameter'
Reference to method 'zeep::http::reply::stock_reply' is ambiguous. Found:
              Match in namespace ::
              Match in namespace ::
Reference to method 'zeep::http::reply::set_content' is ambiguous. Found:
              Match in namespace ::
              Match in namespace ::
              Match in namespace ::
              Match in namespace ::
              Match in namespace ::
              Match in namespace ::
Cannot find method named 'zeep::http::context::get_csrf_token'
Cannot find class named 'param'
Cannot find class named 'param'
Cannot find class named 'const_iterator'
Cannot find class named 'const_iterator'
Cannot find class named 'basic_list::iterator'
Cannot find class named 'basic_list::const_iterator'
Cannot find class named 'node_list::node_type'
In file included from include/zeep/json/element.hpp:15,
                 from include/zeep/http/request.hpp:21,
                 from include/zeep/http/message-parser.hpp:18,
                 from include/zeep/http/connection.hpp:18,
                 from lib-http/src/connection.cpp:11:
include/zeep/json/to_element.hpp:133:40: error: ‘optional’ in namespace ‘std’ does not name a template type
  133 | void to_element(element& j, const std::optional<T>& v)
      |                                        ^~~~~~~~
include/zeep/json/to_element.hpp:14:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   13 | #include <zeep/json/type_traits.hpp>
  +++ |+#include <optional>
   14 | 
include/zeep/json/to_element.hpp:133:48: error: expected ‘,’ or ‘...’ before ‘<’ token
  133 | void to_element(element& j, const std::optional<T>& v)
      |                                                ^
include/zeep/json/to_element.hpp: In function ‘void zeep::json::detail::to_element(zeep::json::element&, int)’:
include/zeep/json/to_element.hpp:135:13: error: ‘v’ was not declared in this scope
  135 |         if (v)
      |             ^
In file included from include/zeep/json/element.hpp:15,
                 from include/zeep/http/request.hpp:21,
                 from include/zeep/http/server.hpp:19,
                 from include/zeep/http/controller.hpp:13,
                 from lib-http/src/controller.cpp:11:
include/zeep/json/to_element.hpp:133:40: error: ‘optional’ in namespace ‘std’ does not name a template type
  133 | void to_element(element& j, const std::optional<T>& v)
      |                                        ^~~~~~~~
include/zeep/json/to_element.hpp:14:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   13 | #include <zeep/json/type_traits.hpp>
  +++ |+#include <optional>
   14 | 
include/zeep/json/to_element.hpp:133:48: error: expected ‘,’ or ‘...’ before ‘<’ token
  133 | void to_element(element& j, const std::optional<T>& v)
      |                                                ^
include/zeep/json/to_element.hpp: In function ‘void zeep::json::detail::to_element(zeep::json::element&, int)’:
include/zeep/json/to_element.hpp:135:13: error: ‘v’ was not declared in this scope
  135 |         if (v)
      |             ^
make[1]: *** [GNUmakefile:128: obj/controller-rsrc.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [GNUmakefile:128: obj/controller.lo] Error 1
make[1]: *** [GNUmakefile:128: obj/connection.lo] Error 1
xslt-xsltproc-dir html/standalone_HTML.manifest
...updated 50 targets...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list