Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908960 - net-analyzer/gsa: fail to build
Summary: net-analyzer/gsa: fail to build
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: jonas.licht
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-21 13:31 UTC by LABBE Corentin
Modified: 2023-06-21 17:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2023-06-21 13:31:25 UTC
When emerging gsa I got:
Compiling source in /var/tmp/portage/net-analyzer/gsa-21.4.4/work/gsa-21.4.4 ...
yarn run v1.22.19
$ INLINE_RUNTIME_CHUNK=false react-scripts build && rm -f build/*.js*
node:internal/modules/cjs/loader:575
      throw e;
      ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /var/tmp/portage/net-analyzer/gsa-21.4.4/work/gsa-21.4.4/node_modules/postcss-safe-parser/node_modules/postcss/package.json
    at new NodeError (node:internal/errors:399:5)
    at exportsNotFound (node:internal/modules/esm/resolve:261:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:591:9)
    at resolveExports (node:internal/modules/cjs/loader:569:36)
    at Module._findPath (node:internal/modules/cjs/loader:643:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1056:27)
    at Module._load (node:internal/modules/cjs/loader:923:27)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    at require (node:internal/modules/helpers:121:18)
    at Object.<anonymous> (/var/tmp/portage/net-analyzer/gsa-21.4.4/work/gsa-21.4.4/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v20.2.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 * ERROR: net-analyzer/gsa-21.4.4::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 471:  Called die
 * The specific snippet of code:
 *       NODE_ENV=production PATH="${PATH}:${MY_NODE_DIR}/.bin/" yarn --offline build || die
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/gsa-21.4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/gsa-21.4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/gsa-21.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/gsa-21.4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/gsa-21.4.4/work/gsa-21.4.4'
 * S: '/var/tmp/portage/net-analyzer/gsa-21.4.4/work/gsa-21.4.4'

The issue is known https://github.com/greenbone/gsa/issues/3422 and set as WONTFIX.



Reproducible: Always