[DRE-maint] Bug#1005630: ruby-markdown-it-html5-embed: FTBFS: Failed to load /dev/null because it doesn't contain valid YAML hash

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:59:47 GMT 2022


Source: ruby-markdown-it-html5-embed
Version: 1.0.0+dfsg-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p lib/assets/javascripts
> ln -sf /usr/share/javascript/markdown-it-html5-embed/markdown-it-html5-embed.js lib/assets/javascripts/markdown-it-html5-embed.js
> dh_auto_install
> 	dh_ruby --install /<<BUILDDIR>>/ruby-markdown-it-html5-embed-1.0.0\+dfsg/debian/ruby-markdown-it-html5-embed
>    dh_ruby --install
> /usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20220212-137783-dh1dej/gemspec
> Failed to load /dev/null because it doesn't contain valid YAML hash
> WARNING:  lib/assets/javascripts/markdown-it-html5-embed.js is a symlink, which is not supported on all platforms
> WARNING:  See https://guides.rubygems.org/specification-reference/ for help
>   Successfully built RubyGem
>   Name: markdown-it-html5-embed
>   Version: 1.0.0
>   File: markdown-it-html5-embed-1.0.0.gem
> /usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-markdown-it-html5-embed/usr/share/rubygems-integration/all /tmp/d20220212-137783-dh1dej/markdown-it-html5-embed-1.0.0.gem
> Failed to load /dev/null because it doesn't contain valid YAML hash
> ERROR:  While executing gem ... (Gem::Package::SymlinkError)
>     installing symlink 'lib/assets/javascripts/markdown-it-html5-embed.js' pointing to parent path /usr/share/javascript/markdown-it-html5-embed/markdown-it-html5-embed.js of /<<PKGBUILDDIR>>/debian/ruby-markdown-it-html5-embed/usr/share/rubygems-integration/all/gems/markdown-it-html5-embed-1.0.0 is not allowed
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:54:in `run': /usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-markdown-it-html5-embed/usr/share/rubygems-integration/all /tmp/d20220212-137783-dh1dej/markdown-it-html5-embed-1.0.0.gem (Gem2Deb::CommandFailed)
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:212:in `run_gem'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:120:in `block in install_files_and_build_extensions'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:68:in `each'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:68:in `install_files_and_build_extensions'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `install'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:86:in `block in install'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `each'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `install'
> 	from /usr/bin/dh_ruby:89:in `<main>'
> dh_auto_install: error: dh_ruby --install /<<BUILDDIR>>/ruby-markdown-it-html5-embed-1.0.0\+dfsg/debian/ruby-markdown-it-html5-embed returned exit code 1
> make[1]: *** [debian/rules:12: override_dh_auto_install] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/ruby-markdown-it-html5-embed_1.0.0+dfsg-5_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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