ajamdoughnut
MModular
•Created by Deleted User on 9/9/2023 in #questions
Issue with installing on fedora 38
Fedora 38 Sway spin here. You may be seeing a message like this on stderr
The output to stderr is causing the test to fail for Fedora 38. During the install of mojo with
modular install mojo
it is possible to change the test that is about to fail whilst it is performing the install and self test. There will be a race from the time modular install mojo
writes the test file to disk and the time that it actually runs the test - there appears to be a large window in which you can disable the test.
During the install keep looking for ~/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py
file and modify to disable around line 275 tests which fail with a complaint about the output to stderr.
Specifically around line 275 change to to disable the test from running and failing.
Note that investigating further into the failing test it is only failing due to the output to stderr with around line 190 if not "Self-test OK!" in out or not len(err) == 0:
where len(err) is not 0 since it had /lib64/libtinfo.so.6: no version information available (required by mojo)
on stderr but at the same time it reports Self-test OK!
on stdout so it only fails on the stderr.
Despite the stderr message mojo appears to be working on Fedora 38.
Update for mojo 0.3.0: In ~/.modular/pkg/packages.modular.com_mojo/scripts/post-install/self-test.py
file the line to comment out is now around 311. In addition libedit shared lib can't be found so create a sym link with:
5 replies