[Pkg-javascript-devel] Bug#1010573: node-modern-syslog: FTBFS on mipsel

Adrian Bunk bunk at debian.org
Wed May 4 20:13:30 BST 2022


Control: reassign -1 node-yaml 2.0.1-1
Control: retitle -1 node-yaml: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './types' is not defined by "exports" in /usr/share/node_modules/yaml/package.json
Control: affects -1 src:node-modern-syslog src:node-tap-parser

On Wed, May 04, 2022 at 07:13:29PM +0200, Sebastian Ramacher wrote:
>...
> https://buildd.debian.org/status/fetch.php?pkg=node-modern-syslog&arch=mipsel&ver=1.2.0-3%2Bb1&stamp=1651678779&raw=0
> 
> gyp info ok 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs -a
> 	mkdir -p node_modules
> 	ln -s ../. node_modules/modern-syslog
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap --no-cov test/test-compat.js test/test-core.js test/test-openlog.js test/test-setmask.js test/test-stream.js test/test-syslog.js
> node:internal/modules/cjs/loader:488
>       throw e;
>       ^
> 
> Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './types' is not defined by "exports" in /usr/share/node_modules/yaml/package.json
>     at new NodeError (node:internal/errors:371:5)
>     at throwExportsNotFound (node:internal/modules/esm/resolve:453:9)
>     at packageExportsResolve (node:internal/modules/esm/resolve:731:3)
>     at resolveExports (node:internal/modules/cjs/loader:482:36)
>     at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
>     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
>     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
>     at Module.require (node:internal/modules/cjs/loader:1005:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/usr/share/nodejs/tap-yaml/lib/types/index.js:1:15) {
>   code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
> }
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
> make: *** [debian/rules:13: binary-arch] Error 25

This is not specific to mipsel or node-modern-syslog:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-modern-syslog.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-tap-parser.html

I cannot judge which package is technically at fault, but the breakage 
is due to node-yaml 2.0.1-1.

> Cheers

cu
Adrian



More information about the Pkg-javascript-devel mailing list