[DRE-maint] Bug#676196: ruby-grib: FTBFS: grib.c:14:3: error: format not a string literal and no format arguments [-Werror=format-security]

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jun 5 11:51:18 UTC 2012


Source: ruby-grib
Version: 0.2.2-1
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 narray.h in /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux,$(rubylibdir)/$(arch),$(sitelibdir)/$(sitearch),$(vendorlibdir)/$(sitearch)... yes\nchecking for grib_api.h... yes\nchecking for main() in -lgrib_api... yes\ncreating Makefile\n", "make", "make[1]: Entering directory `/«PKGBUILDDIR»/ext'\ncompiling grib.c\ngrib.c: In function 'check_error':\ngrib.c:14:3: error: format not a string literal and no format arguments [-Werror=format-security]\ncc1: some warnings being treated as errors\nmake[1]: *** [grib.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 narray.h in /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux,$(rubylibdir)/$(arch),$(sitelibdir)/$(sitearch),$(vendorlibdir)/$(sitearch)... yes
> checking for grib_api.h... yes
> checking for main() in -lgrib_api... yes
> creating Makefile
> make
> make[1]: Entering directory `/«PKGBUILDDIR»/ext'
> compiling grib.c
> grib.c: In function 'check_error':
> grib.c:14:3: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> make[1]: *** [grib.o] Error 1

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





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