Bug#672039: zookeeper: FTBFS: ZkAdaptor.cc:220:21: error: 'sleep' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:47:38 UTC 2012


Source: zookeeper
Version: 3.3.5+dfsg1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/«BUILDDIR»/zookeeper-3.3.5+dfsg1/src/contrib/zktreeutil/../../c/include -I/«BUILDDIR»/zookeeper-3.3.5+dfsg1/src/contrib/zktreeutil/../../c/generated -I../include -I/usr/local/include -I/usr/include -I/usr/include/libxml2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -MT ZkAdaptor.o -MD -MP -MF .deps/ZkAdaptor.Tpo -c -o ZkAdaptor.o ZkAdaptor.cc
> ZkAdaptor.cc: In member function 'void zktreeutil::ZooKeeperAdapter::reconnect()':
> ZkAdaptor.cc:220:21: error: 'sleep' was not declared in this scope
> make[4]: *** [ZkAdaptor.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/zookeeper_3.3.5+dfsg1-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the pkg-java-maintainers mailing list