[DRE-maint] Bug#1095386: ruby-sassc-rails: FTBFS: ERROR: Test "ruby3.3" failed. Exiting.

Santiago Vila sanvila at debian.org
Fri Feb 7 12:12:57 GMT 2025


Package: src:ruby-sassc-rails
Version: 2.1.2-7
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_auto_clean -O--buildsystem=ruby
	dh_ruby --clean
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	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-sassc-rails/ -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-sassc-rails

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-sassc-rails: Installing files and building extensions for ruby3.3       │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250207-110144-kkqj07/gemspec
WARNING:  description and summary are identical
WARNING:  open-ended dependency on pry (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on bundler (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on rake (> 10.0, development) is not recommended
  if rake is semantically versioned, use:
    add_development_dependency "rake", "~> 10.0", "> 10.0"
WARNING:  open-ended dependency on mocha (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on sassc (>= 2.0) is not recommended
  if sassc is semantically versioned, use:
    add_runtime_dependency "sassc", "~> 2.0"
WARNING:  open-ended dependency on tilt (>= 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on railties (>= 4.0.0) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency "railties", "~> 4.0", ">= 4.0.0"
WARNING:  open-ended dependency on sprockets (> 3.0) is not recommended
  if sprockets is semantically versioned, use:
    add_runtime_dependency "sprockets", "~> 3.0", "> 3.0"
WARNING:  open-ended dependency on sprockets-rails (>= 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: sassc-rails
  Version: 2.1.2
  File: sassc-rails-2.1.2.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-sassc-rails/usr/share/rubygems-integration/all /tmp/d20250207-110144-kkqj07/sassc-rails-2.1.2.gem
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/sass/assets/assets_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/sass/assets/templates/stylesheet.sass
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/sass/scaffold/scaffold_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/sass_scaffold.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/scss/assets/assets_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/scss/assets/templates/stylesheet.scss
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/rails/generators/scss/scaffold/scaffold_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc-rails.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/compressor.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/importer.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/railtie.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb
/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all/gems/sassc-rails-2.1.2/lib/sassc/rails/version.rb
Successfully installed sassc-rails-2.1.2
1 gem installed
cd debian/ruby-sassc-rails/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/sassc-rails-2.1.2
rm -f 
chmod 644 lib/rails/generators/sass/assets/assets_generator.rb lib/rails/generators/sass/scaffold/scaffold_generator.rb lib/rails/generators/sass_scaffold.rb lib/rails/generators/scss/assets/assets_generator.rb lib/rails/generators/scss/scaffold/scaffold_generator.rb lib/sassc/rails/compressor.rb lib/sassc/rails/functions.rb lib/sassc/rails/importer.rb lib/sassc/rails/railtie.rb lib/sassc/rails/template.rb lib/sassc/rails/version.rb lib/sassc/rails.rb lib/sassc-rails.rb
find lib/ -type d -empty -delete
cd -
cd -
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.3                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"sassc-rails\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-sassc-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/sassc_rails_test.rb" "test/test_helper.rb"  -v
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:125: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:126: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:127: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:128: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:129: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:130: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:131: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:132: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:133: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:134: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:135: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:136: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:137: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:138: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:139: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:140: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:144: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:145: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:147: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:149: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:150: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:152: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:179: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:184: warning: assigned but unused variable - css_output
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:242: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:243: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:297: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:304: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:316: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/test/sassc_rails_test.rb:324: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
/<<PKGBUILDDIR>>/lib/sassc/rails/functions.rb:7: warning: method redefined; discarding old asset_data_url
/usr/lib/ruby/vendor_ruby/sprockets/sass_processor.rb:274: warning: previous definition of asset_data_url was here
/<<PKGBUILDDIR>>/lib/sassc/rails/compressor.rb:7: warning: method redefined; discarding old initialize
/usr/lib/ruby/vendor_ruby/sprockets/sass_compressor.rb:39: warning: previous definition of initialize was here
/<<PKGBUILDDIR>>/lib/sassc/rails/compressor.rb:17: warning: method redefined; discarding old call
/usr/lib/ruby/vendor_ruby/sprockets/sass_compressor.rb:49: warning: previous definition of call was here
/usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/runtime.rb:319:in `check_for_activated_spec!': You have already activated racc 1.7.3, but your Gemfile requires racc 1.8.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/runtime.rb:25:in `block in setup'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/spec_set.rb:204:in `each'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/spec_set.rb:204:in `each'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/runtime.rb:24:in `map'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/runtime.rb:24:in `setup'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler.rb:167:in `setup'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/setup.rb:32:in `block in <top (required)>'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/ui/shell.rb:173:in `with_level'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/ui/shell.rb:119:in `silence'
	from /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler/setup.rb:32:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `block in require'
	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299:in `load_dependency'
	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `require'
	from /<<PKGBUILDDIR>>/test/test_helper.rb:15:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /<<PKGBUILDDIR>>/test/sassc_rails_test.rb:3:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `select'
	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/sassc_rails_test.rb" "test/test_helper.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-sassc-rails returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-sassc-rails, so that this is still
visible in the BTS web page for this package.

Thanks.



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