[DRE-maint] Bug#820349: FTBFS: #error This file requires compiler and library support for the ISO C++ 2011 standard.
Pirate Praveen
praveen at debian.org
Thu Apr 7 17:00:00 UTC 2016
package: ruby-re2
severity: serious
┌──────────────────────────────────────────────────────────────────────────────┐
│ Build native extensions for ruby2.3
│
└──────────────────────────────────────────────────────────────────────────────┘
/usr/bin/ruby2.3 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb
/build/ruby-re2-0.7.0 debian/ruby-re2
current directory: /build/ruby-re2-0.7.0/ext/re2
/usr/bin/ruby2.3 -r ./siteconf20160407-473-145dj4g.rb extconf.rb
checking for main() in -lstdc++... yes
checking for stdint.h... yes
checking for rb_str_sublen()... yes
checking for main() in -lre2... yes
checking for RE2::Match() with endpos argument... no
creating Makefile
current directory: /build/ruby-re2-0.7.0/ext/re2
make V=1 "DESTDIR=" clean
make[1]: Entering directory '/build/ruby-re2-0.7.0/ext/re2'
rm -f
rm -f re2.so *.o *.bak mkmf.log .*.time
make[1]: Leaving directory '/build/ruby-re2-0.7.0/ext/re2'
current directory: /build/ruby-re2-0.7.0/ext/re2
make V=1 "DESTDIR="
make[1]: Entering directory '/build/ruby-re2-0.7.0/ext/re2'
g++ -I. -I/usr/include/x86_64-linux-gnu/ruby-2.3.0
-I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I.
-DHAVE_STDINT_H -DHAVE_RB_STR_SUBLEN -I/usr/local/include -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -o re2.o -c re2.cc
In file included from /usr/include/c++/5/mutex:35:0,
from /usr/include/re2/re2.h:184,
from re2.cc:9:
/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.
#error This file requires compiler and library support \
^
In file included from re2.cc:9:0:
/usr/include/re2/re2.h:734:16: error: 'once_flag' in namespace 'std'
does not name a type
mutable std::once_flag rprog_once_;
^
/usr/include/re2/re2.h:735:16: error: 'once_flag' in namespace 'std'
does not name a type
mutable std::once_flag num_captures_once_;
^
/usr/include/re2/re2.h:736:16: error: 'once_flag' in namespace 'std'
does not name a type
mutable std::once_flag named_groups_once_;
^
/usr/include/re2/re2.h:737:16: error: 'once_flag' in namespace 'std'
does not name a type
mutable std::once_flag group_names_once_;
^
re2.cc: In function 'VALUE re2_regexp_match(int, VALUE*, VALUE)':
re2.cc:76:64: error: no matching function for call to
're2::RE2::Match(char*, int, re2::RE2::Anchor, int, int)'
(pattern->Match(text, startpos, anchor, match, nmatch))
^
re2.cc:1152:15: note: in expansion of macro 'match'
matched = match(p->pattern, StringValuePtr(text), 0,
^
In file included from re2.cc:9:0:
/usr/include/re2/re2.h:466:8: note: candidate: bool
re2::RE2::Match(const re2::StringPiece&, int, int, re2::RE2::Anchor,
re2::StringPiece*, int) const
bool Match(const StringPiece& text,
^
/usr/include/re2/re2.h:466:8: note: candidate expects 6 arguments, 5
provided
re2.cc:76:64: error: no matching function for call to
're2::RE2::Match(char*, int, re2::RE2::Anchor, re2::StringPiece*&, int&)'
(pattern->Match(text, startpos, anchor, match, nmatch))
^
re2.cc:1174:15: note: in expansion of macro 'match'
matched = match(p->pattern, StringValuePtr(m->text), 0,
^
In file included from re2.cc:9:0:
/usr/include/re2/re2.h:466:8: note: candidate: bool
re2::RE2::Match(const re2::StringPiece&, int, int, re2::RE2::Anchor,
re2::StringPiece*, int) const
bool Match(const StringPiece& text,
^
/usr/include/re2/re2.h:466:8: note: candidate expects 6 arguments, 5
provided
Makefile:207: recipe for target 're2.o' failed
make[1]: *** [re2.o] Error 1
make[1]: Leaving directory '/build/ruby-re2-0.7.0/ext/re2'
~~~~~~~~~~~~~~~~~~~~~ ↓ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
cat: mkmf.log: No such file or directory
~~~~~~~~~~~~~~~~~~~~~ ↑ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
/usr/lib/ruby/2.3.0/rubygems/ext/builder.rb:92:in `run': make failed,
exit code 2 (Gem::InstallError)
from /usr/lib/ruby/2.3.0/rubygems/ext/builder.rb:52:in `block in make'
from /usr/lib/ruby/2.3.0/rubygems/ext/builder.rb:44:in `each'
from /usr/lib/ruby/2.3.0/rubygems/ext/builder.rb:44:in `make'
from /usr/lib/ruby/2.3.0/rubygems/ext/ext_conf_builder.rb:50:in `block
in build'
from /usr/lib/ruby/2.3.0/tempfile.rb:295:in `open'
from /usr/lib/ruby/2.3.0/rubygems/ext/ext_conf_builder.rb:20:in `build'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:72:in
`block in build_and_install'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:66:in `chdir'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:66:in
`build_and_install'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:103:in
`block in build_all_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:100:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:100:in
`build_all_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:116:in `<main>'
/usr/lib/ruby/vendor_ruby/gem2deb.rb:56:in `run': /usr/bin/ruby2.3
/usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb
/build/ruby-re2-0.7.0 debian/ruby-re2 (Gem2Deb::CommandFailed)
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:67:in `run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:37:in `block in
install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in
`install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `block in install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `install'
from /usr/bin/dh_ruby:94:in `<main>'
dh_auto_install: dh_ruby --install /build/ruby-re2-0.7.0/debian/ruby-re2
returned exit code 1
debian/rules:5: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting /home/pravi/forge/debian/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /home/pravi/forge/debian/pbuilder/build/cow.5371
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160407/7e4c4fe4/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list