Skip to content

2.4 release fails to build on Amazon Ubuntu linux - 2.3.3 works cool. #312

@PeterAronZentai

Description

@PeterAronZentai

I am using DLAMI - pytorch 2.8 for Ubuntu.

Here is the compiler output by following AWS docs on having EFS on Ubuntu linux.
It scares me this apparent lack of basic QA check and processes.

Why do you publish the main branch to be used if that is apparently just a dev branch? Also, releasing on a Friday, late evening - who does that? I consider AWS documentation and included tools to be part of the paid offering for which we are paying grands per month - I don't think that the open source "release quick and fix later" sentiment is very fair toward paying customers.

Compiling serde_derive v1.0.228
warning: hiding a lifetime that's elided elsewhere is confusing
--> rust-xdr/xdrgen/src/spec/mod.rs:1076:22
|
1076 | pub fn constants(&self) -> Iter<String, (i64, Option)> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: #[warn(mismatched_lifetime_syntaxes)] on by default
help: use '_ for type paths
|
1076 | pub fn constants(&self) -> Iter<'_, String, (i64, Option)> {
| +++

warning: hiding a lifetime that's elided elsewhere is confusing
--> rust-xdr/xdrgen/src/spec/mod.rs:1080:22
|
1080 | pub fn typespecs(&self) -> Iter<String, Type> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use '_ for type paths
|
1080 | pub fn typespecs(&self) -> Iter<'_, String, Type> {
| +++

warning: hiding a lifetime that's elided elsewhere is confusing
--> rust-xdr/xdrgen/src/spec/mod.rs:1084:21
|
1084 | pub fn typesyns(&self) -> Iter<String, Type> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use '_ for type paths
|
1084 | pub fn typesyns(&self) -> Iter<'_, String, Type> {
| +++

Compiling futures-macro v0.3.31
Compiling thiserror-impl v1.0.69
Compiling tokio-macros v2.3.0
Compiling uuid-macro-internal v1.18.1
Compiling async-trait v0.1.89
Compiling nix v0.26.4
Compiling uuid v1.18.1
Compiling tokio v1.38.2
warning: xdrgen (lib) generated 3 warnings (run cargo fix --lib -p xdrgen to apply 3 suggestions)
Compiling efs-proxy v2.4.0 (/home/ubuntu/efs-utils/src/proxy)
Compiling futures-util v0.3.31
Compiling clap_derive v4.0.0
Compiling derivative v2.2.0
Compiling onc-rpc v0.2.5
warning: [email protected]: Building with: CMake
warning: [email protected]: Symbol Prefix: Some("aws_lc_fips_0_13_9")
error: failed to run custom build command for aws-lc-fips-sys v0.13.9

Caused by:
process didn't exit successfully: /home/ubuntu/efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-f50767e163597313/build-script-main (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_NO_PREFIX
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_EXTERNAL_BINDGEN
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_NO_ASM
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_CPU_JITTER_ENTROPY
cargo:rustc-cfg=x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_STATIC
cargo:warning=Building with: CMake
cargo:warning=Symbol Prefix: Some("aws_lc_fips_0_13_9")
cargo:rerun-if-env-changed=CMAKE

--- stderr
Missing dependency: Go is required for FIPS.

thread 'main' (5277) panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/builder/main.rs:518:34:
called Result::unwrap() on an Err value: "Required build dependency is missing. Halting build."
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Reading package lists... Done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions