[Pkg-javascript-devel] Bug#1124183: node-webfont: FTBFS: invalid rimraf options
Santiago Vila
sanvila at debian.org
Sun Dec 28 18:26:15 GMT 2025
Package: src:node-webfont
Version: 11.4.0+dfsg2+~cs35.7.26-16
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
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 cannot 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-webfont, 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
/!\ brotli/package.json not found
/!\ brotli/package.json not found
Unable to load brotli
Found debian/nodejs/additional_components
Adding component(s): is-eot
Adding component(s): is-ttf
Adding component(s): fast-xml-parser
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf b3b/node_modules/.cache b3b/.nyc_output
rm -rf fast-xml-parser/node_modules/.cache fast-xml-parser/.nyc_output
rm -rf is-eot/node_modules/.cache is-eot/.nyc_output
rm -rf is-svg/node_modules/.cache is-svg/.nyc_output
[... snipped ...]
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should throw error `files glob patterns specified did not match any files` if not found files
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should generate all fonts
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should generate all fonts
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should generate only `woff2` font
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should generate only `woff2` font
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should generate all fonts with build-in template
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should generate all fonts with build-in template
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should respect `template` options
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should respect `template` options
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠can set font name
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠can set font name
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should respect `font` options
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should respect `font` options
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠can be verbose
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠can be verbose
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should create dest directory if it does not exist and --dest-create flag is provided
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should create dest directory if it does not exist and --dest-create flag is provided
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
â cli ⺠should not create dest directory if it does not exist
invalid rimraf options
at assertRimrafOptions (../../../usr/share/nodejs/rimraf/src/index.ts:45:11)
at optArgT (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:16:22)
at optArg (../../../usr/share/nodejs/rimraf/src/opt-arg.ts:44:57)
at ../../../usr/share/nodejs/rimraf/src/index.ts:63:27
at src/cli/index.test.ts:36:11
at Object.<anonymous> (src/cli/index.test.ts:34:20)
â cli ⺠should not create dest directory if it does not exist
thrown: "Exceeded timeout of 10000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
32 |
33 |
> 34 | beforeEach(() => new Promise((resolve, reject) => {
| ^
35 |
36 | rimraf(`${destination}/*`, (err) => {
37 |
at src/cli/index.test.ts:34:3
at Object.<anonymous> (src/cli/index.test.ts:15:1)
PASS Webfont src/index.test.ts
index
â should be exported
Test Suites: 1 failed, 2 passed, 3 total
Tests: 13 failed, 29 passed, 42 total
Snapshots: 10 passed, 10 total
Time: 137.363 s
Ran all test suites matching /src/i.
dh_auto_test: error: /bin/sh -ex debian/nodejs/test returned exit code 1
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list