Skip to content

0.6.0 fail to compile uu_stty (lib) on ppc64le #10672

@omnivagant

Description

@omnivagant
warning: use of deprecated type alias `uucore::libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
  --> src/uu/uptime/src/uptime.rs:15:19
   |
15 | use uucore::libc::time_t;
   |                   ^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated type alias `uucore::libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
   --> src/uu/uptime/src/uptime.rs:236:54
    |
236 | fn process_utmpx(file: Option<&OsString>) -> (Option<time_t>, usize) {
    |                                                      ^^^^^^

warning: use of deprecated type alias `uucore::libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
   --> src/uu/uptime/src/uptime.rs:251:61
    |
251 |                     boot_time = Some(dt.unix_timestamp() as time_t);
    |                                                             ^^^^^^

warning: use of deprecated type alias `uucore::libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
   --> src/uu/uptime/src/uptime.rs:278:35
    |
278 | fn print_uptime(boot_time: Option<time_t>) -> UResult<()> {
    |                                   ^^^^^^

error[E0432]: unresolved imports `nix::libc::TCGETS2`, `nix::libc::termios2`
  --> src/uu/stty/src/stty.rs:25:17
   |
25 | use nix::libc::{TCGETS2, termios2};
   |                 ^^^^^^^  ^^^^^^^^ no `termios2` in the root
   |                 |
   |                 no `TCGETS2` in the root
   |
help: a similar name exists in the module
   |
25 - use nix::libc::{TCGETS2, termios2};
25 + use nix::libc::{TCGETS, termios2};
   |
help: a similar name exists in the module
   |
25 - use nix::libc::{TCGETS2, termios2};
25 + use nix::libc::{TCGETS2, termios};
   |

   Compiling uu_sha1sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/sha1sum)
   Compiling uu_sha512sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/sha512sum)
   Compiling uu_sha256sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/sha256sum)
   Compiling uu_cksum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/cksum)
   Compiling uu_sha224sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/sha224sum)
   Compiling uu_sha384sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/sha384sum)
   Compiling uu_b2sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/b2sum)
   Compiling uu_md5sum v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/md5sum)
   Compiling uu_base64 v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/base64)
   Compiling uu_basenc v0.6.0 (/builds/alpine/aports/community/uutils/src/coreutils-0.6.0/src/uu/basenc)
For more information about this error, try `rustc --explain E0432`.
error: could not compile `uu_stty` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
warning: `uu_uptime` (lib) generated 4 warnings
warning: `uucore` (lib) generated 4 warnings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions