Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Deshdeepak1 opened this issue May 6, 2024 · 1 comment
Open

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

Deshdeepak1 opened this issue May 6, 2024 · 1 comment
Labels
bug Something isn't working Initiative: Release Workflows mojo-repo Tag all issues with this label

Comments

@Deshdeepak1
Copy link

Deshdeepak1 commented May 6, 2024

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 Deshdeepak1 added bug Something isn't working mojo-repo Tag all issues with this label labels May 6, 2024
@Deshdeepak1
Copy link
Author

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

@ematejska ematejska added mojo-repo Tag all issues with this label and removed mojo-repo Tag all issues with this label labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Initiative: Release Workflows mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

3 participants