Package: src:node-uuid
Version: 8.3.2+~8.3.3-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/uuid -> ../../Xtypes
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pandoc --from gfm-raw_html --to html --standalone --output README.html README.md
[WARNING] This document format requires a nonempty <title> element.
  Defaulting to 'README' as the title.
  To specify a title, use 'title' in metadata or --metadata title="...".
pandoc --from gfm-raw_html --to plain --output README.txt README.md
pandoc --from gfm-raw_html --to html --standalone --output CHANGELOG.html 
CHANGELOG.md
[WARNING] This document format requires a nonempty <title> element.
  Defaulting to 'CHANGELOG' as the title.
  To specify a title, use 'title' in metadata or --metadata title="...".
pandoc --from gfm-raw_html --to plain --output CHANGELOG.txt CHANGELOG.md
./scripts/build.sh
Replacing node-specific file for esm-browser: 
/<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/md5-browser.js
Replacing node-specific file for esm-browser: 
/<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/rng-browser.js
Replacing node-specific file for esm-browser: 
/<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/sha1-browser.js
Removing browser-specific files from esm-node

dist/esm-browser/index.js → dist/umd/uuid.min.js...
created dist/umd/uuid.min.js in 646ms

dist/esm-browser/v1.js → dist/umd/uuidv1.min.js...
created dist/umd/uuidv1.min.js in 277ms

dist/esm-browser/v3.js → dist/umd/uuidv3.min.js...
created dist/umd/uuidv3.min.js in 467ms

dist/esm-browser/v4.js → dist/umd/uuidv4.min.js...
created dist/umd/uuidv4.min.js in 227ms

dist/esm-browser/v5.js → dist/umd/uuidv5.min.js...
created dist/umd/uuidv5.min.js in 342ms

dist/esm-browser/nil.js → dist/umd/uuidNIL.min.js...
created dist/umd/uuidNIL.min.js in 169ms

dist/esm-browser/version.js → 
dist/umd/uuidVersion.min.js...
created dist/umd/uuidVersion.min.js in 193ms

dist/esm-browser/validate.js → 
dist/umd/uuidValidate.min.js...
created dist/umd/uuidValidate.min.js in 187ms

dist/esm-browser/parse.js → dist/umd/uuidParse.min.js...
created dist/umd/uuidParse.min.js in 206ms

dist/esm-browser/stringify.js → 
dist/umd/uuidStringify.min.js...
created dist/umd/uuidStringify.min.js in 208ms
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test --buildsystem=nodejs
        ln -s ../debian/tests/test_modules/random-seed node_modules/random-seed
        ln -s ../. node_modules/uuid
        /bin/sh -ex debian/tests/pkg-js/test
+ export BABEL_ENV=commonjs
+ jest --ci test/unit
PASS test/unit/v35.test.js
PASS test/unit/v1.test.js
PASS test/unit/parse.test.js
PASS test/unit/v4.test.js
PASS test/unit/stringify.test.js
PASS test/unit/validate.test.js
PASS test/unit/version.test.js
PASS test/unit/v1-rng.test.js
PASS test/unit/v1-random.test.js
FAIL test/unit/rng.test.js
  ● rng › Browser without crypto.getRandomValues()

    assert.throws(function)

    Expected the function to throw an error.
    But it didn't throw anything.

    Message:
      Missing expected exception.

      14 |
      15 |   test('Browser without crypto.getRandomValues()', () => {
    > 16 |     assert.throws(() => {
         |            ^
      17 |       rngBrowser();
      18 |     });
      19 |   });

      at Object.<anonymous> (test/unit/rng.test.js:16:12)

Test Suites: 1 failed, 9 passed, 10 total
Tests:       1 failed, 46 passed, 47 total
Snapshots:   0 total
Time:        1.73 s
Ran all test suites matching /test\/unit/i.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202406/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to