Package: hhvm
Version: 3.11.0+dfsg-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
>                  from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/system/systemlib.cpp:18:
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/vm/bytecode.h: At global scope:
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/vm/bytecode.h:127:26: error: 
> flexible array member 'HPHP::ExtraArgs::m_extraArgs' in an otherwise empty 
> 'struct HPHP::ExtraArgs'
>    TypedValue m_extraArgs[];
>                           ^
> 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/vm/bytecode.h:82:8: note: in the 
> definition of 'struct HPHP::ExtraArgs'
>  struct ExtraArgs : private boost::noncopyable {
>         ^~~~~~~~~
> 
> [ 27%] Building CXX object 
> third-party/thrift/CMakeFiles/hphp_thrift.dir/src/thrift/lib/cpp/concurrency/Mutex.cpp.o
> In file included from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/base/execution-context.h:38:0,
>                  from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/base/request-local.h:20,
>                  from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/base/file.h:21,
>                  from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/base/plain-file.h:20,
>                  from 
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/system/class_map.cpp:13:
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/vm/bytecode.h: At global scope:
> /<<BUILDDIR>>/hhvm-3.11.0+dfsg/hphp/runtime/vm/bytecode.h:127:26: error: 
> flexible array member 'HPHP::ExtraArgs::m_extraArgs' in an otherwise empty 
> 'struct HPHP::ExtraArgs'
>    TypedValue m_extraArgs[];
>                           ^

Reply via email to