modularml / mojo

The Mojo Programming Language
https://docs.modular.com/mojo
Other
21.59k stars 2.51k forks source link

[BUG] Mojo SDK post-install test "`mojo repl`" failed #2552

Open Deshdeepak1 opened 1 week ago

Deshdeepak1 commented 1 week ago

Bug description

[mojo][error] Mojo SDK post-install test "`mojo repl`" failed:
SubprocessError: Command '/home/deshdeepak/.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 target.disable-aslr false --one-line-before-file settings set plugin.process.gdb-remote.packet-timeout 60' returned non-zero exit status 127.
  stderr:
    /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo-lldb: error while loading shared libraries: libpanel.so.6: cannot open shared object file: No such file or directory
  File "/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-basic.py", line 308, 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.
Error running install script scripts/checks/self-test-basic.py:
failed to run script
==========================
Failure Information:
    - Script: `PATH=/home/deshdeepak/.sdkman/candidates/java/current/bin:/home/deshdeepak/.sdkman/candidates/gradle/current/bin:/home/deshdeepak/.sdkman/candidates/kotlin/current/bin:/home/deshdeepak/labs/mtech/oopd/project/oopd_project/bin:/home/deshdeepak/.config/nsxiv/scripts:/home/deshdeepak/.local/scripts:/home/deshdeepak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl HOME=/home/deshdeepak PYTHONPATH=/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/venv/lib/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/venv/bin/python /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-basic.py --modular-home /home/deshdeepak/.modular --modular-data $_self.modular_data --modular-config $_self.modular_config --package-path /home/deshdeepak/.modular/pkg/packages.modular.com_mojo --mojo-config-section mojo --tests help,demangle,repl`
    - Result: 1
    - Stderr:
[mojo][error] Mojo SDK post-install test "`mojo repl`" failed:
SubprocessError: Command '/home/deshdeepak/.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 target.disable-aslr false --one-line-before-file settings set plugin.process.gdb-remote.packet-timeout 60' returned non-zero exit status 127.
  stderr:
    /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo-lldb: error while loading shared libraries: libpanel.so.6: cannot open shared object file: No such file or directory
  File "/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-basic.py", line 308, 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.

==========================

[mojo][error] Mojo SDK post-install test "`mojo debug`" failed:
SubprocessError: Command ''/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo' 'debug' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set target.load-cwd-lldbinit false' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set target.disable-aslr false' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set plugin.process.gdb-remote.packet-timeout 60' '-Xlldb' '-o' '-Xlldb' 'b test_debug.mojo:15' '-Xlldb' '-o' '-Xlldb' 'run' '-Xlldb' '-o' '-Xlldb' 'frame var foo' '-Xlldb' '-b' '/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/test/test_debug.mojo'' returned non-zero exit status 127.
  stderr:
    /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo-lldb: error while loading shared libraries: libpanel.so.6: cannot open shared object file: No such file or directory
  File "/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-tools.py", line 354, in test_mojo_debug
    raise SubprocessError(
[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.
Error running install script scripts/checks/self-test-tools.py:
failed to run script
==========================
Failure Information:
    - Script: `PATH=/home/deshdeepak/.sdkman/candidates/java/current/bin:/home/deshdeepak/.sdkman/candidates/gradle/current/bin:/home/deshdeepak/.sdkman/candidates/kotlin/current/bin:/home/deshdeepak/labs/mtech/oopd/project/oopd_project/bin:/home/deshdeepak/.config/nsxiv/scripts:/home/deshdeepak/.local/scripts:/home/deshdeepak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl HOME=/home/deshdeepak PYTHONPATH=/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/venv/lib/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/venv/bin/python /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-tools.py --modular-home /home/deshdeepak/.modular --modular-data $_self.modular_data --modular-config $_self.modular_config --package-path /home/deshdeepak/.modular/pkg/packages.modular.com_mojo --mojo-config-section mojo --tests package,debug,format`
    - Result: 1
    - Stderr:
[mojo][error] Mojo SDK post-install test "`mojo debug`" failed:
SubprocessError: Command ''/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo' 'debug' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set target.load-cwd-lldbinit false' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set target.disable-aslr false' '-Xlldb' '--one-line-before-file' '-Xlldb' 'settings set plugin.process.gdb-remote.packet-timeout 60' '-Xlldb' '-o' '-Xlldb' 'b test_debug.mojo:15' '-Xlldb' '-o' '-Xlldb' 'run' '-Xlldb' '-o' '-Xlldb' 'frame var foo' '-Xlldb' '-b' '/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/test/test_debug.mojo'' returned non-zero exit status 127.
  stderr:
    /home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo-lldb: error while loading shared libraries: libpanel.so.6: cannot open shared object file: No such file or directory
  File "/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/scripts/checks/self-test-tools.py", line 354, in test_mojo_debug
    raise SubprocessError(
[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.

Steps to reproduce

modular install mojo

System information

- What OS did you do install Mojo on ? - Arch Linux
- Provide version information for Mojo by pasting the output of `mojo -v` - mojo 24.3.0 (9882e19d)
- Provide Modular CLI version by pasting the output of `modular -v` - modular 0.7.4 (df7a9e8b)
Deshdeepak1 commented 1 week ago

mojo

also gives error

/home/deshdeepak/.modular/pkg/packages.modular.com_mojo/bin/mojo-lldb: error while loading shared libraries: libpanel.so.6: cannot open shared object file: No such file or directory