[DRE-maint] Bug#676209: ruby-eventmachine: FTBFS: rubymain.cpp:502:42: error: format not a string literal and no format arguments [-Werror=format-security]

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jun 5 11:50:53 UTC 2012


Source: ruby-eventmachine
Version: 0.12.10-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120605 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»/ext'
> make[1]: Leaving directory `/«PKGBUILDDIR»/ext'
> /usr/lib/ruby/1.9.1/rubygems/ext/builder.rb:37:in `block in make': make failed: (Gem::InstallError)
> 
> ["/usr/bin/ruby1.9.1 extconf.rb", "checking for rb_trap_immediate in ruby.h,rubysig.h... no\nchecking for rb_thread_blocking_region()... yes\nchecking for inotify_init() in sys/inotify.h... yes\nchecking for writev() in sys/uio.h... yes\nchecking for rb_thread_check_ints()... yes\nchecking for rb_time_new()... yes\nchecking for sys/event.h... no\nchecking for epoll_create() in sys/epoll.h... yes\nchecking for main() in -lcrypto... no\ncreating Makefile\n", "make", "make[1]: Entering directory `/«PKGBUILDDIR»/ext'\ncompiling ssl.cpp\ncompiling sigs.cpp\ncompiling rubymain.cpp\nrubymain.cpp: In function 'VALUE t_connect_server(VALUE, VALUE, VALUE)':\nrubymain.cpp:502:42: error: format not a string literal and no format arguments [-Werror=format-security]\nrubymain.cpp: In function 'VALUE t_bind_connect_server(VALUE, VALUE, VALUE, VALUE, VALUE)':\nrubymain.cpp:523:42: error: format not a string literal and no format arguments [-Werror=format-security]\nrubymain.cpp: In function 'VALUE t_watch_filename(VALUE, VALUE)':\nrubymain.cpp:808:38: error: format not a string literal and no format arguments [-Werror=format-security]\nrubymain.cpp: In function 'VALUE t_watch_pid(VALUE, VALUE)':\nrubymain.cpp:834:38: error: format not a string literal and no format arguments [-Werror=format-security]\ncc1plus: some warnings being treated as errors\nmake[1]: *** [rubymain.o] Error 1\nmake[1]: Leaving directory `/«PKGBUILDDIR»/ext'\n"]
> 	from /usr/lib/ruby/1.9.1/rubygems/ext/builder.rb:32:in `each'
> 	from /usr/lib/ruby/1.9.1/rubygems/ext/builder.rb:32:in `make'
> 	from /usr/lib/ruby/1.9.1/rubygems/ext/ext_conf_builder.rb:18:in `build'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:62:in `block in build_and_install'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:61:in `chdir'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:61:in `build_and_install'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:75:in `block in build_all_extensions'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:72:in `each'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:72:in `build_all_extensions'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:88:in `<main>'
> /usr/bin/ruby1.9.1 extconf.rb
> checking for rb_trap_immediate in ruby.h,rubysig.h... no
> checking for rb_thread_blocking_region()... yes
> checking for inotify_init() in sys/inotify.h... yes
> checking for writev() in sys/uio.h... yes
> checking for rb_thread_check_ints()... yes
> checking for rb_time_new()... yes
> checking for sys/event.h... no
> checking for epoll_create() in sys/epoll.h... yes
> checking for main() in -lcrypto... no
> creating Makefile
> make
> make[1]: Entering directory `/«PKGBUILDDIR»/ext'
> compiling ssl.cpp
> compiling sigs.cpp
> compiling rubymain.cpp
> rubymain.cpp: In function 'VALUE t_connect_server(VALUE, VALUE, VALUE)':
> rubymain.cpp:502:42: error: format not a string literal and no format arguments [-Werror=format-security]
> rubymain.cpp: In function 'VALUE t_bind_connect_server(VALUE, VALUE, VALUE, VALUE, VALUE)':
> rubymain.cpp:523:42: error: format not a string literal and no format arguments [-Werror=format-security]
> rubymain.cpp: In function 'VALUE t_watch_filename(VALUE, VALUE)':
> rubymain.cpp:808:38: error: format not a string literal and no format arguments [-Werror=format-security]
> rubymain.cpp: In function 'VALUE t_watch_pid(VALUE, VALUE)':
> rubymain.cpp:834:38: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1plus: some warnings being treated as errors
> make[1]: *** [rubymain.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/05/ruby-eventmachine_0.12.10-2_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.





More information about the Pkg-ruby-extras-maintainers mailing list