Bug#753188: ruby-hdfeos5: FTBFS: configure errors
David Suárez
david.sephirot at gmail.com
Sun Jun 29 18:35:17 UTC 2014
Source: ruby-hdfeos5
Version: 1.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140628 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 --with ruby --buildsystem ruby
> dh_testroot -O--buildsystem=ruby
> dh_prep -O--buildsystem=ruby
> dh_installdirs -O--buildsystem=ruby
> dh_auto_install -O--buildsystem=ruby
> Entering dh_ruby --install
> Building extension for ruby2.1 ...
> /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': extconf failed, exit code 1 (Gem::InstallError)
> from /usr/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build'
> from /usr/lib/ruby/2.1.0/tempfile.rb:324:in `open'
> from /usr/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:17:in `build'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:67: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:92:in `block in build_all_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:89:in `each'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:89:in `build_all_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in `<main>'
> /usr/bin/ruby2.1 extconf.rb
> checking for narray.h... yes
> checking for narray_config.h... yes
> checking for main() in -lgctp... yes
> checking for hdf5.h... yes
> checking for main() in -lhdf5... yes
> checking for HE5_HdfEosDef.h... yes
> checking for main() in -lhe5_hdfeos... no
> *** 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/ruby2.1
> --with-narray-dir
> --without-narray-dir
> --with-narray-include
> --without-narray-include=${narray-dir}/include
> --with-narray-lib
> --without-narray-lib=${narray-dir}/lib
> --with-gctp-dir
> --without-gctp-dir
> --with-gctp-include
> --without-gctp-include=${gctp-dir}/include
> --with-gctp-lib
> --without-gctp-lib=${gctp-dir}/lib
> --with-gctplib
> --without-gctplib
> --with-hdf5-dir
> --without-hdf5-dir
> --with-hdf5-include
> --without-hdf5-include=${hdf5-dir}/include
> --with-hdf5-lib
> --without-hdf5-lib=${hdf5-dir}/lib
> --with-hdf5lib
> --without-hdf5lib
> --with-hdfeos5-dir
> --without-hdfeos5-dir
> --with-hdfeos5-include
> --without-hdfeos5-include=${hdfeos5-dir}/include
> --with-hdfeos5-lib
> --without-hdfeos5-lib=${hdfeos5-dir}/lib
> --with-he5_hdfeoslib
> --without-he5_hdfeoslib
> ** configure error **
> Header hdfeos5.h or the compiled hdfeos5 library is not found.
> If you have the library installed under /hdfeos5dir (that is, hdfeos5.h is
> in /hdfeos5dir/include and the library in /hdfeos5dir/lib/),
> try the following:
>
> % ruby extconf.rb --with-hdfeos5-dir=/hdfeos5dir
>
> Alternatively, you can specify the two directory separately
> with --with-hdfeos5-include and --with-hdfeos5-lib.
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:46:in `run': /usr/bin/ruby2.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /«PKGBUILDDIR» debian/ruby-hdfeos5 (Gem2Deb::CommandFailed)
> from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:36: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:75:in `block in install'
> from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:73:in `each'
> from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:73:in `install'
> from /usr/bin/dh_ruby:69:in `block (2 levels) in <main>'
> from /usr/lib/ruby/2.1.0/optparse.rb:1359:in `call'
> from /usr/lib/ruby/2.1.0/optparse.rb:1359:in `block in parse_in_order'
> from /usr/lib/ruby/2.1.0/optparse.rb:1346:in `catch'
> from /usr/lib/ruby/2.1.0/optparse.rb:1346:in `parse_in_order'
> from /usr/lib/ruby/2.1.0/optparse.rb:1340:in `order!'
> from /usr/lib/ruby/2.1.0/optparse.rb:1432:in `permute!'
> from /usr/lib/ruby/2.1.0/optparse.rb:1454:in `parse!'
> from /usr/bin/dh_ruby:73:in `<main>'
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make: *** [binary] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/06/28/ruby-hdfeos5_1.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-grass-devel
mailing list