Bug#984406: zookeeper: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:19:03 GMT 2021
Package: src:zookeeper
Version: 3.4.13-6
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/zookeeper_3.4.13-6_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.
[...]
ZkAdaptor.h:187:54: error: ISO C++17 does not allow dynamic exception specifications
187 | ZooKeeperAdapter(ZooKeeperConfig config) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:206:30: error: ISO C++17 does not allow dynamic exception specifications
206 | void reconnect() throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:229:50: error: ISO C++17 does not allow dynamic exception specifications
229 | bool createAncestors = true) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:246:39: error: ISO C++17 does not allow dynamic exception specifications
246 | int version = -1) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:255:65: error: ISO C++17 does not allow dynamic exception specifications
255 | vector<string> getNodeChildren( const string &path) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:264:49: error: ISO C++17 does not allow dynamic exception specifications
264 | bool nodeExists(const string &path) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:274:52: error: ISO C++17 does not allow dynamic exception specifications
274 | string getNodeData(const string &path) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:289:39: error: ISO C++17 does not allow dynamic exception specifications
289 | int version = -1) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:299:58: error: ISO C++17 does not allow dynamic exception specifications
299 | static void validatePath(const string &path) throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.h:310:37: error: ISO C++17 does not allow dynamic exception specifications
310 | void verifyConnection() throw(ZooKeeperException);
| ^~~~~
ZkAdaptor.cc:92:64: error: ISO C++17 does not allow dynamic exception specifications
92 | ZooKeeperAdapter::ZooKeeperAdapter(ZooKeeperConfig config) throw(ZooKeeperException) :
| ^~~~~
ZkAdaptor.cc:130:61: error: ISO C++17 does not allow dynamic exception specifications
130 | void ZooKeeperAdapter::validatePath(const string &path) throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:170:40: error: ISO C++17 does not allow dynamic exception specifications
170 | void ZooKeeperAdapter::reconnect() throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:238:47: error: ISO C++17 does not allow dynamic exception specifications
238 | void ZooKeeperAdapter::verifyConnection() throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:265:35: error: ISO C++17 does not allow dynamic exception specifications
265 | bool createAncestors) throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:334:26: error: ISO C++17 does not allow dynamic exception specifications
334 | int version) throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:383:77: error: ISO C++17 does not allow dynamic exception specifications
383 | vector< string > ZooKeeperAdapter::getNodeChildren (const string &path) throw (ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:426:59: error: ISO C++17 does not allow dynamic exception specifications
426 | bool ZooKeeperAdapter::nodeExists(const string &path) throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:456:62: error: ISO C++17 does not allow dynamic exception specifications
456 | string ZooKeeperAdapter::getNodeData(const string &path) throw(ZooKeeperException)
| ^~~~~
ZkAdaptor.cc:491:26: error: ISO C++17 does not allow dynamic exception specifications
491 | int version) throw(ZooKeeperException)
| ^~~~~
make[4]: *** [Makefile:383: ZkAdaptor.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/contrib/zktreeutil/src'
make[3]: *** [Makefile:362: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/contrib/zktreeutil'
make[2]: *** [Makefile:303: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/contrib/zktreeutil'
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-java-maintainers
mailing list