[DRE-maint] Bug#1091660: ruby-handlebars-assets: FTBFS with ruby3.3: ERROR: Test "ruby3.3" failed: NoMethodError: undefined method `[]' for nil
Antonio Terceiro
terceiro at debian.org
Sun Dec 29 11:43:41 GMT 2024
Source: ruby-handlebars-assets
Version: 2:0.23.9+dfsg-2
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3
Hi,
We are about to enable building against ruby3.3 on unstable. During a test
rebuild, ruby-handlebars-assets was found to fail to build in that situation. This bug
is being reported as important, but will be upgraded to serious soon.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> NoMethodError: undefined method `[]' for nil
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:252:in `relative_path'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:263:in `template_name'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:246:in `name'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:129:in `compile_ember'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:122:in `compile'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:65:in `call'
> /<<PKGBUILDDIR>>/lib/handlebars_assets/handlebars_template.rb:49:in `call'
> /<<PKGBUILDDIR>>/test/handlebars_assets/handlebars_processor_test.rb:14:in `render_it'
> /<<PKGBUILDDIR>>/test/handlebars_assets/shared/adapter_tests.rb:146:in `test_ember_render'
>
> 28 runs, 49 assertions, 0 failures, 1 errors, 0 skips
> rake aborted!
> Command failed with status (1)
> /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.3" failed:
The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-handlebars-assets/ruby-handlebars-assets_0.23.9+dfsg-2+rebuild1733794475_amd64.build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20241229/73544066/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list