Failed to compile on Fedora 27


I’m a noob to rust/redox. I ran into a problem with building redox on Fedora 27. I cloned the repo and ran the script. I had a few minor issues, but was able to sorted them out. My current stopping point is compiling ring. The error is below. I was able to get pass this error by simply creating a new subdirectory ring-0.11.0/src/arithmetic/arithmetic/ and placing in there. That doesn’t feel like the correct solution, especially when other subcomponents of ring complained about their module files not being found too. It seems to be a path/scope issue, but I’m not sure where that needs to be adjusted.

Compiling ring v0.11.0
error[E0583]: file not found for module montgomery
–> /home/cjredd/.cargo/registry/src/
15 | mod montgomery;
| ^^^^^^^^^^
= help: name the file either arithmetic/ or arithmetic/montgomery/ inside the directory “/home/cjredd/.cargo/registry/src/”

error: aborting due to previous error

error: Could not compile ring.

To learn more, run the command again with --verbose.
make: *** [mk/ build/initfs.tag] Error 101


[cjredd@fbox-a-net redox]$ ls -al /home/cjredd/.cargo/registry/src/
total 16
drwxrwxr-x. 2 cjredd cjredd 4096 Dec 23 06:54 .
drwxrwxr-x. 8 cjredd cjredd 4096 Dec 23 06:57 …
-rw-r–r--. 1 cjredd cjredd 781 Dec 23 06:54
-rw-r–r--. 1 cjredd cjredd 3079 May 17 2017