GithubHelp home page GithubHelp logo

Comments (2)

ProgrammingMuffin avatar ProgrammingMuffin commented on April 29, 2024

I did some digging, and used script output.txt command to write terminal stdout to a file and ran the same command. I was able to extract some logs.

[2023-10-01 14:48:50,951] [INFO] ['opam', '--cli=2.1', 'install', '--yes', '--assume-depexts', 'base64.3.5.1', 'cmdliner.1.1.1', 'core.v0.15.1', 'core_unix.v0.15.2', 're2.v0.15.0', 'dune.3.7.1', 'yojson.2.0.2', 'jsonm.1.0.2', 'ppx_deriving_yojson.3.7.0', 'ppx_yojson_conv.v0.15.1', 'ounit2.2.2.7', 'menhir.20220210', 'lwt.5.6.1', 'lwt_ppx.2.1.0', 'ounit2-lwt.2.2.7', 'pyre-ast.0.1.9', 'mtime.1.4.0', 'errpy.0.0.9']
[NOTE] Package errpy is already installed (current version is 0.0.9).
[NOTE] Package mtime is already installed (current version is 1.4.0).
[NOTE] Package pyre-ast is already installed (current version is 0.1.9).
[NOTE] Package ounit2-lwt is already installed (current version is 2.2.7).
[NOTE] Package lwt_ppx is already installed (current version is 2.1.0).
[NOTE] Package lwt is already installed (current version is 5.6.1).
[NOTE] Package menhir is already installed (current version is 20220210).
[NOTE] Package ounit2 is already installed (current version is 2.2.7).
[NOTE] Package ppx_yojson_conv is already installed (current version is v0.15.1).
[NOTE] Package ppx_deriving_yojson is already installed (current version is 3.7.0).
[NOTE] Package jsonm is already installed (current version is 1.0.2).
[NOTE] Package yojson is already installed (current version is 2.0.2).
[NOTE] Package dune is already installed (current version is 3.7.1).
[NOTE] Package re2 is already installed (current version is v0.15.0).
[NOTE] Package core_unix is already installed (current version is v0.15.2).
[NOTE] Package core is already installed (current version is v0.15.1).
[NOTE] Package cmdliner is already installed (current version is 1.1.1).
[NOTE] Package base64 is already installed (current version is 3.5.1).
[2023-10-01 14:48:55,388] [INFO] ['make', 'dev']
abort: no repository found in '/home//Documents/pyre-check/source' (.hg not found)
Scanned 0 directories

Scanned 0 directories

Done: 0% (0/0, 0 left) (jobs: 1)

Done: 0% (0/0, 0 left) (jobs: 0)

Done: 0% (0/2, 2 left) (jobs: 0)

Done: 100% (2/2, 0 left) (jobs: 0)

Done: 100% (2/2, 0 left) (jobs: 0)

Done: 100% (2/2, 0 left) (jobs: 0)

Done: 100% (2/2, 0 left) (j

In addition, I also did a htop and found out that all opam related processes are taking 100% CPU. That could be the reason the terminal is getting killed.

Edit: The last set of processes that get spawned are "libexec/gcc" after which one libexec goes into a "D" mode or 'uninterrupted sleep' and the terminal goes to "Z" mode or "zombie process". I tried limiting the CPU usage but I reckon that's not gonna help. Would really appreciate your guidance here.

from pyre-check.

ProgrammingMuffin avatar ProgrammingMuffin commented on April 29, 2024

After several hours of debugging, a simple solution I found was that if you have a computer with minimal specs like mine (a laptop with AMD Ryzen 7 5700U, and 8 gigs of RAM (3.8 gigs of what is used by my desktop OS)), close every possible window. In my case, I closed chrome and the setup.sh script worked.
I've had a similar issue with Java Corretto-17 compilation as well.

Marking this solved.

from pyre-check.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.