Source: node-glob-parent Version: 6.0.2+~5.1.1-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220525 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure --buildsystem=nodejs > Link node_modules/@types/glob-parent -> ../../types-glob-parent > dh_auto_build --buildsystem=nodejs > No build command found, searching known files > No build command found, searching known files > dh_auto_test --buildsystem=nodejs > ln -s ../. node_modules/glob-parent > /bin/sh -ex debian/tests/pkg-js/test > + mocha > > > glob-parent > 1) should strip glob magic to return parent path > 2) should respect escaped characters > 3) should respect glob enclosures with embedded separators > 4) should handle nested braces > 5) should return parent dirname from non-glob paths > 6) should respect disabled auto flip backslashes > > glob2base test patterns > 7) should get a base name > 8) should get a base name from a nested glob > 9) should get a base name from a flat file > 10) should get a base name from character class pattern > 11) should get a base name from brace , expansion > 12) should get a base name from brace .. expansion > 13) should get a base name from extglob > 14) should get a base name from a path with non-exglob parens > 15) should get a base name from a complex brace glob > undefined should not be susceptible to SNYK-JS-GLOBPARENT-1016905 > undefined should finish in reasonable time for '{' + '/'.repeat(n) > [CVE-2021-35065] > undefined should finish in reasonable time for '{'.repeat(n) > undefined should finish in reasonable time for '('.repeat(n) > undefined should finish in reasonable time for '/('.repeat(n) + ')' (42ms) > > > 5 passing (90ms) > 15 failing > > 1) glob-parent > should strip glob magic to return parent path: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:9:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 2) glob-parent > should respect escaped characters: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:69:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 3) glob-parent > should respect glob enclosures with embedded separators: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:109:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 4) glob-parent > should handle nested braces: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:130:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 5) glob-parent > should return parent dirname from non-glob paths: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:145:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 6) glob-parent > should respect disabled auto flip backslashes: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:154:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 7) glob2base test patterns > should get a base name: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:162:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 8) glob2base test patterns > should get a base name from a nested glob: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:168:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 9) glob2base test patterns > should get a base name from a flat file: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:174:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 10) glob2base test patterns > should get a base name from character class pattern: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:181:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 11) glob2base test patterns > should get a base name from brace , expansion: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:187:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 12) glob2base test patterns > should get a base name from brace .. expansion: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:193:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 13) glob2base test patterns > should get a base name from extglob: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:199:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 14) glob2base test patterns > should get a base name from a path with non-exglob parens: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:205:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > 15) glob2base test patterns > should get a base name from a complex brace glob: > TypeError: expect is not a function > at Context.<anonymous> (test/index.test.js:212:5) > at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (node:internal/timers:466:21) > > > > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code > 15 The full build log is available from: http://qa-logs.debian.net/2022/05/25/node-glob-parent_6.0.2+~5.1.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@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.