[Pkg-javascript-devel] Bug#1114226: node-buble: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 3
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:21:10 BST 2025
Package: src:node-buble
Version: 0.20.0+~0.20.1-5
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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:node-buble, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf typesbuble/node_modules/.cache typesbuble/.nyc_output
rm ./node_modules/.cache
rm typesbuble/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/buble
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
[... snipped ...]
undefined transpiles spread with arrow function afterwards
undefined transpiles spread in new with arrow function afterwards
undefined inlines unreasonably deep spreads
undefined does not (yet) inline spread arrays with holes
undefined inlines array spreads without extraneous trailing commas
undefined inlines call spreads without extraneous trailing commas
undefined inlines new call spreads without extraneous trailing commas
undefined transpiles a first spread element comprising a ternary operator
template-strings.js
undefined transpiles an untagged template literal
undefined handles arbitrary whitespace inside template elements
undefined transpiles an untagged template literal containing complex expressions
undefined transpiles a template literal containing single quotes
undefined transpiles a template literal containing double quotes
undefined does not transpile tagged template literals
undefined transpiles tagged template literals with `transforms.dangerousTaggedTemplateString = true`
undefined transpiles tagged template literals with `transforms.dangerousTaggedTemplateString = true`
undefined reuses quasi array for identical tagged template strings
undefined reuses quasi array for identical tagged template strings in strict mode
undefined correctly positions the templateObject at the start of the source file
undefined parenthesises template strings as necessary
undefined does not parenthesise plain template strings
undefined does not parenthesise template strings in arithmetic expressions
undefined can be disabled with `transforms.templateString === false`
undefined skips leading empty string if possible
undefined includes leading empty string if necessary
undefined closes parens if final empty string is omitted
undefined allows empty template string
undefined concats expression with variable
undefined interpolations inside interpolations
trailing-function-commas.js
undefined strips trailing commas in call arguments
undefined strips trailing commas in function expression arguments
undefined strips trailing commas in normal function declaration arguments
undefined strips trailing commas in method arguments
undefined strips trailing commas in arrow function declaration arguments
undefined strips trailing commas after destructured argument in arrow function declaration arguments
undefined strips trailing commas in new expression arguments
undefined keeps commas in trailing comments in normal function declaration arguments
undefined strips trailing commas after comments in normal function declaration arguments
undefined does not freeze on multiline calls without trailing comma
undefined does not remove commas after closing parens
cli
undefined basic (120ms)
1) compiles-directory
2) creates-inline-sourcemap
3) creates-sourcemap
undefined supports-jsx (113ms)
undefined supports-jsx-pragma (113ms)
undefined supports-jsx-pragma-comment (112ms)
undefined uses-overrides (111ms)
undefined uses-targets (113ms)
undefined writes-to-stdout (114ms)
errors
undefined reports the location of a syntax error
undefined reports the location of a compile error
target
undefined determines necessary transforms for a target environment
undefined returns lowest common denominator support info
undefined only applies necessary transforms
sourcemaps
undefined generates a valid sourcemap
undefined uses provided file and source
undefined includes content by default
undefined excludes content if requested
undefined locates original content
undefined recovers names
undefined handles moved content
534 passing (2s)
2 pending
3 failing
1) buble
cli
compiles-directory:
AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
[
{
contents: "console.log( 'bar' );\n//# sourceMappingURL=bar.js.map",
name: 'bar.js'
},
{
contents: {
file: 'bar.js',
mappings: 'AAAA,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE',
names: [],
sources: [
'../src/bar.jsm'
],
sourcesContent: [
"console.log( 'bar' );"
],
version: 3
},
name: 'bar.js.map'
},
{
contents: "console.log( 'baz' );\n//# sourceMappingURL=baz.js.map",
name: 'baz.js'
},
{
contents: {
...
should loosely deep-equal
[
{
contents: "console.log( 'bar' );\n//# sourceMappingURL=bar.js.map",
name: 'bar.js'
},
{
contents: {
file: 'bar.js',
mappings: 'AAAA,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE',
names: [],
sources: [
'../src/bar.jsm'
],
sourcesContent: [
"console.log( 'bar' );"
],
version: 3
},
name: 'bar.js.map'
},
{
contents: "console.log( 'baz' );\n//# sourceMappingURL=baz.js.map",
name: 'baz.js'
},
{
contents: {
...
+ expected - actual
}
{
"contents": {
"file": "foo.js"
- "mappings": "AAAA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;"
+ "mappings": "AAAA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;"
"names": []
"sources": [
"../src/foo.js"
]
at /<<PKGBUILDDIR>>/test/test.js:119:15
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
2) buble
cli
creates-inline-sourcemap:
AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
[
{
contents: 'var answer = function () { return 42; };\n' +
'\n' +
'//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0LmpzIiwic291cmNlcyI6WyIuLi9pbnB1dC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBhbnN3ZXIgPSAoKSA9PiA0MjtcbiJdLCJuYW1lcyI6WyJjb25zdCJdLCJtYXBwaW5ncyI6IkFBQUFBLEdBQUssQ0FBQyxNQUFNLFlBQUcsWUFBTSxLQUFFOyJ9',
name: 'output.js'
}
]
should loosely deep-equal
[
{
contents: 'var answer = function () { return 42; };\n' +
'\n' +
'//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0LmpzIiwic291cmNlcyI6WyIuLi9pbnB1dC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBhbnN3ZXIgPSAoKSA9PiA0MjtcbiJdLCJuYW1lcyI6WyJjb25zdCJdLCJtYXBwaW5ncyI6IkFBQUFBLEdBQUssQ0FBQyxNQUFNLFlBQUcsWUFBTSxLQUFFLENBQUM7In0=',
name: 'output.js'
}
]
+ expected - actual
[
{
- "contents": "var answer = function () { return 42; };\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0LmpzIiwic291cmNlcyI6WyIuLi9pbnB1dC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBhbnN3ZXIgPSAoKSA9PiA0MjtcbiJdLCJuYW1lcyI6WyJjb25zdCJdLCJtYXBwaW5ncyI6IkFBQUFBLEdBQUssQ0FBQyxNQUFNLFlBQUcsWUFBTSxLQUFFOyJ9"
+ "contents": "var answer = function () { return 42; };\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0LmpzIiwic291cmNlcyI6WyIuLi9pbnB1dC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBhbnN3ZXIgPSAoKSA9PiA0MjtcbiJdLCJuYW1lcyI6WyJjb25zdCJdLCJtYXBwaW5ncyI6IkFBQUFBLEdBQUssQ0FBQyxNQUFNLFlBQUcsWUFBTSxLQUFFLENBQUM7In0="
"name": "output.js"
}
]
at /<<PKGBUILDDIR>>/test/test.js:119:15
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
3) buble
cli
creates-sourcemap:
AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
[
{
contents: 'var answer = function () { return 42; };\n' +
'\n' +
'//# sourceMappingURL=output.js.map',
name: 'output.js'
},
{
contents: {
file: 'output.js',
mappings: 'AAAAA,GAAK,CAAC,MAAM,YAAG,YAAM,KAAE;',
names: [
'const'
],
sources: [
'../input.js'
],
sourcesContent: [
'const answer = () => 42;\n'
],
version: 3
},
name: 'output.js.map'
}
]
should loosely deep-equal
[
{
contents: 'var answer = function () { return 42; };\n' +
'\n' +
'//# sourceMappingURL=output.js.map',
name: 'output.js'
},
{
contents: {
file: 'output.js',
mappings: 'AAAAA,GAAK,CAAC,MAAM,YAAG,YAAM,KAAE,CAAC;',
names: [
'const'
],
sources: [
'../input.js'
],
sourcesContent: [
'const answer = () => 42;\n'
],
version: 3
},
name: 'output.js.map'
}
]
+ expected - actual
}
{
"contents": {
"file": "output.js"
- "mappings": "AAAAA,GAAK,CAAC,MAAM,YAAG,YAAM,KAAE;"
+ "mappings": "AAAAA,GAAK,CAAC,MAAM,YAAG,YAAM,KAAE,CAAC;"
"names": [
"const"
]
"sources": [
at /<<PKGBUILDDIR>>/test/test.js:119:15
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 3
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list