Windows bootstrap fails
ArmandXiao opened this issue · comments
- I have no clue what happened.
esy install
returnsinfo install 0.6.11 (using package.json)
and seems fine
But when I run esy bootstrap
, it is stopped by the following error.
0 [main] make 15909 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0x640000) != child(0xDA0000)
make: Makefile.common:40: fork: Resource temporarily unavailable
make -C runtime BOOTSTRAPPING_FLEXLINK=yes ocamlrun.exe
make[1]: Entering directory '/cygdrive/c/Users/lingao/.esy/3/b/ocaml-4.12.0-a9c9b989/runtime'
1 [main] make 14966 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0x640000) != child(0x960000)
make[1]: ../Makefile.common:40: fork: Resource temporarily unavailable
0 [main] make 14968 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0x640000) != child(0x960000)
make[1]: Makefile:239: fork: Resource temporarily unavailable
cp primitives
0 [main] make 14970 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0x640000) != child(0xD50000)
make[1]: fork: Resource temporarily unavailable
make[1]: Leaving directory '/cygdrive/c/Users/lingao/.esy/3/b/ocaml-4.12.0-a9c9b989/runtime'
make: *** [Makefile:308: flexlink] Error 2
error: command failed: "./esy-configure" "--disable-cfi" "--prefix" "C:/Users/lingao/.esy/3_______________________________________________________________/s/ocaml-4.12.0-a9c9b989" (exited with 2)
esy-build-package: exiting with errors above...
make: Makefile.common:40: fork: Resource temporarily unavailable
make -C runtime BOOTSTRAPPING_FLEXLINK=yes ocamlrun.exe
make[1]: Entering directory '/cygdrive/c/Users/lingao/.esy/3/b/ocaml-4.12.0-a9c9b989/runtime'
0 [main] make 15915 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0xD30000) != child(0x640000)
make[1]: ../Makefile.common:40: fork: Resource temporarily unavailable
0 [main] make 15916 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0xD30000) != child(0x640000)
make[1]: Makefile:239: fork: Resource temporarily unavailable
cp primitives
0 [main] make 15918 child_info_fork::abort: \??\C:\Users\lingao\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\bin\cyggmp-10.dll: Loaded to different address: parent(0xD30000) != child(0xD70000)
make[1]: fork: Resource temporarily unavailable
make[1]: Leaving directory '/cygdrive/c/Users/lingao/.esy/3/b/ocaml-4.12.0-a9c9b989/runtime'
make: *** [Makefile:308: flexlink] Error 2
error: command failed: "./esy-configure" "--disable-cfi" "--prefix" "C:/Users/lingao/.esy/3_______________________________________________________________/s/ocaml-4.12.0-a9c9b989" (exited with 2)
esy-build-package: exiting with errors above...
building ocaml@4.12.0
esy: exiting due to errors above
Can anyone help with this issue? Thanks in advance.
this seems to be caused by a resource limit of your machine. I dont know if these commands are available for windows but check out this stack overflow answer: https://unix.stackexchange.com/questions/205016/fork-retry-resource-temporarily-unavailable