[DRE-maint] Bug#747740: FTBFS: Test "ruby2.1" failed. Exiting.

Christian Hofstaedtler zeha at debian.org
Sun May 11 13:31:22 UTC 2014


Source: ruby-omniauth-facebook
Version: 1.6.0-1
Severity: serious
Justification: fails to build from source
User: debian-ruby at lists.debian.org
Usertags: ruby2.0-rm

Dear Maintainer,

During a rebuild of ruby-related packages your package failed to
build with these errors:

===================================================================
  1) Failure:
CallbackUrlTest#test_returns_the_default_callback_url [/«PKGBUILDDIR»/test/test.rb:29]:
unexpected invocation: #<Mock:Request>.scheme()

  2) Failure:
CallbackUrlTest#test_returns_path_from_callback_path_option [/«PKGBUILDDIR»/test/test.rb:37]:
unexpected invocation: #<Mock:Request>.scheme()

[..]

72 runs, 111 assertions, 2 failures, 0 errors, 0 skips
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-omniauth-facebook returned exit code 1
make: *** [binary] Error 1
debian/rules:15: recipe for target 'binary' failed
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
===================================================================

Please note that the default ruby recently has been switched to 2.1
in sid. If your package doesn't already do this, please switch to
the ruby(-all)(-dev) metapackages and `dh_ruby --print-supported`
for detecting the ruby to build for.
(Also, if everything goes according to plan, this is the last ruby
transition for jessie.)

About the test rebuild: this build was done in a rather standard
sbuild/schroot setup, on an amd64 host where PID1 is provided by
systemd, and options passed to sbuild were:
  DEB_BUILD_OPTIONS=parallel=12

Please find the full build log attached.

Thanks,
  -ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-omniauth-facebook_1.6.0-1_amd64.build
Type: inode/symlink
Size: 37751 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140511/0b22abe0/attachment-0001.bin>


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