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

Can't build on Ubuntu Linux #88

Open
ms0503 opened this issue Jun 23, 2024 · 3 comments
Open

Can't build on Ubuntu Linux #88

ms0503 opened this issue Jun 23, 2024 · 3 comments

Comments

@ms0503
Copy link

ms0503 commented Jun 23, 2024

I tried to build WinterJS, but I couldn't.

I tried:

$ cargo install --git https://github.com/wasmerio/winterjs.git winterjs

and

$ git clone https://github.com/wasmerio/winterjs.git
$ cd winterjs
$ cargo install --path .

But both returned same error:
Log Message (the latter) (replaced /home/*** -> $HOME)

Machine Details

$ uname -srvmpio
Linux 6.8.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:51:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04 LTS
Release:	24.04
Codename:	noble

$ rustup -V
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.81.0-nightly (d8a38b000 2024-06-19)`

$ cargo -V
cargo 1.81.0-nightly (3ed207e41 2024-06-18)

P.S.
Maybe it's wasmerio/mozjs problem?

@MrDobi
Copy link
Contributor

MrDobi commented Jun 27, 2024

Hey, you can follow instructions from /.github/workflows/build-and-test.yml or just download linux build from the last pipeline

@ms0503
Copy link
Author

ms0503 commented Jun 27, 2024

Build errors still occur, but WinterJS can be used for the time being.
Thank you!

@guest271314
Copy link

@MrDobi FYI On Linux 5.15.0-43-generic SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux exits with winterjs from winterjs-linux exits with

mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed: Device or resource busy
Segmentation fault (core dumped)

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

3 participants