[DRE-maint] Bug#1027346: ruby-sprockets: FTBFS: tests fail

Lucas Nussbaum lucas at debian.org
Fri Dec 30 16:24:19 GMT 2022


Source: ruby-sprockets
Version: 3.7.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221230 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> Finished in 46.363723s, 16.6725 runs/s, 63.8862 assertions/s.
> 
>   1) Error:
> BundledAssetTest#test_"require_tree requires all descendant files in alphabetical order":
> ExecJS::RuntimeError: /tmp/execjs20221230-348680-joiepsjs:1
> 
> [..]
> 
> SyntaxError: Unexpected token 'export'
>     at Object.compileFunction (node:vm:360:18)
>     at wrapSafe (node:internal/modules/cjs/loader:1088:15)
>     at Module._compile (node:internal/modules/cjs/loader:1123:27)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
>     at Module.load (node:internal/modules/cjs/loader:1037:32)
>     at Module._load (node:internal/modules/cjs/loader:878:12)
>     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
>     at node:internal/main/run_main_module:23:47
> 
> Node.js v18.12.1
> 
>     (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-sprockets/usr/lib/ruby/vendor_ruby/sprockets/coffee_script_processor.rb:21:in `block in call'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/cache.rb:85:in `fetch'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/coffee_script_processor.rb:20:in `call'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:75:in `call_processor'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:57:in `block in call_processors'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:56:in `reverse_each'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:56:in `call_processors'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:134:in `load_from_unloaded'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:60:in `block in load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:44:in `load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/cached_environment.rb:20:in `block in initialize'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/cached_environment.rb:47:in `load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/bundle.rb:23:in `block in call'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/utils.rb:200:in `dfs'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/bundle.rb:24:in `call'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:75:in `call_processor'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:57:in `block in call_processors'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:56:in `reverse_each'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/processor_utils.rb:56:in `call_processors'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:134:in `load_from_unloaded'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:60:in `block in load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/loader.rb:44:in `load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/cached_environment.rb:20:in `block in initialize'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/cached_environment.rb:47:in `load'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/base.rb:66:in `find_asset'
>     /<<PKGBUILDDIR>>/debian/ruby-sprockets/usr/lib/ruby/vendor_ruby/sprockets/environment.rb:30:in `find_asset'
>     /<<PKGBUILDDIR>>/test/test_asset.rb:1233:in `asset'
>     /<<PKGBUILDDIR>>/test/test_asset.rb:980:in `block in <class:BundledAssetTest>'
> 


The full build log is available from:
http://qa-logs.debian.net/2022/12/30/ruby-sprockets_3.7.2-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221230;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221230&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 mark 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