[DRE-maint] Bug#676205: ruby-ldap: FTBFS: sslconn.c:103:7: 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:33 UTC 2012
Source: ruby-ldap
Version: 0.9.12-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»'
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> /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", "--with-openldap2\nchecking for ldap.h... yes\nchecking for lber.h... yes\nchecking for ldap_ssl.h... no\nchecking for openssl/ssl.h... no\nchecking for ssl.h... no\nchecking for openssl/crypto.h... no\nchecking for crypto.h... no\nchecking for main() in -lcrypto... no\nchecking for main() in -lssl... no\nchecking for main() in -lnsl... yes\nchecking for main() in -lpthread... yes\nchecking for main() in -lresolv... yes\nchecking for main() in -llber... yes\nchecking for main() in -lldap_r... yes\nchecking for main() in -lldap... yes\nchecking for ldap_init() in ldap.h... yes\nchecking for ldap_set_option()... yes\nchecking for ldap_get_option()... yes\nchecking for ldap_start_tls_s()... yes\nchecking for ldap_memfree()... yes\nchecking for ldap_perror()... yes\nchecking for ldap_sort_entries()... yes\nchecking for ldapssl_init()... no\nchecking for ldap_sslinit()... no\nchecking for ldap_sasl_bind_s()... yes\nchecking for ldap_compare_s()... yes\nchecking for ldap_add_ext_s()... yes\nchecking for ldap_compare_ext_s()... yes\nchecking for ldap_delete_ext_s()... yes\nchecking for ldap_modify_ext_s()... yes\nchecking for ldap_search_ext_s()... yes\nchecking for ldap_unbind_ext_s()... yes\nchecking for ldap_sasl_interactive_bind_s()... yes\ncreating Makefile\n", "make", "make[1]: Entering directory `/«PKGBUILDDIR»'\ncompiling sslconn.c\nsslconn.c: In function 'rb_openldap_sslconn_initialize':\nsslconn.c:103:7: error: format not a string literal and no format arguments [-Werror=format-security]\nsslconn.c:109:7: error: format not a string literal and no format arguments [-Werror=format-security]\nsslconn.c:115:7: error: format not a string literal and no format arguments [-Werror=format-security]\ncc1: some warnings being treated as errors\nmake[1]: *** [sslconn.o] Error 1\nmake[1]: Leaving directory `/«PKGBUILDDIR»'\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
> --with-openldap2
> checking for ldap.h... yes
> checking for lber.h... yes
> checking for ldap_ssl.h... no
> checking for openssl/ssl.h... no
> checking for ssl.h... no
> checking for openssl/crypto.h... no
> checking for crypto.h... no
> checking for main() in -lcrypto... no
> checking for main() in -lssl... no
> checking for main() in -lnsl... yes
> checking for main() in -lpthread... yes
> checking for main() in -lresolv... yes
> checking for main() in -llber... yes
> checking for main() in -lldap_r... yes
> checking for main() in -lldap... yes
> checking for ldap_init() in ldap.h... yes
> checking for ldap_set_option()... yes
> checking for ldap_get_option()... yes
> checking for ldap_start_tls_s()... yes
> checking for ldap_memfree()... yes
> checking for ldap_perror()... yes
> checking for ldap_sort_entries()... yes
> checking for ldapssl_init()... no
> checking for ldap_sslinit()... no
> checking for ldap_sasl_bind_s()... yes
> checking for ldap_compare_s()... yes
> checking for ldap_add_ext_s()... yes
> checking for ldap_compare_ext_s()... yes
> checking for ldap_delete_ext_s()... yes
> checking for ldap_modify_ext_s()... yes
> checking for ldap_search_ext_s()... yes
> checking for ldap_unbind_ext_s()... yes
> checking for ldap_sasl_interactive_bind_s()... yes
> creating Makefile
> make
> make[1]: Entering directory `/«PKGBUILDDIR»'
> compiling sslconn.c
> sslconn.c: In function 'rb_openldap_sslconn_initialize':
> sslconn.c:103:7: error: format not a string literal and no format arguments [-Werror=format-security]
> sslconn.c:109:7: error: format not a string literal and no format arguments [-Werror=format-security]
> sslconn.c:115:7: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> make[1]: *** [sslconn.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2012/06/05/ruby-ldap_0.9.12-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