#1150121 node-get-caller-file: FTBFS: AssertionError: expected 'file:///usr/share/nodejs/mocha/lib/ru…' to deeply equal '/usr/share/nodejs/mocha/lib/runnable.…'

#1150121#5
Date:
2026-10-05 20:08:11 UTC
From:
To:
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/202610/

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-get-caller-file, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  1 failing

  1) getCallerFile
       gets current caller file:

      AssertionError: expected 'file:///usr/share/nodejs/mocha/lib/ru…' to deeply equal '/usr/share/nodejs/mocha/lib/runnable.…'
      + expected - actual

      -file:///usr/share/nodejs/mocha/lib/runnable.js
      +/usr/share/nodejs/mocha/lib/runnable.js

      at Context.<anonymous> (test.js:13:49)
      at callFn (file:///usr/share/nodejs/mocha/lib/runnable.js:360:23)
      at Test.run (file:///usr/share/nodejs/mocha/lib/runnable.js:348:7)
      at Runner.runTest (file:///usr/share/nodejs/mocha/lib/runner.js:809:10)
      at file:///usr/share/nodejs/mocha/lib/runner.js:949:12
      at next (file:///usr/share/nodejs/mocha/lib/runner.js:724:14)
      at file:///usr/share/nodejs/mocha/lib/runner.js:734:7
      at next (file:///usr/share/nodejs/mocha/lib/runner.js:595:14)
      at Immediate._onImmediate (file:///usr/share/nodejs/mocha/lib/runner.js:702:5)
      at process.processImmediate (node:internal/timers:574:21)



dh_auto_test: error: /bin/sh -ex debian/nodejs/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150121#8
Date:
2026-10-07 07:03:44 UTC
From:
To:
Hello,

Bug #1150121 in node-get-caller-file reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-get-caller-file/-/commit/a2a0f74c9628f02399b5a32866c4bf8d2ce43cb2

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150121

#1150121#15
Date:
2026-10-07 07:20:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-get-caller-file, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1150121@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-get-caller-file package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 07 Oct 2026 07:55:19 +0200
Source: node-get-caller-file
Architecture: source
Version: 2.0.5+~cs1.1.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1150121
Changes:
 node-get-caller-file (2.0.5+~cs1.1.1-7) unstable; urgency=medium
 .
   * Team upload
   * Fix test for mocha 12 (Closes: #1150121)
Checksums-Sha1:
 ad42e961a14be643a69733c15e91fbad63bfb1ba 2560 node-get-caller-file_2.0.5+~cs1.1.1-7.dsc
 d3306a5729193d02b3b02b94abd9f68ba97d62bc 4232 node-get-caller-file_2.0.5+~cs1.1.1-7.debian.tar.xz
Checksums-Sha256:
 38b57d40e20c897fc171fbc7799ec4b18ceea807b81fd4a4918cd02f0d4fc873 2560 node-get-caller-file_2.0.5+~cs1.1.1-7.dsc
 2c066d10c8dc5867bc6cada32abbc438e895103013c0f6583be2d1589ca2e45c 4232 node-get-caller-file_2.0.5+~cs1.1.1-7.debian.tar.xz
Files:
 bbd379c00a7e5ffe909430046030c2c2 2560 javascript optional node-get-caller-file_2.0.5+~cs1.1.1-7.dsc
 3147e3c4959e260b0fcbefb2b5154979 4232 javascript optional node-get-caller-file_2.0.5+~cs1.1.1-7.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrF7rsACgkQ9tdMp8mZ
7ulHcA/8CuOU3Tz2k/oMR3RdbTGK+sN0p4pPc6B1/KXoZkJxZbE6CyOtr2Y+/iv4
sBIR/FzV04p/TgpNIT9+6FYiM2APSNxEwdVehZBwyXlRgmMRMSueJx9IpUyUQXij
gcs9nkn+TzOZ4F3a/v1R1u/w3E+d5bMWWNWYLSlKrJotNVgYcSqdR4M+371JTOId
GQqodPsVDP11+YSVteh4sns/zzGh7QZNglAMl2SQXi/GEGaFA4fcsP7mh4evS08b
Vcekf3Gkow6RYffl6Oc/eaUrOufDiRPFw61knrCxq7Zo4OWyGCb8NH5nNwwrFt8d
ax5sb3Wq+tmVtRgZsaj9ARwLRqbF8GVDwQOvzFWBbS+gyz/TFe/3fOu2ieu+8zz4
WbXIhljbYtKd/LzZ3QmaHgOAdPH28vNkp6nxfXK+gZcNaH7oE37nK5E20P7AStGZ
YpamLrDeYTdptXcBcZL4IcR7uaaqgPSMyOJ2l0Wq+xFwux2VydYLnVRN9QwWgp7O
PzIS1vRSdbksHbcO+6J66qvPyqffGVuCxJi6LKBoDRR0RkmOdtDA49DNu1ZcH1a3
q+dLVAkRVvmo7/KpzazlIh0HmqeXUAxrv2ghGZ3l0zWT5RrURWe1zvQq+xwSIBGE
/fIOZ9LFlbQ1sPlcPF2NqZVDEFd2iUix5vAwu3qu78pwaK7/n6c=
=YZ0i
-----END PGP SIGNATURE-----