Bug#701376: zookeeper: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:22:21 UTC 2013


Package: src:zookeeper
Version: 3.3.5+dfsg1-2
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  XXX

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/zookeeper_3.3.5+dfsg1-2_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
/bin/bash ./libtool --tag=CXX   --mode=link g++ -DUSE_STATIC_LIB -DTHREADED -DZKSERVER_CMD="\"./tests/zkServer.sh\"" -DZOO_IPV6_ENABLED -Wall -g -DZOO_IPV6_ENABLED -static-libtool-libs -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,free -Wl,--wrap -Wl,flush_send_queue -Wl,--wrap -Wl,get_xid -Wl,--wrap -Wl,deliverWatchers -Wl,--wrap -Wl,activateWatcher -Wl,--wrap -Wl,pthread_mutex_lock -Wl,--wrap -Wl,pthread_mutex_trylock -Wl,--wrap -Wl,pthread_mutex_unlock -Wl,-z,relro -o zktest-mt zktest_mt-TestDriver.o zktest_mt-LibCMocks.o zktest_mt-LibCSymTable.o zktest_mt-MocksBase.o zktest_mt-ZKMocks.o zktest_mt-Util.o zktest_mt-ThreadingUtil.o zktest_mt-TestClientRetry.o zktest_mt-TestOperations.o zktest_mt-TestZookeeperInit.o zktest_mt-TestZookeeperClose.o zktest_mt-TestClient.o zktest_mt-TestWatchers.o zktest_mt-PthreadMocks.o libzkmt.la libhashtable.la -lpthread -lcppunit -ldl 
libtool: link: g++ -DUSE_STATIC_LIB -DTHREADED -DZKSERVER_CMD=\"./tests/zkServer.sh\" -DZOO_IPV6_ENABLED -Wall -g -DZOO_IPV6_ENABLED -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,free -Wl,--wrap -Wl,flush_send_queue -Wl,--wrap -Wl,get_xid -Wl,--wrap -Wl,deliverWatchers -Wl,--wrap -Wl,activateWatcher -Wl,--wrap -Wl,pthread_mutex_lock -Wl,--wrap -Wl,pthread_mutex_trylock -Wl,--wrap -Wl,pthread_mutex_unlock -Wl,-z -Wl,relro -o zktest-mt zktest_mt-TestDriver.o zktest_mt-LibCMocks.o zktest_mt-LibCSymTable.o zktest_mt-MocksBase.o zktest_mt-ZKMocks.o zktest_mt-Util.o zktest_mt-ThreadingUtil.o zktest_mt-TestClientRetry.o zktest_mt-TestOperations.o zktest_mt-TestZookeeperInit.o zktest_mt-TestZookeeperClose.o zktest_mt-TestClient.o zktest_mt-TestWatchers.o zktest_mt-PthreadMocks.o  ./.libs/libzkmt.a -lm ./.libs/libhashtable.a -lpthread /usr/lib/libcppunit.a -ldl
make[2]: Leaving directory `/«BUILDDIR»/zookeeper-3.3.5+dfsg1/src/c'
cd src/c && ./zktest-mt
 ZooKeeper server startedRunning 
Zookeeper_clientretry::testRetry ZooKeeper server started ZooKeeper server started : elapsed 9225 : OK
Zookeeper_operations::testAsyncWatcher1 : assertion : elapsed 1031
Zookeeper_operations::testAsyncGetOperation : assertion : elapsed 1030
Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : assertion : elapsed 1030
Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : elapsed 0 : OK
Zookeeper_operations::testConcurrentOperations1 : assertion : elapsed 1030
Zookeeper_init::testBasic : elapsed 0 : OK
Zookeeper_init::testAddressResolution : elapsed 0 : OK
Zookeeper_init::testMultipleAddressResolution : elapsed 0 : OK
Zookeeper_init::testNullAddressString : elapsed 0 : OK
Zookeeper_init::testEmptyAddressString : elapsed 0 : OK
Zookeeper_init::testOneSpaceAddressString : elapsed 0 : OK
Zookeeper_init::testTwoSpacesAddressString : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString1 : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString2 : elapsed 17 : OK
Zookeeper_init::testNonexistentHost : elapsed 5 : OK
Zookeeper_init::testOutOfMemory_init : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs1 : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs2 : elapsed 0 : OK
Zookeeper_init::testPermuteAddrsList : elapsed 0 : OK
Zookeeper_close::testIOThreadStoppedOnExpire : assertion : elapsed 1031
Zookeeper_close::testCloseUnconnected : elapsed 0 : OK
Zookeeper_close::testCloseUnconnected1 : elapsed 42 : OK
Zookeeper_close::testCloseConnected1 : assertion : elapsed 1031
Zookeeper_close::testCloseFromWatcher1 : assertion : elapsed 1031
Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 12144 : OK
Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK
Zookeeper_simpleSystem::testNullData : elapsed 1013 : OK
Zookeeper_simpleSystem::testIPV6 : elapsed 1001 : OK
Zookeeper_simpleSystem::testPath : elapsed 1005 : OK
Zookeeper_simpleSystem::testPathValidation : elapsed 1017 : OK
Zookeeper_simpleSystem::testPing : elapsed 17066 : OK
Zookeeper_simpleSystem::testAcl : elapsed 1008 : OK
Zookeeper_simpleSystem::testChroot : elapsed 3012 : OK
Zookeeper_simpleSystem::testAuth ZooKeeper server started : elapsed 26846 : OK
Zookeeper_simpleSystem::testHangingClient : elapsed 1011 : OK
Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 19561 : OK
Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 20173 : OK
Zookeeper_simpleSystem::testGetChildren2 : elapsed 1014 : OK
zktest-mt: tests/ZKMocks.cc:271: SyncedBoolCondition DeliverWatchersWrapper::isDelivered() const: Assertion `i<1000' failed.
Aborted
make[1]: *** [override_dh_auto_test-arch] Error 134
Zookeeper_watchers::testDefaultSessionWatcher1make[1]: Leaving directory `/«BUILDDIR»/zookeeper-3.3.5+dfsg1'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-java-maintainers mailing list