Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-im/element-web not building #6

Closed
realkinetix opened this issue Dec 31, 2022 · 4 comments
Closed

net-im/element-web not building #6

realkinetix opened this issue Dec 31, 2022 · 4 comments

Comments

@realkinetix
Copy link

Something seems to be up with nodejs?

 * Package:    net-im/element-web-1.11.17:0
 * Repository: sft
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs userpriv usersandbox
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "matrix-react-sdk > @matrix-org/matrix-wysiwyg@0.9.0" has incorrect peer dependency "react@^18.2.0".
warning "matrix-react-sdk > react-blurhash@0.2.0" has incorrect peer dependency "blurhash@^2.0.3".
warning "matrix-react-sdk > maplibre-gl > @mapbox/mapbox-gl-supported@1.5.0" has unmet peer dependency "mapbox-gl@>=0.32.1 <2.0.0".
warning " > eslint-plugin-matrix-org@0.9.0" has unmet peer dependency "eslint-plugin-jsx-a11y@*".
warning " > string-replace-loader@3.1.0" has incorrect peer dependency "webpack@^5".
[4/4] Building fresh packages...
Done in 34.73s.
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
 * ERROR: net-im/element-web-1.11.17::sft failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 920:  Called die
 * The specific snippet of code:
 *       yarn run build || die "build failed"

node -v

v18.12.1

After commenting out the offending line in the ebuild, element-web and element-desktop built fine and desktop appears to run fine locally.

@TheJJ
Copy link
Member

TheJJ commented Jan 1, 2023

interesting, i had to add this flag so it did build for me... i'll try to figure it out.

@TheJJ
Copy link
Member

TheJJ commented Jan 31, 2023

are you using openssl-1? I'm at 3 and i think that's why i need it. I've now added conditional enabling of the flag.

@realkinetix
Copy link
Author

Checking a couple of my similar systems and they're on openssl 1.1.1s

@TheJJ
Copy link
Member

TheJJ commented Feb 7, 2023

ok, so this should be sorted out now that we have openssl-3 dependent flag enabling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants