wasmerio / winterjs

Winter is coming... ❄️
https://winterjs.org/
MIT License
2.99k stars 54 forks source link

Can't build on Ubuntu Linux #88

Open ms0503 opened 2 months ago

ms0503 commented 2 months ago

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 commented 2 months ago

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

ms0503 commented 2 months ago

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

guest271314 commented 1 week ago

@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)