I have been trying build the Watcher as I would like to run a Watcher.
I came across this question (Building and Running the Watcher) which is similar, however my issue is different.
I am following this guide (mobilecoin/watcher at master · mobilecoinfoundation/mobilecoin · GitHub) to build the code, however, it the compilation fails with this error:
Compiling once_cell v1.7.2 Compiling syn v0.15.44 Compiling byteorder v1.4.3 Compiling proc-macro2 v1.0.27 error: failed to run custom build command for `proc-macro2 v1.0.27` Caused by: process didn't exit successfully: `/home/cndolo/mobilecoin/target/release/build/proc-macro2-3a9ea7babb00e00e/build-script-build` (signal: 4, SIGILL: illegal instruction) --- stdout cargo:rerun-if-changed=build.rs warning: build failed, waiting for other jobs to finish... error: build failed
This is within the container as well as in a fresh Ubuntu 20.04 installation.
Does anyone know how I can fix this?