[DRE-maint] Bug#725602: ruby-domain-name: FTBFS: ERROR: Test "ruby2.0" failed: LoadError: cannot load such file -- unf_ext.so
David Suárez
david.sephirot at gmail.com
Sun Oct 6 19:27:02 UTC 2013
Source: ruby-domain-name
Version: 0.5.12-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131006 qa-ftbfs ruby2-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_testroot -O--buildsystem=ruby
> dh_prep -O--buildsystem=ruby
> dh_auto_install -O--buildsystem=ruby
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
> Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/domain_name.rb /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby/domain_name.rb
> install -D -m644 /«PKGBUILDDIR»/lib/domain_name/etld_data.rb /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby/domain_name/etld_data.rb
> install -D -m644 /«PKGBUILDDIR»/lib/domain_name/version.rb /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby/domain_name/version.rb
> install -D -m644 /«PKGBUILDDIR»/lib/domain_name/etld_data.rb.erb /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby/domain_name/etld_data.rb.erb
> install -D -m644 /«PKGBUILDDIR»/lib/domain_name/punycode.rb /«PKGBUILDDIR»/debian/ruby-domain-name/usr/lib/ruby/vendor_ruby/domain_name/punycode.rb
> /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Run options:
>
> # Running tests:
>
> ..........
>
> Finished tests in 0.046776s, 213.7852 tests/s, 12164.3783 assertions/s.
>
> 10 tests, 569 assertions, 0 failures, 0 errors, 0 skips
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Run options:
>
> # Running tests:
>
> ...E.E....
>
> Finished tests in 0.022320s, 448.0214 tests/s, 23565.9271 assertions/s.
>
> 1) Error:
> test: DomainName should encode labels just as listed in RFC 3492 #7.1 (slightly modified). (TestDomainName):
> LoadError: cannot load such file -- unf_ext.so
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf_ext.rb:4:in `rescue in <top (required)>'
> /usr/lib/ruby/vendor_ruby/unf_ext.rb:1:in `<top (required)>'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf/normalizer_cruby.rb:1:in `<top (required)>'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf/normalizer.rb:4:in `<top (required)>'
> (eval):6:in `to_nfc'
> /«PKGBUILDDIR»/test/test_domain_name-punycode.rb:94:in `block (2 levels) in <class:TestDomainName>'
> /«PKGBUILDDIR»/test/test_domain_name-punycode.rb:92:in `each'
> /«PKGBUILDDIR»/test/test_domain_name-punycode.rb:92:in `block in <class:TestDomainName>'
> /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:400:in `call'
> /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:400:in `block in create_test_from_should_hash'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run'
> /usr/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `map'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite'
> /usr/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites'
> /usr/lib/ruby/2.0.0/test/unit.rb:655:in `each'
> /usr/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:21:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:774:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun'
> /usr/lib/ruby/2.0.0/test/unit.rb:27:in `run_once'
> /usr/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun'
>
> 2) Error:
> test: DomainName should have idn methods. (TestDomainName):
> LoadError: cannot load such file -- unf_ext.so
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf_ext.rb:4:in `rescue in <top (required)>'
> /usr/lib/ruby/vendor_ruby/unf_ext.rb:1:in `<top (required)>'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf/normalizer_cruby.rb:1:in `<top (required)>'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> /usr/lib/ruby/vendor_ruby/unf/normalizer.rb:4:in `<top (required)>'
> (eval):6:in `to_nfc'
> /«PKGBUILDDIR»/lib/domain_name.rb:289:in `normalize'
> /«PKGBUILDDIR»/lib/domain_name.rb:100:in `initialize'
> /«PKGBUILDDIR»/lib/domain_name.rb:296:in `new'
> /«PKGBUILDDIR»/lib/domain_name.rb:296:in `DomainName'
> /«PKGBUILDDIR»/test/test_domain_name.rb:288:in `block in <class:TestDomainName>'
> /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:400:in `call'
> /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:400:in `block in create_test_from_should_hash'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run'
> /usr/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `map'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite'
> /usr/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites'
> /usr/lib/ruby/2.0.0/test/unit.rb:655:in `each'
> /usr/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run'
> /usr/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:21:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:774:in `run'
> /usr/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun'
> /usr/lib/ruby/2.0.0/test/unit.rb:27:in `run_once'
> /usr/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun'
>
> 10 tests, 526 assertions, 0 failures, 2 errors, 0 skips
>
> ruby -v: ruby 2.0.0p299 (2013-08-29) [x86_64-linux-gnu]
> ERROR: Test "ruby2.0" failed:
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-domain-name returned exit code 1
> make: *** [binary] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/10/06/ruby-domain-name_0.5.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