[Pkg-javascript-devel] Bug#1016325: node-jest: FTBFS: make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1

Lucas Nussbaum lucas at debian.org
Fri Jul 29 19:39:43 BST 2022


Source: node-jest
Version: 28.1.3~ds+~cs70.48.28-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build --buildsystem=nodejs
> ./lerna.json found
> 
> Found debian/nodejs/additional_components
> Adding component(s): packages/babel-jest, packages/babel-plugin-jest-hoist, packages/babel-preset-jest, packages/diff-sequences, packages/expect, packages/expect-utils, packages/jest, packages/jest-changed-files, packages/jest-circus, packages/jest-cli, packages/jest-config, packages/jest-console, packages/jest-core, packages/jest-create-cache-key-function, packages/jest-diff, packages/jest-docblock, packages/jest-each, packages/jest-environment, packages/jest-environment-jsdom, packages/jest-environment-node, packages/jest-expect, packages/jest-fake-timers, packages/jest-get-type, packages/jest-globals, packages/jest-haste-map, packages/jest-jasmine2, packages/jest-leak-detector, packages/jest-matcher-utils, packages/jest-message-util, packages/jest-mock, packages/jest-phabricator, packages/jest-regex-util, packages/jest-repl, packages/jest-reporters, packages/jest-resolve, packages/jest-resolve-dependencies, packages/jest-runner, packages/jest-runtime, packages/jest-schemas, packages/jest-snapshot, packages/jest-source-map, packages/jest-test-result, packages/jest-test-sequencer, packages/jest-transform, packages/jest-types, packages/jest-util, packages/jest-validate, packages/jest-watcher, packages/jest-worker, packages/pretty-format, packages/test-utils
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/resolveexports/build
> 	cd ./resolveexports && sh -ex ../debian/nodejs/resolveexports/build
> + bundt
> 
> Filename              Filesize  (gzip)
> dist/index.js          1.43 kB  737 B 
> dist/index.mjs         1.43 kB  738 B 
> 
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/bcoe-v8-coverage/build
> 	cd ./bcoe-v8-coverage && sh -ex ../debian/nodejs/bcoe-v8-coverage/build
> + rm -rf dist
> + mkdir node_modules
> + pkgjs-ln tslib
> 'tslib' linked into node_modules
> + pkgjs-ln @types/mocha
> '@types/mocha' linked into node_modules
> + ln -s ../../../debian/nodejs/bcoe-v8-coverage/node_modules/@types/node node_modules/@types/
> + rollup -c ../debian/bcoe-rollup-config.js
> 
> ../bcoe-v8-coverage/src/lib/*.ts → ../bcoe-v8-coverage/dist/lib...
> (!) Plugin typescript: @rollup/plugin-typescript: Rollup requires that TypeScript produces ES Modules. Unfortunately your configuration specifies a "module" other than "esnext". Unless you know what you're doing, please change "module" to "esnext" in the target tsconfig.json file or plugin options.
> (!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
> created ../bcoe-v8-coverage/dist/lib in 1.5s
> + cp ../debian/nodejs/def-bcoe-v8-coverage/ascii.d.ts ../debian/nodejs/def-bcoe-v8-coverage/clone.d.ts ../debian/nodejs/def-bcoe-v8-coverage/compare.d.ts ../debian/nodejs/def-bcoe-v8-coverage/index.d.ts ../debian/nodejs/def-bcoe-v8-coverage/merge.d.ts ../debian/nodejs/def-bcoe-v8-coverage/normalize.d.ts ../debian/nodejs/def-bcoe-v8-coverage/range-tree.d.ts ../debian/nodejs/def-bcoe-v8-coverage/types.d.ts dist/lib/
> + rm -rf dist/lib/src
> + mv dist/lib/lib/ascii.js dist/lib/lib/clone.js dist/lib/lib/compare.js dist/lib/lib/index.js dist/lib/lib/merge.js dist/lib/lib/normalize.js dist/lib/lib/range-tree.js dist/lib/lib/types.js dist/lib
> + rm -fr dist/lib/lib
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> NODE_PATH=debian/build_modules node ./scripts/build.mjs
>  Building packages 
> babel-jest................................................................ DONE 
> babel-plugin-jest-hoist................................................... DONE 
> babel-preset-jest......................................................... DONE 
> diff-sequences............................................................ DONE 
> expect.................................................................... DONE 
> @jest/expect-utils........................................................ DONE 
> jest...................................................................... DONE 
> jest-changed-files........................................................ DONE 
> jest-circus............................................................... DONE 
> jest-cli.................................................................. DONE 
> jest-config............................................................... DONE 
> @jest/console............................................................. DONE 
> @jest/core................................................................ DONE 
> @jest/create-cache-key-function........................................... DONE 
> jest-diff................................................................. DONE 
> jest-docblock............................................................. DONE 
> jest-each................................................................. DONE 
> @jest/environment......................................................... DONE 
> jest-environment-jsdom.................................................... DONE 
> jest-environment-node..................................................... DONE 
> @jest/expect.............................................................. DONE 
> @jest/fake-timers......................................................... DONE 
> jest-get-type............................................................. DONE 
> @jest/globals............................................................. DONE 
> jest-haste-map............................................................ DONE 
> jest-jasmine2............................................................. DONE 
> jest-leak-detector........................................................ DONE 
> jest-matcher-utils........................................................ DONE 
> jest-message-util......................................................... DONE 
> jest-mock................................................................. DONE 
> jest-phabricator.......................................................... DONE 
> jest-regex-util........................................................... DONE 
> jest-repl................................................................. DONE 
> @jest/reporters........................................................... DONE 
> jest-resolve.............................................................. DONE 
> jest-resolve-dependencies................................................. DONE 
> jest-runner............................................................... DONE 
> jest-runtime.............................................................. DONE 
> @jest/schemas............................................................. DONE 
> jest-snapshot............................................................. DONE 
> @jest/source-map.......................................................... DONE 
> @jest/test-result......................................................... DONE 
> @jest/test-sequencer...................................................... DONE 
> @jest/transform........................................................... DONE 
> @jest/types............................................................... DONE 
> jest-util................................................................. DONE 
> jest-validate............................................................. DONE 
> jest-watcher.............................................................. DONE 
> jest-worker............................................................... DONE 
> pretty-format............................................................. DONE 
> @jest/test-utils.......................................................... DONE 
> node ./scripts/buildTs.mjs
>  Building TypeScript definition files 
> packages/pretty-format/src/plugins/ConvertAnsi.ts(15,18): error TS2339: Property 'red' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(16,18): error TS2339: Property 'green' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(17,18): error TS2339: Property 'cyan' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(18,18): error TS2339: Property 'gray' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(19,18): error TS2339: Property 'white' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(20,18): error TS2339: Property 'yellow' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(21,18): error TS2339: Property 'bgRed' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(22,18): error TS2339: Property 'bgGreen' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(23,18): error TS2339: Property 'bgYellow' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(24,18): error TS2339: Property 'inverse' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(25,18): error TS2339: Property 'dim' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(26,18): error TS2339: Property 'bold' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(27,18): error TS2339: Property 'reset' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(28,18): error TS2339: Property 'reset' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(30,18): error TS2339: Property 'red' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(32,18): error TS2339: Property 'green' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(34,18): error TS2339: Property 'cyan' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(36,18): error TS2339: Property 'gray' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(38,18): error TS2339: Property 'white' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(40,18): error TS2339: Property 'yellow' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(42,18): error TS2339: Property 'bgRed' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(44,18): error TS2339: Property 'bgGreen' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(46,18): error TS2339: Property 'bgYellow' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(48,18): error TS2339: Property 'inverse' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(50,18): error TS2339: Property 'dim' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
> packages/pretty-format/src/plugins/ConvertAnsi.ts(52,18): error TS2339: Property 'bold' does not exist on type 'typeof import("/usr/share/nodejs/ansi-styles/index")'.
>  Unable to build TypeScript definition files 
> Got error Error: Command failed with exit code 2: tsc -b /<<PKGBUILDDIR>>/packages/babel-jest /<<PKGBUILDDIR>>/packages/babel-plugin-jest-hoist /<<PKGBUILDDIR>>/packages/diff-sequences /<<PKGBUILDDIR>>/packages/expect /<<PKGBUILDDIR>>/packages/expect-utils /<<PKGBUILDDIR>>/packages/jest /<<PKGBUILDDIR>>/packages/jest-changed-files /<<PKGBUILDDIR>>/packages/jest-circus /<<PKGBUILDDIR>>/packages/jest-cli /<<PKGBUILDDIR>>/packages/jest-config /<<PKGBUILDDIR>>/packages/jest-console /<<PKGBUILDDIR>>/packages/jest-core /<<PKGBUILDDIR>>/packages/jest-create-cache-key-function /<<PKGBUILDDIR>>/packages/jest-diff /<<PKGBUILDDIR>>/packages/jest-docblock /<<PKGBUILDDIR>>/packages/jest-each /<<PKGBUILDDIR>>/packages/jest-environment /<<PKGBUILDDIR>>/packages/jest-environment-jsdom /<<PKGBUILDDIR>>/packages/jest-environment-node /<<PKGBUILDDIR>>/packages/jest-expect /<<PKGBUILDDIR>>/packages/jest-fake-timers /<<PKGBUILDDIR>>/packages/jest-get-type /<<PKGBUILDDIR>>/packages/jest-globals /<<PKGBUILDDIR>>/packages/jest-haste-map /<<PKGBUILDDIR>>/packages/jest-jasmine2 /<<PKGBUILDDIR>>/packages/jest-leak-detector /<<PKGBUILDDIR>>/packages/jest-matcher-utils /<<PKGBUILDDIR>>/packages/jest-message-util /<<PKGBUILDDIR>>/packages/jest-mock /<<PKGBUILDDIR>>/packages/jest-phabricator /<<PKGBUILDDIR>>/packages/jest-regex-util /<<PKGBUILDDIR>>/packages/jest-repl /<<PKGBUILDDIR>>/packages/jest-reporters /<<PKGBUILDDIR>>/packages/jest-resolve /<<PKGBUILDDIR>>/packages/jest-resolve-dependencies /<<PKGBUILDDIR>>/packages/jest-runner /<<PKGBUILDDIR>>/packages/jest-runtime /<<PKGBUILDDIR>>/packages/jest-schemas /<<PKGBUILDDIR>>/packages/jest-snapshot /<<PKGBUILDDIR>>/packages/jest-source-map /<<PKGBUILDDIR>>/packages/jest-test-result /<<PKGBUILDDIR>>/packages/jest-test-sequencer /<<PKGBUILDDIR>>/packages/jest-transform /<<PKGBUILDDIR>>/packages/jest-types /<<PKGBUILDDIR>>/packages/jest-util /<<PKGBUILDDIR>>/packages/jest-validate /<<PKGBUILDDIR>>/packages/jest-watcher /<<PKGBUILDDIR>>/packages/jest-worker /<<PKGBUILDDIR>>/packages/pretty-format /<<PKGBUILDDIR>>/packages/test-utils
>     at makeError (file:///usr/share/nodejs/execa/lib/error.js:59:11)
>     at handlePromise (file:///usr/share/nodejs/execa/index.js:119:26)
>     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
>     at async file:///<<PKGBUILDDIR>>/scripts/buildTs.mjs:110:5
> make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/node-jest_28.1.3~ds+~cs70.48.28-1_unstable.log

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



More information about the Pkg-javascript-devel mailing list