[DRE-maint] Bug#1013504: ruby-tilt: FTBFS: ERROR: Test "ruby3.0" failed. Exiting.

Lucas Nussbaum lucas at debian.org
Fri Jun 24 08:10:10 BST 2022


Source: ruby-tilt
Version: 2.0.10-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> SyntaxError: Unexpected token 'export'
>     at Object.compileFunction (node:vm:352:18)
>     at wrapSafe (node:internal/modules/cjs/loader:1033:15)
>     at Module._compile (node:internal/modules/cjs/loader:1069:27)
>     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
>     at Module.load (node:internal/modules/cjs/loader:981:32)
>     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
>     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
>     at node:internal/main/run_main_module:17:47
> 
>     (execjs):1
>     /usr/lib/ruby/vendor_ruby/execjs/external_runtime.rb:219:in `exec_runtime'
>     /usr/lib/ruby/vendor_ruby/execjs/external_runtime.rb:39:in `exec'
>     /usr/lib/ruby/vendor_ruby/execjs/external_runtime.rb:14:in `initialize'
>     /usr/lib/ruby/vendor_ruby/execjs/runtime.rb:72:in `new'
>     /usr/lib/ruby/vendor_ruby/execjs/runtime.rb:72:in `compile'
>     /usr/lib/ruby/vendor_ruby/execjs/module.rb:27:in `compile'
>     /usr/lib/ruby/vendor_ruby/coffee_script.rb:50:in `context'
>     /usr/lib/ruby/vendor_ruby/coffee_script.rb:78:in `compile'
>     /<<PKGBUILDDIR>>/debian/ruby-tilt/usr/lib/ruby/vendor_ruby/tilt/coffee.rb:44:in `evaluate'
>     /<<PKGBUILDDIR>>/debian/ruby-tilt/usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>     /<<PKGBUILDDIR>>/test/tilt_coffeescripttemplate_test.rb:62:in `block (3 levels) in included'
> 
> 237 runs, 359 assertions, 0 failures, 18 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/tilt_asciidoctor_test.rb" "test/tilt_blueclothtemplate_test.rb" "test/tilt_buildertemplate_test.rb" "test/tilt_cache_test.rb" "test/tilt_coffeescripttemplate_test.rb" "test/tilt_commonmarkertemplate_test.rb" "test/tilt_compilesite_test.rb" "test/tilt_creoletemplate_test.rb" "test/tilt_csv_test.rb" "test/tilt_erbtemplate_test.rb" "test/tilt_erubistemplate_test.rb" "test/tilt_erubitemplate_test.rb" "test/tilt_etannitemplate_test.rb" "test/tilt_hamltemplate_test.rb" "test/tilt_kramdown_test.rb" "test/tilt_lesstemplate_test.rb" "test/tilt_liquidtemplate_test.rb" "test/tilt_livescripttemplate_test.rb" "test/tilt_mapping_test.rb" "test/tilt_markaby_test.rb" "test/tilt_markdown_test.rb" "test/tilt_marukutemplate_test.rb" "test/tilt_metadata_test.rb" "test/tilt_nokogiritemplate_test.rb" "test/tilt_pandoctemplate_test.rb" "test/tilt_prawntemplate_test.rb" "test/tilt_radiustemplate_test.rb" "test/tilt_rdiscounttemplate_test.rb" "test/tilt_rdoctemplate_test.rb" "test/tilt_redcarpettemplate_test.rb" "test/tilt_redclothtemplate_test.rb" "test/tilt_rstpandoctemplate_test.rb" "test/tilt_sasstemplate_test.rb" "test/tilt_sigil_test.rb" "test/tilt_stringtemplate_test.rb" "test/tilt_template_test.rb" "test/tilt_test.rb" "test/tilt_typescript_test.rb" "test/tilt_wikiclothtemplate_test.rb" "test/tilt_yajltemplate_test.rb" -v]
> /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed. Exiting.
> dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-tilt returned exit code 1
> make: *** [debian/rules:17: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/ruby-tilt_2.0.10-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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