[DRE-maint] Bug#952079: jekyll: FTBFS: ERROR: Test "ruby2.7" failed: RuntimeError: A parser with the name content already exists!

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:41:43 GMT 2020


Source: jekyll
Version: 3.8.3+dfsg-8
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

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

Relevant part (hopefully):
> RuntimeError: A parser with the name content already exists!
>     /usr/lib/ruby/vendor_ruby/kramdown/parser/kramdown.rb:324:in `define_parser'
>     /usr/lib/ruby/vendor_ruby/jekyll/converters/smartypants.rb:13:in `<class:SmartyPants>'
>     /usr/lib/ruby/vendor_ruby/jekyll/converters/smartypants.rb:3:in `<top (required)>'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
>     /usr/lib/ruby/vendor_ruby/jekyll.rb:13:in `block in require_all'
>     /usr/lib/ruby/vendor_ruby/jekyll.rb:12:in `each'
>     /usr/lib/ruby/vendor_ruby/jekyll.rb:12:in `require_all'
>     /usr/lib/ruby/vendor_ruby/jekyll.rb:194:in `<top (required)>'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
>     /usr/lib/ruby/vendor_ruby/jekyll-coffeescript.rb:3:in `<top (required)>'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
>     /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
>     /usr/lib/ruby/vendor_ruby/jekyll/external.rb:58:in `block in require_with_graceful_fail'
>     /usr/lib/ruby/vendor_ruby/jekyll/external.rb:55:in `each'
>     /usr/lib/ruby/vendor_ruby/jekyll/external.rb:55:in `require_with_graceful_fail'
>     /<<PKGBUILDDIR>>/test/test_coffeescript.rb:8:in `block (2 levels) in <class:TestCoffeeScript>'
>     /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:436:in `instance_exec'
>     /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:436:in `block in run_current_setup_blocks'
>     /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:434:in `each'
>     /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:434:in `run_current_setup_blocks'
>     /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:411:in `block in create_test_from_should_hash'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest/reporters.rb:44:in `run_with_hooks'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
> 
> 657 tests, 1129 assertions, 0 failures, 2 errors, 1 skips
> Coverage report generated for Unit Tests to /<<PKGBUILDDIR>>/coverage. 1085 / 1471 LOC (73.76%) covered.
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib:lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_ansi.rb" "test/test_cleaner.rb" "test/test_coffeescript.rb" "test/test_collections.rb" "test/test_command.rb" "test/test_commands_serve.rb" "test/test_commands_serve_servlet.rb" "test/test_configuration.rb" "test/test_data_reader.rb" "test/test_doctor_command.rb" "test/test_document.rb" "test/test_drop.rb" "test/test_entry_filter.rb" "test/test_excerpt.rb" "test/test_excerpt_drop.rb" "test/test_filters.rb" "test/test_front_matter_defaults.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_layout_reader.rb" "test/test_liquid_extensions.rb" "test/test_liquid_renderer.rb" "test/test_log_adapter.rb" "test/test_page.rb" "test/test_page_without_a_file.rb" "test/test_path_sanitization.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_regenerator.rb" "test/test_related_posts.rb" "test/test_sass.rb" "test/test_site_drop.rb" "test/test_static_file.rb" "test/test_url.rb" "test/test_utils.rb" ]
> 
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.7" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/jekyll_3.8.3+dfsg-8_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