Source: hhvm Version: 3.12.1+dfsg-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20160930 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > cd /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly && /usr/bin/c++ > -DDEFAULT_CONFIG_DIR=\"/etc/hhvm/\" -DENABLE_FASTCGI=1 -DENABLE_ZEND_COMPAT=1 > -DFOLLY_HAVE_CLOCK_GETTIME=1 -DFOLLY_HAVE_FEATURES_H=1 > -DFOLLY_HAVE_MALLOC_H=1 -DFOLLY_HAVE_PTHREAD_ATFORK=1 > -DFOLLY_HAVE_PTHREAD_SPINLOCK_T=1 -DFOLLY_HAVE_VLA=1 > -DFOLLY_HAVE_WEAK_SYMBOLS=1 -DFOLLY_NO_CONFIG=1 -DFOLLY_VERSION=\"0.1\" > -DHAVE_BOOST1_49 -DHAVE_CURL_MULTI_WAIT -DHAVE_ELF_GETSHDRSTRNDX > -DHAVE_FEATURES_H=1 -DHAVE_LIBDL -DHHVM > -DHHVM_DYNAMIC_EXTENSION_DIR=\"/usr/lib/x86_64-linux-gnu/hhvm/extensions\" > -DHPHP_OSS=1 -DLIBDWARF_CONST_NAME -DMBFL_STATIC -DNDEBUG -DNO_LIB_GFLAGS > -DNO_TCMALLOC=1 -DPACKAGE=hhvm -DPACKAGE_VERSION=Release > -DPHP_MYSQL_UNIX_SOCK_ADDR=\"/dev/null\" -DRELEASE=1 > -DTHRIFT_MUTEX_EMULATE_PTHREAD_TIMEDLOCK -DUSE_EDITLINE -DUSE_JEMALLOC=1 > -D_GNU_SOURCE -D_PTHREADS=1 -D_REENTRANT=1 -D__STDC_FORMAT_MACROS > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg -I/usr/include/x86_64-linux-gnu > -I/usr/include/mysql -I/usr/include/libxml2 -I/usr/include/double-conversion > -I/usr/lib/x86_64-linux-gnu/libzip/include -I/usr/include/libdwarf > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/hphp > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/fastlz > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/timelib > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/libafdt/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/libmbfl > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/libmbfl/mbfl > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/libmbfl/filters > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/proxygen/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/mcrouter/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/thrift/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/wangle/src > -I/<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party -g -O2 > -fdebug-prefix-map=/<<BUILDDIR>>/hhvm-3.12.1+dfsg=. -fstack-protector-strong > -Wformat -Werror=format-security -Wall -std=gnu++11 -ffunction-sections > -fdata-sections -fno-gcse -fno-omit-frame-pointer -Woverloaded-virtual > -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof > -fno-operator-names -Wno-error=array-bounds -Wno-error=switch > -Werror=format-security -Wno-unused-result -Wno-sign-compare -Wno-attributes > -Wno-maybe-uninitialized -Wno-unused-local-typedefs > -fno-canonical-system-headers -Wno-deprecated-declarations > -Wno-unused-function -Wvla -ftrack-macro-expansion=0 -fno-builtin-memcmp > -fno-delete-null-pointer-checks -Wno-bool-compare -DFOLLY_HAVE_MALLOC_H > -mcrc32 -O2 -g -DNDEBUG -o > CMakeFiles/folly.dir/src/folly/experimental/fibers/Baton.cpp.o -c > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Fiber.h:26:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:16, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:35:41: > error: 'fcontext_t' in namespace 'boost::context' does not name a type > using ContextStruct = boost::context::fcontext_t; > ^~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:53:3: > error: 'ContextStruct' does not name a type > ContextStruct context_; > ^~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:60:57: > error: 'folly::fibers::FContext::ContextStruct' has not been declared > friend intptr_t jumpContext(FContext* oldC, FContext::ContextStruct* newC, > ^~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:62:41: > error: 'folly::fibers::FContext::ContextStruct' has not been declared > friend intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:68:55: > error: 'folly::fibers::FContext::ContextStruct' has not been declared > inline intptr_t jumpContext(FContext* oldC, FContext::ContextStruct* newC, > ^~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h: > In function 'intptr_t folly::fibers::jumpContext(folly::fibers::FContext*, > int*, intptr_t)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:72:10: > error: 'jump_fcontext' is not a member of 'boost::context' > return boost::context::jump_fcontext(&oldC->context_, *newC, p); > ^~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:72:10: > note: suggested alternative: > In file included from /usr/include/boost/context/detail/exception.hpp:12:0, > from /usr/include/boost/context/execution_context_v2.hpp:28, > from /usr/include/boost/context/execution_context.hpp:13, > from /usr/include/boost/context/all.hpp:7, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Fiber.h:21, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:16, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /usr/include/boost/context/detail/fcontext.hpp:31:35: note: > 'boost::context::detail::jump_fcontext' > transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void * > vp); > ^~~~~~~~~~~~~ > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Fiber.h:26:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:16, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:72:47: > error: 'struct folly::fibers::FContext' has no member named 'context_'; did > you mean 'FContext'? > return boost::context::jump_fcontext(&oldC->context_, *newC, p); > ^~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h: > At global scope: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:39: > error: 'folly::fibers::jumpContext' declared as an 'inline' variable > inline intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:39: > error: 'intptr_t folly::fibers::jumpContext' redeclared as different kind of > symbol > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:62:19: > note: previous declaration 'intptr_t folly::fibers::jumpContext(int*, > folly::fibers::FContext*, intptr_t)' > friend intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:29: > error: 'ContextStruct' is not a member of 'folly::fibers::FContext' > inline intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:54: > error: 'oldC' was not declared in this scope > inline intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:68: > error: expected primary-expression before '*' token > inline intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:81:70: > error: 'newC' was not declared in this scope > inline intptr_t jumpContext(FContext::ContextStruct* oldC, FContext* newC, > ^~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:82:38: > error: expected primary-expression before 'p' > intptr_t p) { > ^ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h: > In function 'folly::fibers::FContext folly::fibers::makeContext(void*, > size_t, void (*)(intptr_t))': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:99:7: > error: 'struct folly::fibers::FContext' has no member named 'context_'; did > you mean 'FContext'? > res.context_ = boost::context::make_fcontext(res.stackBase_, stackSize, > fn); > ^~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:99:18: > error: 'make_fcontext' is not a member of 'boost::context' > res.context_ = boost::context::make_fcontext(res.stackBase_, stackSize, > fn); > ^~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/BoostContextCompatibility.h:99:18: > note: suggested alternative: > In file included from /usr/include/boost/context/detail/exception.hpp:12:0, > from /usr/include/boost/context/execution_context_v2.hpp:28, > from /usr/include/boost/context/execution_context.hpp:13, > from /usr/include/boost/context/all.hpp:7, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Fiber.h:21, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:16, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /usr/include/boost/context/detail/fcontext.hpp:33:35: note: > 'boost::context::detail::make_fcontext' > fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t > size, void (* fn)( transfer_t) ); > ^~~~~~~~~~~~~ > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Fiber.h:27:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:16, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/io/async/Request.h: In > member function 'void folly::RequestContext::setContextData(const string&, > std::unique_ptr<folly::RequestData>)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/io/async/Request.h:70:7: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > LOG_FIRST_N(WARNING, 1) << > ^~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/io/async/Request.h:70:7: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/String.h:39:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/ExceptionWrapper.h:23, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/futures/Try.h:22, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager.h:31, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:17, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h: In member > function 'T* folly::fbvector<T, Allocator>::emplace(folly::fbvector<T, > Allocator>::const_iterator, Args&& ...)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1406:5: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > FOLLY_FBVECTOR_INSERT_END(cpos, 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1406:5: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h: In member > function 'T* folly::fbvector<T, Allocator>::insert(folly::fbvector<T, > Allocator>::const_iterator, const T&)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1416:5: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > FOLLY_FBVECTOR_INSERT_END(cpos, 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1416:5: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h: In member > function 'T* folly::fbvector<T, Allocator>::insert(folly::fbvector<T, > Allocator>::const_iterator, T&&)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1426:5: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > FOLLY_FBVECTOR_INSERT_END(cpos, 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1426:5: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h: In member > function 'T* folly::fbvector<T, Allocator>::insert(folly::fbvector<T, > Allocator>::const_iterator, folly::fbvector<T, Allocator>::size_type, > folly::fbvector<T, Allocator>::VT)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1437:5: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > FOLLY_FBVECTOR_INSERT_END(cpos, n) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1437:5: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h: In member > function 'T* folly::fbvector<T, Allocator>::insert(folly::fbvector<T, > Allocator>::const_iterator, FIt, FIt, std::forward_iterator_tag)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1464:5: > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > FOLLY_FBVECTOR_INSERT_END(cpos, n) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/FBVector.h:1464:5: > note: ...this statement, but the latter is misleadingly indented as if it is > guarded by the 'if' > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:17:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager.h: > At global scope: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager.h:323:13: > error: 'ContextStruct' in 'struct folly::fibers::FContext' does not name a > type > FContext::ContextStruct mainContext_; /**< stores loop function context */ > ^~~~~~~~~~~~~ > In file included from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager.h:517:0, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/Baton-inl.h:17, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.h:190, > from > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/src/folly/experimental/fibers/Baton.cpp:16: > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager-inl.h: > In member function 'void > folly::fibers::FiberManager::runReadyFiber(folly::fibers::Fiber*)': > /<<BUILDDIR>>/hhvm-3.12.1+dfsg/third-party/folly/folly/experimental/fibers/FiberManager-inl.h:77:18: > error: 'mainContext_' was not declared in this scope > jumpContext(&mainContext_, &fiber->fcontext_, fiber->data_); > ^~~~~~~~~~~~ > third-party/folly/CMakeFiles/folly.dir/build.make:1094: recipe for target > 'third-party/folly/CMakeFiles/folly.dir/src/folly/experimental/fibers/Baton.cpp.o' > failed > make[4]: *** > [third-party/folly/CMakeFiles/folly.dir/src/folly/experimental/fibers/Baton.cpp.o] > Error 1 If the failure looks somehow time/timezone related: Note that this rebuild was performed without the 'tzdata' package installed in the chroot. tzdata used be (transitively) part of build-essential, but it no longer is. If this package requires it to build, it should be added to build-depends. For the release team's opinion on this, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185 The full build log is available from: http://aws-logs.debian.net/2016/09/30/hhvm_3.12.1+dfsg-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 EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.