modularml / mojo

The Mojo Programming Language
https://docs.modular.com/mojo/manual/
Other
23.3k stars 2.59k forks source link

Errors during installation on Kali Linux. #1774

Open billalzeeshaan opened 9 months ago

billalzeeshaan commented 9 months ago

Installing collected packages: wcwidth, pure-eval, ptyprocess, find_libpython, traitlets, tornado, six, pyzmq, pygments, psutil, prompt-toolkit, platformdirs, pexpect, parso, packaging, nest-asyncio, executing, decorator, debugpy, python-dateutil, matplotlib-inline, jupyter-core, jedi, comm, asttokens, stack-data, jupyter_client, ipython, ipykernel Successfully installed asttokens-2.4.1 comm-0.2.1 debugpy-1.8.1 decorator-5.1.1 executing-2.0.1 find_libpython-0.3.0 ipykernel-6.29.2 ipython-8.21.0 jedi-0.19.1 jupyter-core-5.7.1 jupyter_client-8.6.0 matplotlib-inline-0.1.6 nest-asyncio-1.6.0 packaging-23.2 parso-0.8.3 pexpect-4.9.0 platformdirs-4.2.0 prompt-toolkit-3.0.43 psutil-5.9.8 ptyprocess-0.7.0 pure-eval-0.2.2 pygments-2.17.2 python-dateutil-2.8.2 pyzmq-25.1.2 six-1.16.0 stack-data-0.6.3 tornado-6.4 traitlets-5.14.1 wcwidth-0.2.13 [mojo][error] Mojo SDK post-install test "mojo --help" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo --help' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 188, in test_mojo_help self.assert_contains("mojo", self.run_mojo("--help")[0]) ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo run --help" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo run --help' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 191, in test_mojo_help self.assert_contains("mojo-run", self.run_mojo("run", "--help")[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo build test_mandelbrot.mojo" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo build /root/.modular/pkg/packages.modular.com_mojo/test/test_mandelbrot.mojo -o /tmp/tmp7vw8h8ng/test_mandelbrot' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 196, in test_mojo_build self.run_mojo( File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo build test_python.mojo" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo build /root/.modular/pkg/packages.modular.com_mojo/test/test_python.mojo -o /tmp/tmp7vw8h8ng/test_python' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 206, in test_mojo_build self.run_mojo( File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo demangle" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo demangle $Module::Struct::function()' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 224, in test_mojo_demangle self.run_mojo("demangle", "$Module::Struct::function()")[0], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo format" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo format /tmp/tmptx08whv2/test_format.mojo' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 234, in test_mojo_format self.run_mojo("format", unformatted_path) File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo package" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo package /root/.modular/pkg/packages.modular.com_mojo/test/test_package -o /tmp/tmpgwd_y88j/test_package.mojopkg' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 247, in test_mojo_package self.run_mojo( File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo test_mandelbrot.mojo" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo /root/.modular/pkg/packages.modular.com_mojo/test/test_mandelbrot.mojo' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 342, in test_mojo_run "25", self.run_mojo(self.test_dir / "test_mandelbrot.mojo")[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo test_python.mojo" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo /root/.modular/pkg/packages.modular.com_mojo/test/test_python.mojo' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 348, in test_mojo_run self.run_mojo(self.test_dir / "test_python.mojo")[0], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 184, in run_mojo return self.run(self.mojo, subcommand, *args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 172, in run raise SubprocessError( [mojo][error] Mojo SDK post-install test "mojo repl" failed: SubprocessError: Command '/root/.modular/pkg/packages.modular.com_mojo/bin/mojo repl --one-line-before-file settings set target.load-cwd-lldbinit false --one-line-before-file settings set plugin.process.gdb-remote.packet-timeout 60' died with <Signals.SIGILL: 4>. File "/root/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py", line 295, in test_mojo_repl raise SubprocessError(repl.returncode, " ".join(args), out, err) [mojo][error] Some components of the Mojo SDK may have been installed successfully, but others may not work as expected. [mojo][error] Please submit an issue to https://github.com/modularml/mojo and include the full output of the command you just ran. modular: error: failed to run script

Failure Information:

jackos commented 5 months ago

Hi @billalzeeshaan I haven't tried Kali, but can you please check if installing with modular install nightly/mojo fixes your issue?