[Bug 285348] databases/mongosh: Fails to build reporting WebAssembly is not defined.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Mar 2025 17:18:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285348

            Bug ID: 285348
           Summary: databases/mongosh: Fails to build reporting
                    WebAssembly is not defined.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dweimer@dweimer.net
                CC: fabien.amelinck+freebsd@advens.fr
             Flags: maintainer-feedback?(fabien.amelinck+freebsd@advens.fr
                    )
                CC: fabien.amelinck+freebsd@advens.fr

Created attachment 258604
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258604&action=edit
Full Poudriere Build Log

ReferenceError: WebAssembly is not defined
    at K
(/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ssh2/lib/protocol/crypto/poly1305.js:19:51)
    at
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ssh2/lib/protocol/crypto/poly1305.js:14:238
    at module.exports.init
(/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ssh2/lib/protocol/crypto.js:1584:69)
    at new Promise (<anonymous>)
    at
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ssh2/lib/protocol/crypto.js:1582:12
    at Object.<anonymous>
(/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ssh2/lib/protocol/crypto.js:1596:5)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at node:internal/modules/cjs/loader:1706:10
    at Object.require.extensions.<computed> [as .js]
(/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/ts-node/src/index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
npm error Lifecycle script `evergreen-release` failed with error:
npm error code 1
npm error path
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/packages/build
npm error workspace @mongosh/build@0.0.0-dev.0
npm error location
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.3.8/packages/build
npm error command failed
npm error command sh -c ts-node -r ../../scripts/import-expansions.js
src/index.ts compile

-- 
You are receiving this mail because:
You are the assignee for the bug.