[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#820937: ocaml-re2: FTBFS against new re2



Source: ocaml-re2
Version: 113.00.00+dfsg-2
Severity: serious

Your package failed to build against the new re2:

g++ -O2 -DPIC -fPIC -g -pipe -DCAML_NAME_SPACE -Wall -I. -I../../../include \
-I/usr/lib/ocaml -c stubs.cpp
In file included from /usr/include/c++/5/mutex:35:0,
                 from /usr/include/re2/re2.h:184,
                 from stubs.cpp:2:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Full logs at https://buildd.debian.org/status/package.php?p=ocaml-re2

Looks like the new version of re2 requires you to build with c++11 support.

 re2 (20160401+dfsg-2) unstable; urgency=medium
 .
   * Bump soname to libre2.so.2. 20160401 changed the ABI of the RE2 class.
     (Closes: #820178).
   * Use --std=c++11 in the smoketest, too. Consumers of libre2 now need to do
     this.

Cheers,
Emilio


Reply to: