axiom-recorder icon indicating copy to clipboard operation
axiom-recorder copied to clipboard

unable to compile axiom-recorder on rock5b

Open jczmok-iag opened this issue 1 year ago • 0 comments

debian11 latest kernel & software. Cargo installed from cli

Compiling sz3 v0.1.0+3.1.5.3 (https://github.com/apertus-open-source-cinema/sz3-rs#7e227cd1) error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:400:13 | 399 | ) -> *mut i8 { | ------- expected *mut i8 because of return type 400 | sz3_sys::compress_float(config, data, len) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected *mut i8, found *mut u8 | = note: expected raw pointer *mut i8 found raw pointer *mut u8

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:407:39 | 407 | sz3_sys::decompress_float(compressed_data, compressed_len, uncompressed) | ------------------------- ^^^^^^^^^^^^^^^ expected *const u8, found *const i8 | | | arguments to this function are incorrect | = note: expected raw pointer *const u8 found raw pointer *const i8 note: function defined here --> /root/axiom-recorder/target/release/build/sz3-sys-0cede4ca6a1a2b50/out/bindings.rs:290:12 | 290 | pub fn decompress_float( | ^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:419:13 | 418 | ) -> *mut i8 { | ------- expected *mut i8 because of return type 419 | sz3_sys::compress_double(config, data, len) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected *mut i8, found *mut u8 | = note: expected raw pointer *mut i8 found raw pointer *mut u8

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:426:40 | 426 | sz3_sys::decompress_double(compressed_data, compressed_len, uncompressed) | -------------------------- ^^^^^^^^^^^^^^^ expected *const u8, found *const i8 | | | arguments to this function are incorrect | = note: expected raw pointer *const u8 found raw pointer *const i8 note: function defined here --> /root/axiom-recorder/target/release/build/sz3-sys-0cede4ca6a1a2b50/out/bindings.rs:310:12 | 310 | pub fn decompress_double( | ^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:438:13 | 437 | ) -> *mut i8 { | ------- expected *mut i8 because of return type 438 | sz3_sys::compress_int32_t(config, data, len) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected *mut i8, found *mut u8 | = note: expected raw pointer *mut i8 found raw pointer *mut u8

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:445:41 | 445 | sz3_sys::decompress_int32_t(compressed_data, compressed_len, uncompressed) | --------------------------- ^^^^^^^^^^^^^^^ expected *const u8, found *const i8 | | | arguments to this function are incorrect | = note: expected raw pointer *const u8 found raw pointer *const i8 note: function defined here --> /root/axiom-recorder/target/release/build/sz3-sys-0cede4ca6a1a2b50/out/bindings.rs:330:12 | 330 | pub fn decompress_int32_t( | ^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:457:13 | 456 | ) -> *mut i8 { | ------- expected *mut i8 because of return type 457 | sz3_sys::compress_int64_t(config, data, len) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected *mut i8, found *mut u8 | = note: expected raw pointer *mut i8 found raw pointer *mut u8

error[E0308]: mismatched types --> /root/.cargo/git/checkouts/sz3-rs-763d189c3e7f1e3d/7e227cd/src/lib.rs:464:41 | 464 | sz3_sys::decompress_int64_t(compressed_data, compressed_len, uncompressed) | --------------------------- ^^^^^^^^^^^^^^^ expected *const u8, found *const i8 | | | arguments to this function are incorrect | = note: expected raw pointer *const u8 found raw pointer *const i8 note: function defined here --> /root/axiom-recorder/target/release/build/sz3-sys-0cede4ca6a1a2b50/out/bindings.rs:350:12 | 350 | pub fn decompress_int64_t( | ^^^^^^^^^^^^^^^^^^

For more information about this error, try rustc --explain E0308. error: could not compile sz3 due to 8 previous errors warning: build failed, waiting for other jobs to finish...

jczmok-iag avatar May 31 '23 19:05 jczmok-iag