kennylevinsen / wldash

Wayland launcher/dashboard
https://sr.ht/~kennylevinsen/wldash
GNU General Public License v3.0
186 stars 16 forks source link

Fails to build on aarch64, armhf, armv7 and ppc64le #41

Closed jirutka closed 3 years ago

jirutka commented 3 years ago
   Compiling fontconfig v0.2.0
error[E0308]: mismatched types
   --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/fontconfig-0.2.0/src/lib.rs:185:43
    |
185 |                 let cstr = CStr::from_ptr(ret as *const i8);
    |                                           ^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/fontconfig-0.2.0/src/lib.rs:281:45
    |
281 |         let fcstr = unsafe { CStr::from_ptr(fcstr as *const i8) };
    |                                             ^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.
error: could not compile `fontconfig`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...

jirutka commented 3 years ago

Eh, sry, this is problem in fontconfig crate, not wldash… I’m too tired…