[DRE-maint] Bug#725583: jekyll: FTBFS: ERROR: Test "ruby2.0" failed: /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- iconv (LoadError)

David Suárez david.sephirot at gmail.com
Sun Oct 6 19:22:35 UTC 2013


Source: jekyll
Version: 0.11.2-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/jekyll/usr/bin
> install -D -m755 /«PKGBUILDDIR»/bin/jekyll /«PKGBUILDDIR»/debian/jekyll/usr/bin/jekyll
> install -d /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/converter.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/converter.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/converters/markdown.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/converters/markdown.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/converters/identity.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/converters/identity.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/converters/textile.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/converters/textile.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/convertible.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/convertible.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/core_ext.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/core_ext.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/errors.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/errors.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/filters.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/filters.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/generator.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/generator.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/generators/pagination.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/generators/pagination.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/layout.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/layout.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/wordpressdotcom.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/wordpressdotcom.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/wordpress.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/wordpress.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/typo.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/typo.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/tumblr.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/tumblr.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/textpattern.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/textpattern.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/posterous.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/posterous.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/mt.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/mt.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/mephisto.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/mephisto.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/enki.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/enki.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/drupal.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/drupal.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/csv.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/csv.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/migrators/marley.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/migrators/marley.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/page.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/page.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/plugin.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/plugin.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/post.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/post.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/site.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/site.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/static_file.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/static_file.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/tags/highlight.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/tags/highlight.rb
> install -D -m644 /«PKGBUILDDIR»/lib/jekyll/tags/include.rb /«PKGBUILDDIR»/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll/tags/include.rb
> Rewriting shebang line of /«PKGBUILDDIR»/debian/jekyll/usr/bin/jekyll
> /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby1.9.1 -I"lib:test" -I"/usr/lib/ruby/vendor_ruby" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_configuration.rb" "test/test_core_ext.rb" "test/test_filters.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_page.rb" "test/test_pager.rb" "test/test_post.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_site.rb" "test/test_tags.rb" 
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby2.0 -I"lib:test" -I"/usr/lib/ruby/vendor_ruby" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_configuration.rb" "test/test_core_ext.rb" "test/test_filters.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_page.rb" "test/test_pager.rb" "test/test_post.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_site.rb" "test/test_tags.rb" 
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- iconv (LoadError)
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/vendor_ruby/maruku/input/parse_doc.rb:22:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/vendor_ruby/maruku.rb:85:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/lib/jekyll.rb:23:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/test/helper.rb:1:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/test/test_configuration.rb:1:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:15:in `block in <main>'
> 	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `select'
> 	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `<main>'
> rake aborted!
> Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib/ruby/vendor_ruby" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_configuration.rb" "test/test_core_ext.rb" "test/test_filters.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_page.rb" "test/test_pager.rb" "test/test_post.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_site.rb" "test/test_tags.rb" ]
> -e:1:in `<main>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.0" failed: 
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/jekyll 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/jekyll_0.11.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-ruby-extras-maintainers mailing list