Source: ruby-mysql
Version: 2.9.1-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
> dh: Compatibility levels before 9 are deprecated (level 7 in use)
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
> dh_auto_install: Compatibility levels before 9 are deprecated (level 7 in use)
>       dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-mysql
>    dh_ruby --install
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Install files                                                               
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> install -d /<<PKGBUILDDIR>>/debian/ruby-mysql/usr/lib/ruby/vendor_ruby
> install -D -m644 /<<PKGBUILDDIR>>/lib/mysql/version.rb 
> /<<PKGBUILDDIR>>/debian/ruby-mysql/usr/lib/ruby/vendor_ruby/mysql/version.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/mysql.rb 
> /<<PKGBUILDDIR>>/debian/ruby-mysql/usr/lib/ruby/vendor_ruby/mysql.rb
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Build native extensions for ruby2.3                                         
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> /usr/bin/ruby2.3 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb 
> /<<PKGBUILDDIR>> debian/ruby-mysql
> current directory: /<<PKGBUILDDIR>>/ext/mysql_api
> /usr/bin/ruby2.3 -r ./siteconf20161118-86628-r8c656.rb extconf.rb
> checking for mysql_ssl_set()... *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       --ruby=/usr/bin/$(RUBY_BASE_NAME)2.3
>       --with-mysql-config
>       --without-mysql-config
> /usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate 
> an executable file. (RuntimeError)
> You have to install development tools first.
>       from /usr/lib/ruby/2.3.0/mkmf.rb:541:in `try_link0'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:765:in `try_func'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:1051:in `block in have_func'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
>       from /usr/lib/ruby/2.3.0/mkmf.rb:1050:in `have_func'
>       from extconf.rb:45:in `<main>'
> ~~~~~~~~~~~~~~~~~~~~~ ↓ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
> cat: mkmf.log: No such file or directory
> /usr/lib/ruby/2.3.0/rubygems/ext/builder.rb:92:in `run': extconf failed, exit 
> code 1 (Gem::InstallError)
>       from /usr/lib/ruby/2.3.0/rubygems/ext/ext_conf_builder.rb:48: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:31:in `build'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:76:in 
> `block in build_and_install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in 
> `chdir'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in 
> `build_and_install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:108:in 
> `block in build_all_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in 
> `each'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in 
> `build_all_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:121:in 
> `<main>'
> ~~~~~~~~~~~~~~~~~~~~~ ↑ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:56:in `run': /usr/bin/ruby2.3 
> /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> 
> debian/ruby-mysql (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 /<<PKGBUILDDIR>>/debian/ruby-mysql 
> returned exit code 1
> debian/rules:5: recipe for target 'binary' failed
> make: *** [binary] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/ruby-mysql_2.9.1-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.

Reply via email to