[DRE-maint] Bug#1008468: ruby-jquery-atwho-rails: FTBFS: installing symlink 'lib/assets/javascripts/jquery.atwho/jquery.atwho.js' pointing to parent path /usr/share/javascript/jquery-atwho/jquery.atwho.js of /<<PKGBUILDDIR>>/debian/ruby-jquery-atwho-rails/usr/share/rubygems-integration/all/gems/jquery-atwho-rails-1.5.4 is not allowed

Lucas Nussbaum lucas at debian.org
Sat Mar 26 21:58:49 GMT 2022


Source: ruby-jquery-atwho-rails
Version: 1.5.4+dfsg-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220326 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>>'
> ln -sf /usr/share/javascript/jquery-atwho/jquery.atwho.js /<<PKGBUILDDIR>>/lib/assets/javascripts/jquery.atwho/jquery.atwho.js
> ln -sf /usr/share/javascript/caret.js/jquery.caret.js /<<PKGBUILDDIR>>/lib/assets/javascripts/jquery.atwho/jquery.caret.js
> dh_auto_configure
> 	dh_ruby --configure
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--buildsystem=ruby
> 	dh_ruby --build
>    dh_ruby --build
>    dh_auto_test -O--buildsystem=ruby
> 	dh_ruby --test
>    create-stamp debian/debhelper-build-stamp
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_auto_install --destdir=debian/ruby-jquery-atwho-rails/ -O--buildsystem=ruby
> 	dh_ruby --install /<<BUILDDIR>>/ruby-jquery-atwho-rails-1.5.4\+dfsg/debian/ruby-jquery-atwho-rails
>    dh_ruby --install
> /usr/bin/ruby3.0 -S gem build --config-file /dev/null --verbose /tmp/d20220326-487327-2brvg7/gemspec
> Failed to load /dev/null because it doesn't contain valid YAML hash
> WARNING:  licenses is empty, but is recommended.  Use a license identifier from
> http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
> WARNING:  lib/assets/javascripts/jquery.atwho/jquery.atwho.js is a symlink, which is not supported on all platforms
> WARNING:  lib/assets/javascripts/jquery.atwho/jquery.caret.js is a symlink, which is not supported on all platforms
> WARNING:  open-ended dependency on rspec (>= 0, development) is not recommended
>   use a bounded requirement, such as '~> x.y'
> WARNING:  open-ended dependency on generator_spec (>= 0, development) is not recommended
>   use a bounded requirement, such as '~> x.y'
> WARNING:  See https://guides.rubygems.org/specification-reference/ for help
>   Successfully built RubyGem
>   Name: jquery-atwho-rails
>   Version: 1.5.4
>   File: jquery-atwho-rails-1.5.4.gem
> /usr/bin/ruby3.0 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-jquery-atwho-rails/usr/share/rubygems-integration/all /tmp/d20220326-487327-2brvg7/jquery-atwho-rails-1.5.4.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/jquery.atwho/jquery.atwho.js' pointing to parent path /usr/share/javascript/jquery-atwho/jquery.atwho.js of /<<PKGBUILDDIR>>/debian/ruby-jquery-atwho-rails/usr/share/rubygems-integration/all/gems/jquery-atwho-rails-1.5.4 is not allowed
> /<<PKGBUILDDIR>>/debian/ruby-jquery-atwho-rails/usr/share/rubygems-integration/all/gems/jquery-atwho-rails-1.5.4/lib/assets/javascripts/jquery.atwho/index.js
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:54:in `run': /usr/bin/ruby3.0 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-jquery-atwho-rails/usr/share/rubygems-integration/all /tmp/d20220326-487327-2brvg7/jquery-atwho-rails-1.5.4.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-jquery-atwho-rails-1.5.4\+dfsg/debian/ruby-jquery-atwho-rails returned exit code 1
> make: *** [debian/rules:8: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/03/26/ruby-jquery-atwho-rails_1.5.4+dfsg-2_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