[Pkg-javascript-devel] Bug#980649: node-rollup-plugin-sourcemaps: FTBFS: Error: Cannot find module '@jest/globals'

Lucas Nussbaum lucas at debian.org
Wed Jan 20 20:59:44 GMT 2021


Source: node-rollup-plugin-sourcemaps
Version: 0.6.3-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-rollup-plugin-sourcemaps
> dpkg-buildpackage: info: source version 0.6.3-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Xavier Guimard <yadd at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean --buildsystem=nodejs
> 	rm -rf ./node_modules/.cache
> 	rm -rf urix/node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-rollup-plugin-sourcemaps using existing ./node-rollup-plugin-sourcemaps_0.6.3.orig-urix.tar.gz
> dpkg-source: info: building node-rollup-plugin-sourcemaps using existing ./node-rollup-plugin-sourcemaps_0.6.3.orig.tar.gz
> dpkg-source: info: building node-rollup-plugin-sourcemaps in node-rollup-plugin-sourcemaps_0.6.3-4.debian.tar.xz
> dpkg-source: info: building node-rollup-plugin-sourcemaps in node-rollup-plugin-sourcemaps_0.6.3-4.dsc
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> 	mkdir node_modules
> internal/modules/cjs/loader.js:818
>   throw err;
>   ^
> 
> Error: Cannot find module '@jest/globals'
> Require stack:
> - /<<PKGBUILDDIR>>/[eval]
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
>     at Function.resolve (internal/modules/cjs/helpers.js:80:19)
>     at [eval]:1:21
>     at Script.runInThisContext (vm.js:120:18)
>     at Object.runInThisContext (vm.js:309:38)
>     at Object.<anonymous> ([eval]-wrapper:10:26)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at evalScript (internal/process/execution.js:94:25)
>     at internal/main/eval_string.js:23:3 {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: [
>     '/<<PKGBUILDDIR>>/[eval]'
>   ]
> }
> ### @jest/globals is required by debian/nodejs/./extlinks but not available
> make: *** [debian/rules:8: binary] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/node-rollup-plugin-sourcemaps_0.6.3-4_unstable.log

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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list