catfs icon indicating copy to clipboard operation
catfs copied to clipboard

Error installing catfs into AWS graviton server

Open Carlos-ZRM opened this issue 4 years ago • 1 comments

Hello everybody.

I need your help, please. I have been trying install Catfs into AWS Graviton instance but i was found that error. I wonder If you could help me with this.

   Compiling catfs v0.8.0
error[E0308]: mismatched types
  --> /home/carlos.zrm/.cargo/registry/src/github.com-1ecc6299db9ec823/catfs-0.8.0/src/catfs/rlibc.rs:92:26
   |
92 |                 d_name: [0i8; 256], // FIXME: don't hardcode 256
   |                          ^^^ expected `u8`, found `i8`
   |
help: change the type of the numeric literal from `i8` to `u8`
   |
92 |                 d_name: [0u8; 256], // FIXME: don't hardcode 256
   |                          ^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: failed to compile `catfs v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-installtpQEXa`

Caused by:
  could not compile `catfs`

Versions

  • Cargo version
rustc 1.54.0 (a178d0322 2021-07-26)
  • Linux version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
  • CPU version AWS instance m6g.medium
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          1
On-line CPU(s) list:             0
Thread(s) per core:              1
Core(s) per socket:              1
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       ARM
Model:                           1
Model name:                      Neoverse-N1
Stepping:                        r3p1

Carlos-ZRM avatar Aug 18 '21 20:08 Carlos-ZRM

Can you try compiling with the latest master?

gaul avatar Aug 19 '21 02:08 gaul