[Pkg-javascript-devel] Bug#1054175: Bug#1054175: node-require-main-filename: failing dh_auto_test
Yadd
yadd at debian.org
Thu Oct 19 15:18:36 BST 2023
Control: tags -1 + moreinfo
On 10/18/23 20:27, Tianyu Chen wrote:
> Source: node-require-main-filename
> Version: 2.0.0-2
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source
> X-Debbugs-Cc: sweetyfish at deepin.org
>
> Hi,
>
> During a rebuild of your package in unstable, your package fails to
> build from source.
>
> Full log can be accessed at:
>
> https://build.opensuse.org/package/live_build_log/home:utsweetyfish:node-202309/node-require-main-filename/Debian_Unstable/aarch64
>
> Tail of log for your package:
>
> # Subtest: should default to process.cwd() if require.main is undefined
> not ok 1 - expected '/usr/src/packages/BUILD' to match /(?:.*autopkgtest.*|require-main-filename)/
> ---
> [...]
>
> 1..1
> # failed 1 test
> # time=95.325ms
> not ok 1 - test.js # time=95.325ms
> ---
> env: {}
> file: test.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /usr/src/packages/BUILD
> exitCode: 1
> ...
>
> 1..1
> # failed 1 test
> # time=1113.041ms
> ----------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|-------------------
> All files | 100 | 100 | 100 | 100 |
> index.js | 100 | 100 | 100 | 100 |
> ----------|---------|----------|---------|---------|-------------------
> 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 returned exit status 2
>
> Thanks!
> Tianyu Chen @ deepin
Hi,
I'm not able to reproduce this issue
More information about the Pkg-javascript-devel
mailing list