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/202608/
A wiki page discussing possible solutions is available here:
https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8
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-shallow-equal, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/shallow-equal
/bin/sh -ex debian/tests/pkg-js/test
+ jest --no-coverage --ci
ts-jest[versions] (WARN) Version 6.0.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
FAIL src/__tests__/index.test.ts
● Test suite failed to run
[96msrc/__tests__/index.test.ts[0m:[93m120[0m:[93m1[0m - [91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m120[0m describe("shallowEqual on arrays", () => {
[7m [0m [91m~~~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m122[0m:[93m5[0m - [91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m122[0m it("should " + test.should, () => {
[7m [0m [91m ~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m123[0m:[93m7[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m123[0m expect(shallowEqual(test.arrA, test.arrB)).toEqual(test.result);
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m128[0m:[93m1[0m - [91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m128[0m describe("shallowEqual on objects", () => {
[7m [0m [91m~~~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m130[0m:[93m5[0m - [91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m130[0m it("should " + test.should, () => {
[7m [0m [91m ~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m131[0m:[93m7[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m131[0m expect(shallowEqual(test.objA, test.objB)).toEqual(test.result);
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m136[0m:[93m1[0m - [91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m136[0m describe("shallowEqual on mixed array/objects", () => {
[7m [0m [91m~~~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m137[0m:[93m3[0m - [91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m137[0m it("should act correctly when types are mixed", () => {
[7m [0m [91m ~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m138[0m:[93m5[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m138[0m expect(shallowEqual(["boris", "johnson"], { boris: "johnson" })).toBe(
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m141[0m:[93m5[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m141[0m expect(shallowEqual({ boris: "johnson" }, ["boris", "johnson"])).toBe(
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m144[0m:[93m5[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m144[0m expect(shallowEqual(["boris", "johnson"], { liz: "truss" })).toBe(false);
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m145[0m:[93m5[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m145[0m expect(shallowEqual({}, [])).toBe(false);
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m149[0m:[93m1[0m - [91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m149[0m describe("shallowEqualObjects", () => {
[7m [0m [91m~~~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m151[0m:[93m5[0m - [91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m151[0m it("should " + test.should, () => {
[7m [0m [91m ~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m152[0m:[93m7[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m152[0m expect(shallowEqualObjects(test.objA, test.objB)).toEqual(test.result);
[7m [0m [91m ~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m157[0m:[93m1[0m - [91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m157[0m describe("shallowEqualArrays", () => {
[7m [0m [91m~~~~~~~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m159[0m:[93m5[0m - [91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
[7m159[0m it("should " + test.should, () => {
[7m [0m [91m ~~[0m
[96msrc/__tests__/index.test.ts[0m:[93m160[0m:[93m7[0m - [91merror[0m[90m TS2304: [0mCannot find name 'expect'.
[7m160[0m expect(shallowEqualArrays(test.arrA, test.arrB)).toEqual(test.result);
[7m [0m [91m ~~~~~~[0m
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.993 s
Ran all test suites.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------